[wpkg-users] Uprade LibreOffice 3.4

Cedric Frayssinet cedric.frayssinet at gmail.com
Fri Nov 18 13:07:11 CET 2011


Hi all !

I'v a little problem with LibO 3.4. I'm using this package :

*<package id="Libreoffice" name="LibreOffice : La suite bureautique
Libre" revision="%version_long%.1" reboot="false" priority="10">

<variable name="version_long" value="3.4.4" />
<variable name="version" value="3.4" />
<variable name="version_short" value="34" />

    <!-- plus d'infos là :
http://wiki.services.openoffice.org/wiki/Documentation/How_Tos/Automatic_Installation_on_Windows
-->

    <!-- Programmes supprimés de l'installation complète (ici Base et Maths) -->
    <variable name="REMOVEPROGS"
value="gm_p_Base,gm_p_Base_Bin,gm_p_Math,gm_p_Math_Bin" />
    <!-- Options de LibreOffice supprimé de l'installation complète -->
    <variable name="REMOVEOPTIONS"
value="gm_o_Testtool,gm_o_Xsltfiltersamples,gm_o_Pyuno,gm_o_jf_Palm,gm_o_jf_Pocketpc,gm_o_Quickstart,gm_o_Extensions_REPORTDESIGN,gm_o_Extensions_MEDIAWIKI"
/>

    <!-- Company Name option -->
    <variable name="CNAME" value="CRDP de Lyon" />

    <!-- Some LibreOffice functionalities depends on Java -->
    <depends package-id="Java" />

    <check type="file" condition="versiongreaterorequal"
path="%ProgramFiles%\LibreOffice %version%\program\soffice.exe"
value="%version%"/>

    <install cmd='msiexec /qn /I
"%SOFTWARE%\libreoffice\libreoffice%version_short%.msi"
COMPANYNAME="%CNAME%" USERNAME="" ISCHECKFORPRODUCTUPDATE=0
CREATEDESKTOPLINK=0 ADDLOCAL=ALL REMOVE=%REMOVEPROGS%,%REMOVEOPTIONS%'
/>

    <upgrade cmd='msiexec /qn /I
"%SOFTWARE%\libreoffice\libreoffice%version_short%.msi"
COMPANYNAME="%CNAME%" USERNAME="" ISCHECKFORPRODUCTUPDATE=0
CREATEDESKTOPLINK=0 ADDLOCAL=ALL REMOVE=%REMOVEPROGS%,%REMOVEOPTIONS%'
/>

    <remove cmd='msiexec /qn /X
"%SOFTWARE%\libreoffice\libreoffice%version_short%.msi"' />

  </package>*


Install is ok in 3 or 4 minutes but upgrade (3.4.0 to 3.4.4 or 3.4.3 to
3.4.4) fails or is too long ? In my settings, the shutdown delay is 20 mn.
After an uprade, i reboot my computer, and LibO is not properly upgraded
(no errors in event log), if i upgrade again, i've an error 1704 (
http://www.appdeploy.com/msierrors/detail.asp?id=6) in event log.

Do you have any ideas for this trouble ?

Thanks a lot,

Cédric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20111118/8795ac5b/attachment-0001.html>


More information about the wpkg-users mailing list