Difference between revisions of "OpenOffice.org 2.x Novell Edition"
(→Basics) |
|||
Line 43: | Line 43: | ||
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. | 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. | ||
+ | |||
+ | [[Category:Silent Installers]] |
Revision as of 14:03, 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)
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.