Microsoft Windows

From Apache OpenOffice Wiki
< Documentation‎ | Administration Guide
Revision as of 08:02, 18 July 2008 by Ccornell (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Windows Installer (MSI) Packages

The StarOffice setup uses under Windows MSI packages. MSI is the standard for installation packages under Windows. Newer Windows releases (2000, XP) includes a Microsoft Installer with an User Interface. The installation with User Interface get described in the StarOffice 8 Getting Started Guide.

Unattended installations and the other installation options could started with the mouse. They required a command shell. The Microsoft Installer provides a rich set of command line parameters. The most important parameters get described here.

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

User of a download installation set

Template:Documentation/Note

All files of the StarOffice installation set are packed in a single file at the download version of the StarOffice installation set. This file need to be unpacked first before the MSI package is directly 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 StarOffice 8 Installation Preparation Wizard appears.
  3. Select the folder in which to save the unpacked files.
  4. Once all files are unpacked, the regular StarOffice 8 Installation dialog appears.
  5. Do not follow the installation dialog. Leave the dialog open and copy the expanded files from the installation set in a different directory.
  6. Cancel the StarOffice Installation dialog now.

Customized installation

Customized installation means to install StarOffice without a certain package. The Windows Installer uses 'transformation templates' to customize the normal installation package. The StarOffice Enterprise CD, which is part of the Enterprise Edition, includes a Wizard to create those transformation templates.

  1. Start the Transformation Wizard directly from the Enterprise CD or expanded download installation set
  2. Enter the directory where the staroffice8.msi packages are located. This could be the Office directory on your installation CD or the directory with the expanded files from the download installation set. (See above to expand the download installation set)
  3. Click next to specify the modules/features and the location of the StarOffice installation.
  4. Click next to make StarOffice 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 StarOffice with the transformation template
msiexec /qn /i starOffice8.msi TRANSFORMS=<transformation template>

Unattended (silent) installation

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

msiexec /qn /i staroffice8.msi

Administrative installation option. Copy the StarOffice installation set on a network share.

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

msiexec /a starOffice8.msi

Deinstallation

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

msiexec /qn- /x {4BC1CB2B-FDCE-4DB4-A557-BA8127569B0D}

Heads up: It is most likely that the ProductCode {4BC1CB2B-FDCE-4DB4-A557-BA8127569B0D} won't work for you. You have to determine the product code for your StarOffice installation. How to do it, see above.

Repairing StarOffice installation

Existing StarOffice installations could also be repaired. The MSI installation provides a rich set of options

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.

Installing StarOffice Product Upgrades/Patches (unattended)

The Product Updates are not regular MSI patches. They are normal MSI packages and has to be installed as any other MSI package. However to install the patches without user interaction you have to start the installation from the command line. Before you could do this you have to expand the patch installation file first.

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 StarOffice Patch Installation Wizard appears
  3. Select the folder in which to save the unpacked files.
  4. Do not continue with the patch installation and click on the cancel button to patch Installation
  5. Open a command prompt and go to the directory where the expanded patch installation files are located
  6. Enter following command:
 setup /qn
  1. The patch get installed now.
Content on this page is licensed under the Public Documentation License (PDL).
Personal tools