Difference between revisions of "OpenOffice.org 2.x"
From WPKG | Open Source Software Deployment and Distribution
| Line 1: | Line 1: | ||
| − | First, download | + | First, download OOo_2.0_Win32Intel_install.exe from [http://download.openoffice.org/index.html OpenOffice.org] Website.<br> |
| − | + | Execute the downloaded installer - it creates a directory named ''OpenOfficeorg 2.0 Installation Files'', which includes several files. | |
| + | The ones you need are: | ||
<pre> | <pre> | ||
openofficeorg1.cab | openofficeorg1.cab | ||
| − | |||
openofficeorg2.cab | openofficeorg2.cab | ||
| + | openofficeorg20.msi | ||
openofficeorg3.cab | openofficeorg3.cab | ||
openofficeorg4.cab | openofficeorg4.cab | ||
</pre> | </pre> | ||
| − | + | ||
| − | + | excerpt from ''package.xml'', adjust your paths accordingly: | |
| − | excerpt from ''package.xml'': | + | |
<!--<blockquote style="background: white; border: 1px solid black; padding: 1em;">--> | <!--<blockquote style="background: white; border: 1px solid black; padding: 1em;">--> | ||
<pre> | <pre> | ||
| − | <package | + | <package id="ooo-2.x" |
| − | + | name="OpenOffice.org 2.x" | |
| − | name="OpenOffice.org 2.x" | + | revision="1" |
| − | revision="1" | + | reboot="false" |
| − | reboot="false" | + | |
priority="0"> | priority="0"> | ||
| − | <check type="uninstall" condition="exists" path="OpenOffice.org | + | <check type="uninstall" condition="exists" path="OpenOffice.org 2.0" /> |
| − | <install cmd='msiexec /i | + | <install cmd='"msiexec" /i \\Server\wpkg\pkg\OOo_2.0\install_en\openofficeorg20.msi /qn'> |
| − | + | <exit code="0" /> | |
</install> | </install> | ||
| + | <remove cmd='"msiexec" /x{CE91484F-B0CF-4494-8BA6-7242EE913626} /qn' /> | ||
| + | <upgrade cmd='"msiexec" /i \\Server\wpkg\pkg\OOo_2.0\install_en\openofficeorg20.msi /qn' /> | ||
| + | </package> | ||
| − | < | + | </pre> |
| − | + | <!--</blockquote>--> | |
| + | |||
| + | The uninstall ID can be checked from the file ''setup.ini'' in the directory ''OpenOfficeorg 2.0 Installation Files'' | ||
| + | |||
| + | The best way to install a localized build (in my opinion) is to also install localized language pack. Then the user can choose if he wants to have the English interface or the localized one. An example for Estonian language pack: | ||
| + | <!--<blockquote style="background: white; border: 1px solid black; padding: 1em;">--> | ||
| + | <pre> | ||
| + | <package id="ooo-2.x-et" | ||
| + | name="OpenOffice.org 2.0 Language Pack (Eesti)" | ||
| + | revision="1" | ||
| + | reboot="false" | ||
| + | priority="0"> | ||
| + | <check type="uninstall" condition="exists" path="OpenOffice.org 2.0 Language Pack (Eesti)" /> | ||
| + | <install cmd='"msiexec" /i \\Server\wpkg\pkg\OOo_2.0\langpack_et\openofficeorg20.msi /qn'> | ||
| + | <exit code="0" /> | ||
| + | </install> | ||
| + | <remove cmd='"msiexec" /x{9F5CAB24-B19E-42FD-AF8D-774C5C36A7FB} /qn' /> | ||
<upgrade cmd="" /> | <upgrade cmd="" /> | ||
</package> | </package> | ||
| − | |||
</pre> | </pre> | ||
<!--</blockquote>--> | <!--</blockquote>--> | ||
| + | |||
[[category:Silent Installers|OpenOffice.org 2.x]] | [[category:Silent Installers|OpenOffice.org 2.x]] | ||
Revision as of 00:28, 23 October 2005
First, download OOo_2.0_Win32Intel_install.exe from OpenOffice.org Website.
Execute the downloaded installer - it creates a directory named OpenOfficeorg 2.0 Installation Files, which includes several files.
The ones you need are:
openofficeorg1.cab openofficeorg2.cab openofficeorg20.msi openofficeorg3.cab openofficeorg4.cab
excerpt from package.xml, adjust your paths accordingly:
<package id="ooo-2.x"
name="OpenOffice.org 2.x"
revision="1"
reboot="false"
priority="0">
<check type="uninstall" condition="exists" path="OpenOffice.org 2.0" />
<install cmd='"msiexec" /i \\Server\wpkg\pkg\OOo_2.0\install_en\openofficeorg20.msi /qn'>
<exit code="0" />
</install>
<remove cmd='"msiexec" /x{CE91484F-B0CF-4494-8BA6-7242EE913626} /qn' />
<upgrade cmd='"msiexec" /i \\Server\wpkg\pkg\OOo_2.0\install_en\openofficeorg20.msi /qn' />
</package>
The uninstall ID can be checked from the file setup.ini in the directory OpenOfficeorg 2.0 Installation Files
The best way to install a localized build (in my opinion) is to also install localized language pack. Then the user can choose if he wants to have the English interface or the localized one. An example for Estonian language pack:
<package id="ooo-2.x-et"
name="OpenOffice.org 2.0 Language Pack (Eesti)"
revision="1"
reboot="false"
priority="0">
<check type="uninstall" condition="exists" path="OpenOffice.org 2.0 Language Pack (Eesti)" />
<install cmd='"msiexec" /i \\Server\wpkg\pkg\OOo_2.0\langpack_et\openofficeorg20.msi /qn'>
<exit code="0" />
</install>
<remove cmd='"msiexec" /x{9F5CAB24-B19E-42FD-AF8D-774C5C36A7FB} /qn' />
<upgrade cmd="" />
</package>