Changes

Jump to: navigation, search

OpenOffice.org 3.x

347 bytes added, 06:11, 2 February 2009
Updated to OpenOffice.org 3.0.1
This is a silent installer and uninstaller for OpenOffice.org 3 (from OpenOffice.org / Sun Microsystems).  == OpenOffice.org 3.0.1 ==
Download the installer http://download.openoffice.org/, unpack files to a local directory, customize with Microsoft ORCA tool if needed, and upload to your software source repository the following files:
instmsia.exe
instmsiw.exe
ooo300ooo301.mst # Microsoft Transform File created by you with the ORCA tool, this is not necessary
openofficeorg1.cab
openofficeorg30.msi
setup.ini # this file contains the numeric ID you need for uninstallation, {85F0337D-33AC-43B4-A003-DF35061F1D8D} in case of italian localized version
This example is for the italian localization, and associates OpenOffice as the default program for DOC, XLS and PPT files. Please update when the final will be released, adapt Adapt to your localizations, and change file associations to your needs.
<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package id="openoffice300openoffice301-ita" name="OpenOffice.org 3.0.0 1 italian" revision="1" reboot="false" priority="0">
<check type="uninstall" condition="exists" path="OpenOffice.org 3.0" />
<install cmd='msiexec /qn /i "%SOFTWARE%\ooo300ooo301-ita\openofficeorg30.msi" TRANSFORMS=%SOFTWARE%\ooo300ooo301-ita\ooo300.mst ALLUSERS=1 SELECT_WORD=1 SELECT_EXCEL=1 SELECT_POWERPOINTREGISTER_ALL_MSO_TYPES=1' /> <upgrade cmd='msiexec /qn /i "%SOFTWARE%\ooo300ooo301-ita\openofficeorg30.msi" TRANSFORMS=%SOFTWARE%\ooo300ooo301-ita\ooo300.mst ALLUSERS=1 SELECT_WORD=1 SELECT_EXCEL=1 SELECT_POWERPOINTREGISTER_ALL_MSO_TYPES=1' />
<remove cmd='msiexec /qn /x {85F0337D-33AC-43B4-A003-DF35061F1D8D}' />
Beware that for many non-US localizations, italian included, OpenOffice.org installer is not available in the "without Java JRE" version. As a side effect, a "with Java JRE" is so bad behaved that it does create a directory %PROGRAMFILES%\JRE\ and copy the JRE installer "jre-6u7-windows-i586-p.exe" in it, even if you specified in the Microsoft Transform that JRE is not to be installed. Uninstallation then cleanly removes this directory, however this is a waste of resources and a waste of time.
Issue number 95374 has been filed in OpenOffice.org requesting "non JRE" installers for all localizations; it has been answered pointing out that resources for translation are short, so that not all versions are translated and submitted to the Quality Assurance process. Solution is to volunteer and help localization and QA teams.
== Avoid registration window ==
Since Ooo does not configure file types other than ODF to be opened by default in Ooo I've created a registry file to set it (it has to be added for each user of the computer, so if you install Ooo as admin and have other users working consider adding batch script to 'All users'->'autostart'. Check [http://wpkg.org/Adding_Registry_Settings WPKG Adding Registry Settings] for details.
In order to avoid this in future releases, issue number 95375 has been filed in OpenOffice.org requesting the restore of "SELECT_WORD=1/0" and "SELECT_EXCEL=1/0" installer command line switches, which do not seem to be effective in the 3.0.0 release. As a workaround, Sun answered that the command line switch "REGISTER_ALL_MSO_TYPES=1/0", or equivalently the .msi file property "REGISTER ALL MSO TYPES" should be used to get what requested.
152
edits

Navigation menu