Microsoft Windows

From Apache OpenOffice Wiki
Jump to: navigation, search


Windows Installer (MSI) Packages

The Apache OpenOffice setup uses Windows MSI packages. MSI is the standard for installation packages under 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.

User of a download installation set

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. Select the folder in which to save the unpacked files.
  4. Once all files are unpacked, the regular Apache OpenOffice Installation dialog appears.
  5. Do not follow the installation dialog. Leave the dialog open and copy the expanded files from the installation set into a different directory.
  6. Cancel the Apache OpenOffice Installation dialog.

Customized installation

Customized installation means to install Apache OpenOffice without certain packages. The Windows Installer uses 'transformation templates' to customize the normal installation package.

  1. Start the Transformation Wizard directly from the expanded download installation set
  2. Enter the directory where the openoffice.msi packages are located.
  3. Click next to specify the modules/features and the location of the Apache OpenOffice installation.
  4. Click next to make Apache OpenOffice or another Office suite to the preferred suite for editing of Microsoft Office documents.
  5. Choose a location for the transformation template and click create.
  6. To install Apache OpenOffice with the transformation template

Unattended (silent) installation

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

Administrative installation option. Copy the Apache OpenOffice installation set on a network share.

The installation type does not install Apache OpenOffice on 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.

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 installation. Template:Documentation/Note

Repairing StarOffice installation

Existing Apache OpenOffice installations can also be repaired

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

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

The Product Code is described above.

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