[wpkg-users] Java and OpenOffice

Brian May brian at vpac.org
Tue Apr 15 05:25:19 CEST 2008


Hello,

I adopted Java and Open Office packages files from:

http://wpkg.org/Java
http://wpkg.org/OpenOffice.org_2.x

The Java package recommends removing old versions of Java before 
installing, so I have done so. See the bottom of email for both scripts.

The problem is that OpenOffice 2.4 fails to install because it can't
find java\jre-6u4-windows-i586-p.exe, because I didn't copy it
(the instructions in the OpenOffice page exclude this file).

This is despite the fact I have JRE 6 update 5 installed.

So it would appear in order to use Open Office installed, I have to have 
the older JRE installed too, and I should perhaps alter my Java packages 
script not to remove it.

Can anybody here confirm or deny?

Thanks

Brian May

<packages>
<package id="java6" name="Java Runtime Environment 6 Update 5" 
revision="5" reboot="false" priority="100">
   <depends package-id="firefox"/>
   <check type="uninstall" condition="exists" path="Java(TM) 6 Update 5" />
   <install cmd='msiexec /qn /x 
{3248F0A8-6813-11D6-A77B-00B0D0160000}'><exit code='0' /><exit 
code='1605' /></install>
   <install cmd='msiexec /qn /x 
{3248F0A8-6813-11D6-A77B-00B0D0160010}'><exit code='0' /><exit 
code='1605' /></install>
   <install cmd='msiexec /qn /x 
{3248F0A8-6813-11D6-A77B-00B0D0160020}'><exit code='0' /><exit 
code='1605' /></install>
   <install cmd='msiexec /qn /x 
{3248F0A8-6813-11D6-A77B-00B0D0160030}'><exit code='0' /><exit 
code='1605' /></install>
   <install cmd='msiexec /qn /x 
{3248F0A8-6813-11D6-A77B-00B0D0160040}'><exit code='0' /><exit 
code='1605' /></install>
   <install cmd='%SOFTWARE%\jre\jre-6u5-windows-i586-p-s.exe /s 
IEXPLORER=1 MOZILLA=1 ADDLOCAL=ALL REBOOT=Suppress JAVAUPDATE=0 JU=0 
AUTOUPDATECHECK=0' />
   <upgrade cmd='msiexec /qn /x 
{3248F0A8-6813-11D6-A77B-00B0D0160000}'><exit code='0' /><exit 
code='1605' /></upgrade>
   <upgrade cmd='msiexec /qn /x 
{3248F0A8-6813-11D6-A77B-00B0D0160010}'><exit code='0' /><exit 
code='1605' /></upgrade>
   <upgrade cmd='msiexec /qn /x 
{3248F0A8-6813-11D6-A77B-00B0D0160020}'><exit code='0' /><exit 
code='1605' /></upgrade>
   <upgrade cmd='msiexec /qn /x 
{3248F0A8-6813-11D6-A77B-00B0D0160030}'><exit code='0' /><exit 
code='1605' /></upgrade>
   <upgrade cmd='msiexec /qn /x 
{3248F0A8-6813-11D6-A77B-00B0D0160040}'><exit code='0' /><exit 
code='1605' /></upgrade>
   <upgrade cmd='%SOFTWARE%\jre\jre-6u5-windows-i586-p-s.exe /s 
IEXPLORER=1 MOZILLA=1 ADDLOCAL=ALL REBOOT=Suppress JAVAUPDATE=0 JU=0 
AUTOUPDATECHECK=0' />
   <remove cmd='msiexec /qn /x {3248F0A8-6813-11D6-A77B-00B0D0160040}' />
  </package>
</packages>

<packages>
<package id="ooo-2.x"
  name="OpenOffice.org 2.x"
  revision="1"
  reboot="false"
  priority="0">
  <depends package-id="java6"/>
  <check type="uninstall" condition="exists" path="OpenOffice.org 2.4" />
  <install cmd='msiexec /qn /i 
"%SOFTWARE%\openoffice\2.4\openofficeorg24.msi" ALLUSERS=1 SELECT_WORD=1 
SELECT_EXCEL=1 SELECT_POWERPOINT=1' />
  <upgrade cmd='msiexec /qn /i 
"%SOFTWARE%\openoffice\2.4\openofficeorg24.msi" ALLUSERS=1 SELECT_WORD=1 
SELECT_EXCEL=1 SELECT_POWERPOINT=1' />
  <remove cmd='msiexec /qn /x{CE91484F-B0CF-4494-8BA6-7242EE913626}' />
</package>
</packages>




More information about the wpkg-users mailing list