OpenOffice.org 2.x Novell Edition
Basics
This document is based on 'OpenOffice.org 2.x' installer from wpkg.org.
OpenOffice Novell Edition gives you better compatibility with Microsoft Office (mostly in Calc and Writer - it enables Microsoft VB macros and removes differences in file presentation).
First, download the OpenOffice Novell Edition installer (i.e. OOo-2.3.0-6-1.zip) from Novell's Website.
Choose .zip format. You can also download .iso file and burn it on a CD or use some tools to extract files from ISO (such as Total Commander plugin, Virtual CD/DVD program or any other). After unpacking you should have a directrory with about 470MB of files. Most important are:
openofficeorg1.cab openofficeorg23.msi instmsiw.exe instmsia.exe setup.exe trans_XX.mst - where XX is a code of country - those are translations for installer.
There's also setup.ini file with list of translations, possibly you can edit this file to avoid installing all languages - auto installing will use about 1,3GB of disc space. Even though the way i wrote below changes auto choice of language packages in custom installation mode it still installs all of them in auto installation mode, text is in strike as long as it doesn't work as it should, I'm trying to take a closer look what's inside the MSI package at the moment. I'll test this option and edit this page later.
To avoid installing other languages edit setup.ini file to look like this:
[setup] database=openofficeorg23.msi instmsiw=instmsiw.exe instmsia=instmsia.exe msiversion=2.0 productname=OpenOffice.org productcode={6D8FE0C8-000D-4486-9814-135AE44A44BD} [languages] count=1 default=1045 lang1=1045,trans_pl.mst
Where default is your language number and lang1= your language number,trans_your language code. If you want to add more translations as default to install, change count=x and type lines starting with lang1, lang2 etc. To find out which number and code is for you find it on the list below (or search for it in the original setup.ini file. Remember to save a copy of original file before making changes!):
1078 - af 1025 - ar 1059 - be-BY 1026 - bg 1093 - bn-IN 1150 - br 1027 - ca 1029 - cs 1106 - cy 1030 - da 1031 - de 1032 - el 2057 - en-GB 1034 - es 1061 - et 1035 - fi 1036 - fr 1095 - gu-IN 1037 - he 1081 - hi-IN 1050 - hr 1038 - hu 1040 - it 1041 - ja 1107 - km 1042 - ko 1063 - lt 1062 - lv 1071 - mk 1102 - mr-IN 1044 - nb 1043 - nl 2068 - nn 1094 - pa-IN 1045 - pl 1046 - pt-BR 2070 - pt 1049 - ru 1569 - rw 1051 - sk 1060 - sl 1053 - sv 1097 - ta-IN
excerpt from package.xml, adjust your paths accordingly:
<package id="ooo-2.x" name="OpenOffice.org Novell Edition" revision="1" reboot="false" priority="0"> <check type="uninstall" condition="exists" path="OpenOffice.org 2.3" /> <install cmd='msiexec /qn /i "%SOFTWARE%\NovellOoo\openofficeorg23.msi" ALLUSERS=1 SELECT_WORD=1 SELECT_EXCEL=1 SELECT_POWERPOINT=1' /> <upgrade cmd='msiexec /qn /i "%SOFTWARE%\NovellOoo\openofficeorg23.msi" ALLUSERS=1 SELECT_WORD=1 SELECT_EXCEL=1 SELECT_POWERPOINT=1' /> <remove cmd='msiexec /qn /x{6D8FE0C8-000D-4486-9814-135AE44A44BD}'/> </package>
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 type="uninstall"...> with <check type="registry" condition="exists" path="HKLM\SOFTWARE\OpenOffice.org\OpenOffice.org\2.2\{E4C7B3EF-B3DB-4BB6-A812-E8FAE47534D3}\INSTALLLOCATION" />
The long hexnumber is the Uninstall-ID (see below). This always works, also with minorversion updates.
The uninstall ID can be checked from the file setup.ini in the directory OpenOfficeorg 2.0 Installation Files
Question Does "uninstall ID" mean "{CE91484F-B0CF-4494-8BA6-7242EE913626}" or "OpenOffice.org 2.0"?
Answer The long hex number. link title
Warning: You have to be careful using this package since it will take a long time to install and use 1,3 of GB disc space. Possibly it's sensitive to other app's presence and will not work correctly when there will be other applications opened. It will try to open a popup window asking user to close applications which can cause conflicts, but in silent mode this option will be disabled and can cause installation to freeze.