Difference between revisions of "OpenOffice.org 2.x Novell Edition"
(→Basics) |
|||
Line 10: | Line 10: | ||
trans_XX.mst - where XX is a code of country - those are translations for installer. | 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, I'll test this option and edit page later) | + | There's also setup.ini file with list of translations, <strike>possibly you can edit this file to avoid installing all languages (auto installing will use about 1,3GB of disc space, I'll test this option and edit page later)</strike> |
+ | 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 | ||
+ | |||
+ | Where default is your language number. To find out which number is for you fing it on the list below: | ||
+ | |||
+ | 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 | ||
'' | '' |
Revision as of 14:16, 15 January 2008
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, I'll test this option and edit 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
Where default is your language number. To find out which number is for you fing it on the list below:
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 /quiet /I{6D8FE0C8-000D-4486-9814-135AE44A44BD}'/> </package>
I know the remove command looks strange - I took it from registry. Don't know why default parameter /x{INSTALL_ID} doesn't want to work as it should. Possible there's more then one way to do this right - this one works OK for me.
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 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.