[wpkg-users] Upgrading OpenOffice

Nicolas Lebrun nicolas.lebrun at ac-orleans-tours.fr
Fri Apr 24 12:46:55 CEST 2009



Claudiu Cristea a écrit :
> I have a machine that has OpenOffice *3.0.0* installed before installing 
> WPKG client. Now, I added OpenOffice *3.0.1* to packages and configured 
> that host to use that package. I followed 
> http://wpkg.org/OpenOffice.org_3.x but without TRANSFORMS (I don't need it).
> 
> After reboot and runnig of WPKG I noticed that:
> 
>     * The OpenOffice was not updated. It remains to *3.0.0*.
>     * The wpkg.xml contain the OpenOffice *3.0.1* entry even if the
>       software was not installed.
> 
> Any help will be appreciated.
> 
I think I've read there was a bug in the OOo installer ...  I've done an 
  uninstall before install in upgrade ... Here's what works to me

<package id='openoffice300' name='OpenOffice.org 3.0.1 Francais' 
revision='2' priority='50' reboot='true' >

   <check type='logical' condition='and'>
	  <check type='file' condition='versiongreaterorequal' 
path='%ProgramFiles%\OpenOffice.org 3\program\soffice.exe' 
value='3.0.9379.500' />
  	 <check type='uninstall' condition='exists' path='OpenOffice.org 3.0' />
   </check>
   <install cmd='msiexec /qb /x {1572F66F-F9AD-4D45-B0D2-0F45A0D5A0F6}' >
     <exit code='0' />
     <exit code='1605' />
   </install>
   <install cmd='msiexec /qb /i %SOFTWARE%\OOO301\openofficeorg30.msi 
ALLUSERS=1 SELECT_WORD=1 SELECT_EXCEL=1 SELECT_POWERPOINT=1' />

   <remove cmd='msiexec /qb /x {1572F66F-F9AD-4D45-B0D2-0F45A0D5A0F6}' />

   <upgrade cmd='msiexec /qb /x {1572F66F-F9AD-4D45-B0D2-0F45A0D5A0F6}' />
   <upgrade cmd='msiexec /qb /i %SOFTWARE%\OOO301\openofficeorg30.msi 
ALLUSERS=1 SELECT_WORD=1 SELECT_EXCEL=1 SELECT_POWERPOINT=1' />
</package>

Not sure th reboot is necessary ..






More information about the wpkg-users mailing list