Microsoft Windows
- Apache OpenOffice Basic Macros and Libraries
- Apache OpenOffice Extension Manager
- Adding Template Files to an Apache OpenOffice Installation
- Adding AutoText Files to an Apache OpenOffice Network Installation
- Deactivating the Apache OpenOffice Registration Wizard
- Accessing Email Clients
- Customizing the User Interface
- Restricting Functionality in Apache OpenOffice
- Accessing Apache OpenOffice User Profiles on an LDAP Server
The Apache OpenOffice setup for Microsoft Windows uses MSI packages. MSI is the standard tool for installing software packages under Microsoft Windows.
The Advertise option (/J{m|u}) of the Microsoft Software 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 into a single file in the download version of the Apache OpenOffice installation set. This file must be unpacked before the MSI package is accessible.
To expand the download installation set :
- Double-click on the file from the download install set or start the file from the command line.
- The Apache OpenOffice Installation Preparation Wizard appears.
- Click Next .
- Select the Destination Folder for the unpacked files.
- 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.
- 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
This type of installation does not install Apache OpenOffice on a single machine, instead it copies the installationfiles, ready for a future Apache OpenOffice installation, into a directory. The user could later start the Apache OpenOffice setup from this directory for a local installation.
- Start the network Installation Wizard
msiexec /a openofficeorg<version>.msi
- Click Next
- Specify the network share where the installation files will be copied.
- Click Install .
- Click Finish when the installer is finished 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.
If you want to install addons, then you can use the command:
echo yes | "c:\program files\openoffice.org 4\program\unopkg.com" add <specificaddon>.oxt
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.
- Open a filemanager and browse to <openoffice-install-dir>/program.
- Open setup.ini and locate the ProductCode.
- Uninstall Apache OpenOffice with:
msiexec /qn /x {4BC1CB2B-FDCE-4DB4-A557-BA8127569B0D}
The ProductCode {4BC1CB2B-FDCE-4DB4-A557-BA8127569B0D} is an example. You must find the correct product code for your specific Apache OpenOffice installation. |
Repairing an Apache OpenOffice installation
Existing Apache OpenOffice installations can also be repaired using msiexec.
msiexec /f [p|o|e|d|c|a|u|m|s|v] /x {ProductCode}
A description of all repair options is available online in the Microsoft Developer Network: https://docs.microsoft.com/en-us/windows/win32/msi/command-line-options
Content on this page is licensed under the Public Documentation License (PDL). |