Microsoft Windows

From Apache OpenOffice Wiki
Jump to: navigation, search


Microsoft Windows Installer (MSI) Packages

The Apache OpenOffice setup uses Microsoft Windows MSI packages. MSI is the standard tool for installing packages under Microsoft Windows.

Unattended installations and the other installation options cannot be started in the GUI, they must be started in a command shell. The Microsoft Installer provides a rich set of command line parameters. The most important parameters are described here.

The Advertise option (/J{m|u}) of the Windows installer is not supported by the Apache OpenOffice installation package.

Extract the Apache OpenOffice installation files

All files of the Apache OpenOffice installation set are packed in a single file in the download version of the Apache OpenOffice installation set. This file must be unpacked first before the MSI package is accessible.

To expand the download installation set :

  1. Double click on the the file from the download install set or start the file from the command line.
  2. The Apache OpenOffice Installation Preparation Wizard appears.
  3. Click Next.
  4. Select the Destination Folder to the unpacked files.
  5. Once all files are unpacked, the regular Apache OpenOffice Installation Wizard dialog appears. Do not follow the installation dialog. Leave the dialog open and copy the expanded files from the installation set into a different directory.
  6. Click Cancel in the Apache OpenOffice Installation Wizard, click Yes to confirm the cancellation, and click Finish to close the Installation Wizard.

Unattended (silent) installation

The parameter /qn is used to suppress the User Interface and all message boxes during the installation.

msiexec /qn /i openofficeorg<version>.msi

Copy the Apache OpenOffice installation set to a network share

This installation type does not install Apache OpenOffice on single machine, it copies the installation files, ready for a Apache OpenOffice installation, in a directory. The user could start the Apache OpenOffice setup from this directory for a local installation.

  1. Start the network Installation Wizard
     msiexec /a openofficeorg<version>.msi
  2. Click Next
  3. Specify the network share where the installation files will be copied. Make sure that you choose an appropriate destination directory on the network share.
  4. Click Install.
  5. Click Finish when the installer is done copying the files to the network share.

Users can install Apache OpenOffice from this shared network location by browsing to the shared directory and double clicking on openofficeorg<version>.msi.

Uninstall

Uninstalling MSI packages from the command line is not easy. Using the original name of the MSI package does not work. The Windows Installer expects the ProductCode of the application. The product code for an English Apache OpenOffice installation set is different to the product code for a German or Italian installation set. Apache OpenOffice saves this ProductCode into the setup.ini that is located in the program directory of Apache OpenOffice. The parameter for the uninstall is /x and the /qn parameter for a silent uninstall.

  1. Open a file manager and browse to <openoffice.org-install-dir>/program.
  2. Open setup.ini and locate the ProductCode.
  3. Uninstall Apache OpenOffice with:
     msiexec /qn /x {4BC1CB2B-FDCE-4DB4-A557-BA8127569B0D}

Template:Documentation/Note

Repairing an Apache OpenOffice installation

Existing Apache OpenOffice installations can also be repaired

msiexec /f [p|o|e|d|c|a|u|m|s|v] /x {ProductCode}

A description of all repair options is available here :http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/command_line_options.asp

Content on this page is licensed under the Public Documentation License (PDL).
Personal tools