Changes

Jump to: navigation, search

OpenOffice.org 2.x

2,089 bytes added, 02:43, 12 June 2008
Disable registration wizard, update to 2.4.1, add instructions on disabling the splash screen
== Basics ==
First, download the OpenOffice .org installer (i.e. OOo_2.4_Win32Intel_install4.1_Win32Intel_install_en-US.exe) from [http://download.openoffice.org/indexother.html OpenOffice.org] Website. Make sure to uncheck "Include the Java JRE with this download" to download the package without the bundled JRE.<br>Run the installer - it creates a directory named ''OpenOffice.org 2.4 (en-US) Installation Files'', which includes several files.
The ones you need are:
openofficeorg1openofficeorg24.msi openoffice.org-activex.cab openofficeorg2openoffice.org-base.cab openofficeorg20openoffice.msiorg-calc.cab openofficeorg3openoffice.org-core01.cab openofficeorg4openoffice.org-core02.cab openoffice.org-core03.cab openoffice.org-core04.cab openoffice.org-core05.cab openoffice.org-core06.cab openoffice.org-core07.cab openoffice.org-core08.cab openoffice.org-core09.cab openoffice.org-draw.cab openoffice.org-emailmerge.cab openoffice.org-graphicfilter.cab openoffice.org-impress.cab openoffice.org-javafilter.cab openoffice.org-math.cab openoffice.org-onlineupdate.cab openoffice.org-pyuno.cab openoffice.org-testtool.cab openoffice.org-writer.cab openoffice.org-xsltfilter.cab Next, you need to download the [http://wiki.services.openoffice.org/wiki/Documentation/Administration_Guide/Deactivating_Registration_Wizard DisableFirstStartWzd.oxt] extension and place this in the same directory as the files above. This extension disables the First Start/Registration Wizard.
When downloaded the package with JRE, you need the java directory too.
== Installer Parameters ==
You can customize your instalation installation by using the following supported installer parameters: http://wiki.services.openoffice.org/wiki/Documentation/How_Tos/Automatic_Installation_on_Windows
== WPKG install ==
''
excerpt from ''package.xml'', adjust your paths accordingly:
<source lang="xml">
<?xml version="1.0" encoding="UTF-8"?><packages><package id="ooo-2.xopenoffice2" name="OpenOffice.org 2.4.x" revision="1200806111" reboot="false" priority="0"> <check type="uninstall" condition="exists" path="OpenOffice.org 2.04" /> <depends package-id="java6" />  <install cmd='msiexec /qn /i "%SOFTWARE%\OOo_2.0openoffice2\openofficeorg20openofficeorg24.msi" ALLUSERS=1 SELECT_WORD=1 SELECT_EXCEL=1 SELECT_POWERPOINT=1' /> <install cmd='"%ProgramFiles%\OpenOffice.org 2.4\program\unopkg.exe" add --shared %SOFTWARE%\openoffice2\DisableFirstStartWzd.oxt' />  <upgrade cmd='msiexec /qn /i "%SOFTWARE%\OOo_2.0openoffice2\openofficeorg20openofficeorg24.msi" ALLUSERS=1 SELECT_WORD=1 SELECT_EXCEL=1 SELECT_POWERPOINT=1' /> <upgrade cmd='"%ProgramFiles%\OpenOffice.org 2.4\program\unopkg.exe" add --shared %SOFTWARE%\openoffice2\DisableFirstStartWzd.oxt' />  <remove cmd='"%ProgramFiles%\OpenOffice.org 2.4\program\unopkg.exe" remove --shared org.openoffice.legacy.DisableFirstStartWzd.oxt' /> <remove cmd='msiexec /qn /x{CE91484F80851370-B0CF07CF-4494477B-8BA6837D-7242EE913626F2E488916CFE}' />
</package>
</packages>
</source>
''Note'' If you install i.e. OO OOo 2.24.1 it also announces itself as OO 2.2 4 in the Software repository. To know if it got installed, replace the
<source lang="xml"><check type="uninstall"condition="exists" path="OpenOffice.org 2..4" /></source>
with
<source lang="xml">
<check type="registry" condition="exists" path="HKLM\SOFTWARE\OpenOffice.org\OpenOffice.org\2.24\{E4C7B3EF80851370-B3DB07CF-4BB6477B-A812837D-E8FAE47534D3F2E488916CFE}\INSTALLLOCATION" />
</source>
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 OpenOffice.org 2.0 4 (en-US) Installation Files''
''Question'' Does "uninstall ID" mean "{CE91484F80851370-B0CF07CF-4494477B-8BA6837D-7242EE913626F2E488916CFE}" or "OpenOffice.org 2.0"?
''Answer'' The long hex number.
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.
 
If you would like to disable the splash screen, place ''sed.exe'' and the dependencies (''libiconv2.dll'' and ''libintl3.dll'') from [http://gnuwin32.sourceforge.net/packages/sed.htm GnuWin32] into your tools folder. Then add the following lines to the bottom of each section:
 
<source lang="xml">
<install cmd='%WPKGROOT%\tools\sed.exe -i s/^Logo=1$/Logo=0/ "%ProgramFiles%\OpenOffice.org 2.4\program\soffice.ini"' />
...
<upgrade cmd='%WPKGROOT%\tools\sed.exe -i s/^Logo=1$/Logo=0/ "%ProgramFiles%\OpenOffice.org 2.4\program\soffice.ini"' />
</source>
2- by dropping a link to it in the startup folder
 
3 - See the new install script above which installs an extension to disable the registration wizard.
 
Other answers:
3- by copying a folder OpenOffice.org2 into the profile of the user at session start.
93
edits

Navigation menu