[wpkg-users] LibreOffice upgrade on Win7 64bit -> 1603

Stefan Pendl stefan.pendl.71 at gmail.com
Thu Jun 6 21:31:02 CEST 2013


Am 05.06.2013 15:43, schrieb Marco Gaiarin:
>
> I'm suspecting the AV (Kaspersky 8); someone have some experiences on
> such intermittent errors? Thanks.
>

No such errors encountered with v4, since that even installs only the 
languages and dictionaries that make sense, so I have a really limited 
package as seen below.

Works for Win7 x86 and AMD64.

'---code start (watch for line wraps)

<package id="LibreOffice" name="LibreOffice.org" 
revision="%PKG_VERSION%" reboot="false" priority="10" 
precheck-upgrade="always">
     <include package-id="Java"/>

     <variable name="PKG_NAME"           value="LibreOffice" />
     <variable name="PKG_VERSION"        value="4.0.3.3" />
     <variable name="PKG_VERSION_PATH"   value="4.0.3" />
     <variable name="PKG_SOURCE" 
value="%SOFTWARE%\LibreOffice\LibreOffice_%PKG_VERSION_PATH%_Win_x86.msi"/>
     <variable name="PKG_INSTALL_SWITCH" value="ALLUSERS=1 
REGISTER_ALL_MSO_TYPES=1"/>

     <check type="uninstall" condition="versiongreaterorequal" 
path="LibreOffice %PKG_VERSION%" value="%PKG_VERSION%" />

     <install cmd='MsiExec.exe /passive /norestart /log 
"%TMP%\%PKG_NAME%.log" /i "%PKG_SOURCE%" %PKG_INSTALL_SWITCH%' />

     <upgrade include="install" />

     <remove cmd='MsiExec.exe /passive /norestart /log 
"%TMP%\%PKG_NAME%.log" /x "%PKG_SOURCE%" ' />
</package>

'---code end

--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



More information about the wpkg-users mailing list