Changes

Jump to: navigation, search

OpenOffice.org 2.x

27 bytes added, 15:54, 1 March 2008
m
no edit summary
''
excerpt from ''package.xml'', adjust your paths accordingly:
<source lang="xml"><package id="ooo-2.x"
name="OpenOffice.org 2.x"
revision="1"
<remove cmd='msiexec /qn /x{CE91484F-B0CF-4494-8BA6-7242EE913626}' />
</package></source> ''Note'' If you install i.e. OO 2.2.1 it also announces itself as OO 2.2 in the Software repository. To know if it got installed, replace the <source lang="xml"><check type="uninstall"...></source>
with
''Note'' If you install i.e. OO 2.2.1 it also announces itself as OO 2.2 in the Software repository. To know if it got installed, replace the <check typesource lang="uninstallxml"...> with
<check type="registry" condition="exists" path="HKLM\SOFTWARE\OpenOffice.org\OpenOffice.org\2.2\{E4C7B3EF-B3DB-4BB6-A812-E8FAE47534D3}\INSTALLLOCATION" />
</source>
The long hexnumber is the Uninstall-ID (see below). This always works, also with minorversion updates.
''Answer'' The long hex number.
 
== Localized builds ==
The best way to install a localized build (in my opinion) is to install localized language packs in addition to the English installer. This way the user can choose if they want to have the English interface or the localized one. An example for the Estonian language pack:
 <!--<blockquote stylesource lang="background: white; border: 1px solid black; padding: 1em;xml">--><pre>
<package id="ooo-2.x-et"
name="OpenOffice.org 2.0 Language Pack (Eesti)"
<remove cmd='"msiexec" /x{9F5CAB24-B19E-42FD-AF8D-774C5C36A7FB} /qn' />
</package>
</pre><!--</blockquote>--source>
See the new documentation [http://wiki.services.openoffice.org/wiki/Documentation/How_Tos/Automatic_Installation_on_Windows Automatic Installation on Windows at the OpenOffice.org Wiki] for a detailed documentation of all the MSI properties.
 
== Alternative install ==
Here's another possibility:
<source lang="xml"><package id="openoffice" name="Openoffice 2" revision="1" priority="0" reboot="false">
<check type="uninstall" condition="exists" path="OpenOffice.org 2.0" />
<!-- install cmd='%SOFTWARE%\OpenOffice\enu\setup.exe -r:\\server\share\OpenOffice\officeop.txt -D:\"%ProgramFiles%\OpenOffice.org\" -debug -net' -->
<install cmd='cmd /c del /s /q "%TEMP%\ooo"' />
<remove cmd="msiexec /qb /l* c:\netinst\logs\openoffice.log x{C3B3C054-0F00-4BC3-9A90-9C6B3EF4201F}" />
</package></source>
== Open questions ==
<presource lang="dos">
rem ### ### ### ### ### ### ### ### ### ### ### ### ###
rem
IF EXIST "%APPDATA%\OpenOffice.org2\" GOTO OOO2END
xcopy /v /s /i /e /h /c /y /q "\\server\netlogon\OpenOffice.org2" "%APPDATA%\OpenOffice.org2"
<nowiki>
:OOO2END
</nowiki></presource>
[[category:Silent Installers]]

Navigation menu