Remove x86 variant of 5.3.7 if installed

tags/wpkg-libreoffice-5.4.4-0.beta1
Daniel Berteaud 7 years ago
parent 4521db4712
commit 57f79c190f
  1. 6
      packages/libreoffice.xml

@ -11,9 +11,13 @@
<variable architecture="x86" name="MSI" value="%SOFTWARE%\libreoffice\LibreOffice_%PKG_VERSION%_Win_x86.msi" /> <variable architecture="x86" name="MSI" value="%SOFTWARE%\libreoffice\LibreOffice_%PKG_VERSION%_Win_x86.msi" />
<check type="uninstall" condition="versiongreaterorequal" path="LibreOffice .+" value="%PKG_VERSION%" /> <check type="uninstall" condition="versiongreaterorequal" path="LibreOffice .+" value="%PKG_VERSION%" />
<install cmd='msiexec /qn /i "%MSI%" ISCHECKFORPRODUCTUPDATE=0 CREATEDESKTOPLINK=0 REGISTER_NO_MSO_TYPES=1 RebootYesNo=No UI_LANGS=en_US,fr' /> <install cmd='msiexec /qn /i "%MSI%" ISCHECKFORPRODUCTUPDATE=0 CREATEDESKTOPLINK=0 REGISTER_NO_MSO_TYPES=1 RebootYesNo=No UI_LANGS=en_US,fr' />
<!-- Remove x86 5.3.7 -->
<upgrade architecture="x64" cmd="msiexec /qn /norestart /x{6F962302-C743-44AF-9E32-2817BF2BB874}">
<exit code='any' />
</upgrade>
<upgrade include="install" /> <upgrade include="install" />
<remove cmd='msiexec /qn /norestart /x "%MSI%"' /> <remove cmd='msiexec /qn /norestart /x "%MSI%"' />

Loading…
Cancel
Save