Changes

Jump to: navigation, search

LibreOffice

1,046 bytes added, 09:40, 26 May 2011
LibreOffice 3.3.2
<package id="libreoffice" name="LibreOffice" revision="2" reboot="false" priority="10">
<variable name="PKG_VERSION" value="3.3.2" />
<variable name="SHORT_LANG" value="cs" />
<!-- LibreOffice removed main programs from full install -->
<upgrade cmd='msiexec /qn /I "%SOFTWARE%\documentfoundation\LibO_%PKG_VERSION%_Win_x86_install_multi\libreoffice33.msi" COMPANYNAME="%CNAME%" USERNAME="" ISCHECKFORPRODUCTUPDATE=0 CREATEDESKTOPLINK=0 ADDLOCAL=ALL REMOVE=%REMOVEPROGS%,%REMOVEOPTIONS%' />
<remove cmd='msiexec /qn /X "%SOFTWARE%\documentfoundation\LibO_%PKG_VERSION%_Win_x86_install_multi\libreoffice33.msi"' />
</package>
<package id="libreoffice_help" name="LibreOffice Help Pack" revision="2" reboot="false" priority="10">
<variable name="PKG_VERSION" value="3.3.2" />
<variable name="INS_VERSION" value="3.3" />
<variable name="SHORT_LANG" value="cs" />
<variable name="LANG" value="Czech" />
 
<depends package-id="libreoffice" />
 
<check type="uninstall" condition="exists" path="LibreOffice %INS_VERSION% Help Pack (%LANG%)" />
 
<install cmd='msiexec /qn /I "%SOFTWARE%\documentfoundation\LibO_%PKG_VERSION%_Win_x86_helppack_%SHORT_LANG%\libreoffice33.msi"' />
<upgrade cmd='msiexec /qn /I "%SOFTWARE%\documentfoundation\LibO_%PKG_VERSION%_Win_x86_helppack_%SHORT_LANG%\libreoffice33.msi"' />
 
<remove cmd='msiexec /qn /X "%SOFTWARE%\documentfoundation\LibO_%PKG_VERSION%_Win_x86_helppack_%SHORT_LANG%\libreoffice33.msi"' />
 
</package
</packages>
</source>
Note: For the <remove> tag i have use the .msi file itself to get rid of the fact than the uninstall strings in HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall is language dependent. But this force you to keep the .msi on the server for removing software. You may prefer a remove string strings like :
<source lang="xml">
<!-- language dependent msiexec remove string strings (here the czech oneones) -->
<remove cmd='msiexec /qn /X{CEE2613D-3B53-4447-BA2D-E88C08272581}' />
<remove cmd='msiexec /qn /X{04A88043-281E-4E32-B878-343B51F56F2E}' />
</source>
You will have to use the string relevant to your language.
In "unziped folders"\setup.ini file as productcode
 
[[category:Silent Installers]]
[[category:OpenOffice]]
35
edits

Navigation menu