Create Microsoft Office 2011 package

Download and install Iceberg.
Create a Package project, and under the Scripts section, add the Office 2011 mpkg and the SP2 update package.
Create a choices.xml file to add to scripts. Find the options by running

installer -package /Volumes/Microsoft Office 2011/Office Installer.mpkg -showChoicesXML | grep -A 1 choiceIdentifier

The following is returned:

 <key>choiceIdentifier</key>
 <string>required</string>
--
 <key>choiceIdentifier</key>
 <string>components</string>
--
 <key>choiceIdentifier</key>
 <string>word</string>
--
 <key>choiceIdentifier</key>
 <string>excel</string>
--
 <key>choiceIdentifier</key>
 <string>powerpoint</string>
--
 <key>choiceIdentifier</key>
 <string>outlook</string>
--
 <key>choiceIdentifier</key>
 <string>messenger</string>
--
 <key>choiceIdentifier</key>
 <string>communicator</string>
--
 <key>choiceIdentifier</key>
 <string>rdc</string>
--
 <key>choiceIdentifier</key>
 <string>vb</string>
--
 <key>choiceIdentifier</key>
 <string>catalan</string>
--
 <key>choiceIdentifier</key>
 <string>danish</string>
--
 <key>choiceIdentifier</key>
 <string>dutch</string>
--
 <key>choiceIdentifier</key>
 <string>english</string>
--
 <key>choiceIdentifier</key>
 <string>finnish</string>
--
 <key>choiceIdentifier</key>
 <string>french</string>
--
 <key>choiceIdentifier</key>
 <string>german</string>
--
 <key>choiceIdentifier</key>
 <string>italian</string>
--
 <key>choiceIdentifier</key>
 <string>japanese</string>
--
 <key>choiceIdentifier</key>
 <string>norwegian</string>
--
 <key>choiceIdentifier</key>
 <string>portuguese</string>
--
 <key>choiceIdentifier</key>
 <string>brazilian</string>
--
 <key>choiceIdentifier</key>
 <string>spanish</string>
--
 <key>choiceIdentifier</key>
 <string>swedish</string>
--
 <key>choiceIdentifier</key>
 <string>czech</string>
--
 <key>choiceIdentifier</key>
 <string>polish</string>
--
 <key>choiceIdentifier</key>
 <string>russian</string>
--
 <key>choiceIdentifier</key>
 <string>turkish</string>
--
 <key>choiceIdentifier</key>
 <string>proofing-tools</string>
--
 <key>choiceIdentifier</key>
 <string>dcc</string>
--
 <key>choiceIdentifier</key>
 <string>office</string>
--
 <key>choiceIdentifier</key>
 <string>appsupport</string>
--
 <key>choiceIdentifier</key>
 <string>fonts</string>
--
 <key>choiceIdentifier</key>
 <string>automator</string>
--
 <key>choiceIdentifier</key>
 <string>dock</string>
--
 <key>choiceIdentifier</key>
 <string>__ROOT_CHOICE_IDENT_Microsoft Office for Mac 2011</string>

 
Adding one of those options to a choices.xml file will deselect that item when installed.
 
SeeĀ http://www.officeformachelp.com/office/administration/deployment/command-line/

Be the first to comment

Leave a Reply

Your email address will not be published.


*