msiexec /qn /i openofficeorg<version>.msi
Copy the OpenOffice.org installation set to a network
share
This installation type does not install OpenOffice.org on single machine, instead it copies the installation files,
ready for a future OpenOffice.org installation, into a directory. The user could later start the OpenOffice.org
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.
4 Click Install.
5 Click Finish when the installer is finished copying the files to the network
share.
Users can install OpenOffice.org from this shared network location by browsing to the shared directory and
double clicking on openofficeorg<version>.msi.
Note – If you choose to include specific configuration files for a specific environment, you can copy them from
a template directory you created into the users' application data directory using the command xcopy /v /y
/e /z template-dir "%APPDATA%\OpenOffice.org\3\"
If you want to install addons, then you can use the command:
echo yes | "c:\program files\openoffice.org 3\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
OpenOffice.org installation set is different to the product code for a German or Italian installation set.
OpenOffice.org saves this ProductCode into the setup.ini that is located in the program directory of
OpenOffice.org. 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 OpenOffice.org with:
msiexec /qn /x {4BC1CB2B-FDCE-4DB4-A557-BA8127569B0D}
Note – The ProductCode {4BC1CB2B-FDCE-4DB4-A557-BA8127569B0D} is an example. You must find the
correct product code for your specific OpenOffice.org installation.
Repairing an OpenOffice.org installation
Existing OpenOffice.org 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:
Chapter 1 · Deploy OpenOffice.org using package managers 11
Komentáře k této Příručce