Monday, April 9, 2007

Silent Install for OpenOffice.org 2.x

After much searching, I found the following method for installing OpenOffice.org as part of a bigger install:
  1. unpack the installation files by starting the standard installer and hitting cancel once the files are unpacked
  2. cd to the directory where the files were unpacked
  3. run
    msiexec /i openoffice2.2.msi /qb INSTALLLOCATION=pathWhereYouWantToInstall
It appears that INSTALLOCATION is used instead of the standard TARGETDIR or fairly common INSTALLDIR.

Note that this will not suffice if your intent is to run OpenOffice as a document processing server. You will need to override the Setup.xcu file as explained here.

No comments: