AFP548 Changing the world one server at a time.

Choices file for Office 2011 – where, how?

Home › Forums › Software › InstaDMG › Choices file for Office 2011 – where, how?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #380774
    Chris George
    Participant

    I created a choices file for Office 2011, to exclude Messenger and Communicator, but it didn’t seem to work – the build process failed miserably, saying “nothing to install” and bombed out of the build at that point.

    My choices file looks like this:

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <array>
    	<dict>
    		<key>attributeSetting</key>
    		<integer>1</integer>
    		<key>choiceAttribute</key>
    		<string>selected</string>
    		<key>choiceIdentifier</key>
    		<string>office</string>
    	</dict>
    	<dict>
    		<key>attributeSetting</key>
    		<integer>1</integer>
    		<key>choiceAttribute</key>
    		<string>selected</string>
    		<key>choiceIdentifier</key>
    		<string>required</string>
    	</dict>
    	<dict>
    		<key>attributeSetting</key>
    		<integer>1</integer>
    		<key>choiceAttribute</key>
    		<string>selected</string>
    		<key>choiceIdentifier</key>
    		<string>officecomponents</string>
    	</dict>
    	<dict>
    		<key>attributeSetting</key>
    		<integer>1</integer>
    		<key>choiceAttribute</key>
    		<string>selected</string>
    		<key>choiceIdentifier</key>
    		<string>word</string>
    	</dict>
    	<dict>
    		<key>attributeSetting</key>
    		<integer>1</integer>
    		<key>choiceAttribute</key>
    		<string>selected</string>
    		<key>choiceIdentifier</key>
    		<string>excel</string>
    	</dict>
    	<dict>
    		<key>attributeSetting</key>
    		<integer>1</integer>
    		<key>choiceAttribute</key>
    		<string>selected</string>
    		<key>choiceIdentifier</key>
    		<string>powerpoint</string>
    	</dict>
    	<dict>
    		<key>attributeSetting</key>
    		<integer>1</integer>
    		<key>choiceAttribute</key>
    		<string>selected</string>
    		<key>choiceIdentifier</key>
    		<string>outlook</string>
    	</dict>
    	<dict>
    		<key>attributeSetting</key>
    		<integer>1</integer>
    		<key>choiceAttribute</key>
    		<string>selected</string>
    		<key>choiceIdentifier</key>
    		<string>dcc</string>
    	</dict>
    	<dict>
    		<key>attributeSetting</key>
    		<integer>0</integer>
    		<key>choiceAttribute</key>
    		<string>selected</string>
    		<key>choiceIdentifier</key>
    		<string>messenger</string>
    	</dict>
    	<dict>
    		<key>attributeSetting</key>
    		<integer>0</integer>
    		<key>choiceAttribute</key>
    		<string>selected</string>
    		<key>choiceIdentifier</key>
    		<string>communicator</string>
    	</dict>
    	<dict>
    		<key>attributeSetting</key>
    		<integer>1</integer>
    		<key>choiceAttribute</key>
    		<string>selected</string>
    		<key>choiceIdentifier</key>
    		<string>rdc</string>
    	</dict>
    	<dict>
    		<key>attributeSetting</key>
    		<integer>1</integer>
    		<key>choiceAttribute</key>
    		<string>selected</string>
    		<key>choiceIdentifier</key>
    		<string>vb</string>
    	</dict>
    	<dict>
    		<key>attributeSetting</key>
    		<integer>1</integer>
    		<key>choiceAttribute</key>
    		<string>selected</string>
    		<key>choiceIdentifier</key>
    		<string>proofingtools</string>
    	</dict>
    	<dict>
    		<key>attributeSetting</key>
    		<integer>1</integer>
    		<key>choiceAttribute</key>
    		<string>selected</string>
    		<key>choiceIdentifier</key>
    		<string>catalan</string>
    	</dict>
    	<dict>
    		<key>attributeSetting</key>
    		<integer>1</integer>
    		<key>choiceAttribute</key>
    		<string>selected</string>
    		<key>choiceIdentifier</key>
    		<string>danish</string>
    	</dict>
    	<dict>
    		<key>attributeSetting</key>
    		<integer>1</integer>
    		<key>choiceAttribute</key>
    		<string>selected</string>
    		<key>choiceIdentifier</key>
    		<string>dutch</string>
    	</dict>
    	<dict>
    		<key>attributeSetting</key>
    		<integer>1</integer>
    		<key>choiceAttribute</key>
    		<string>selected</string>
    		<key>choiceIdentifier</key>
    		<string>english</string>
    	</dict>
    	<dict>
    		<key>attributeSetting</key>
    		<integer>1</integer>
    		<key>choiceAttribute</key>
    		<string>selected</string>
    		<key>choiceIdentifier</key>
    		<string>finnish</string>
    	</dict>
    	<dict>
    		<key>attributeSetting</key>
    		<integer>1</integer>
    		<key>choiceAttribute</key>
    		<string>selected</string>
    		<key>choiceIdentifier</key>
    		<string>french</string>
    	</dict>
    	<dict>
    		<key>attributeSetting</key>
    		<integer>1</integer>
    		<key>choiceAttribute</key>
    		<string>selected</string>
    		<key>choiceIdentifier</key>
    		<string>german</string>
    	</dict>
    	<dict>
    		<key>attributeSetting</key>
    		<integer>1</integer>
    		<key>choiceAttribute</key>
    		<string>selected</string>
    		<key>choiceIdentifier</key>
    		<string>italian</string>
    	</dict>
    	<dict>
    		<key>attributeSetting</key>
    		<integer>1</integer>
    		<key>choiceAttribute</key>
    		<string>selected</string>
    		<key>choiceIdentifier</key>
    		<string>japanese</string>
    	</dict>
    	<dict>
    		<key>attributeSetting</key>
    		<integer>1</integer>
    		<key>choiceAttribute</key>
    		<string>selected</string>
    		<key>choiceIdentifier</key>
    		<string>norwegian</string>
    	</dict>
    	<dict>
    		<key>attributeSetting</key>
    		<integer>1</integer>
    		<key>choiceAttribute</key>
    		<string>selected</string>
    		<key>choiceIdentifier</key>
    		<string>portuguese</string>
    	</dict>
    	<dict>
    		<key>attributeSetting</key>
    		<integer>1</integer>
    		<key>choiceAttribute</key>
    		<string>selected</string>
    		<key>choiceIdentifier</key>
    		<string>brazilian</string>
    	</dict>
    	<dict>
    		<key>attributeSetting</key>
    		<integer>1</integer>
    		<key>choiceAttribute</key>
    		<string>selected</string>
    		<key>choiceIdentifier</key>
    		<string>spanish</string>
    	</dict>
    	<dict>
    		<key>attributeSetting</key>
    		<integer>1</integer>
    		<key>choiceAttribute</key>
    		<string>selected</string>
    		<key>choiceIdentifier</key>
    		<string>swedish</string>
    	</dict>
    	<dict>
    		<key>attributeSetting</key>
    		<integer>1</integer>
    		<key>choiceAttribute</key>
    		<string>selected</string>
    		<key>choiceIdentifier</key>
    		<string>czech</string>
    	</dict>
    	<dict>
    		<key>attributeSetting</key>
    		<integer>1</integer>
    		<key>choiceAttribute</key>
    		<string>selected</string>
    		<key>choiceIdentifier</key>
    		<string>polish</string>
    	</dict>
    	<dict>
    		<key>attributeSetting</key>
    		<integer>1</integer>
    		<key>choiceAttribute</key>
    		<string>selected</string>
    		<key>choiceIdentifier</key>
    		<string>russian</string>
    	</dict>
    	<dict>
    		<key>attributeSetting</key>
    		<integer>1</integer>
    		<key>choiceAttribute</key>
    		<string>selected</string>
    		<key>choiceIdentifier</key>
    		<string>turkish</string>
    	</dict>
    	<dict>
    		<key>attributeSetting</key>
    		<integer>1</integer>
    		<key>choiceAttribute</key>
    		<string>selected</string>
    		<key>choiceIdentifier</key>
    		<string>appsupport</string>
    	</dict>
    	<dict>
    		<key>attributeSetting</key>
    		<integer>1</integer>
    		<key>choiceAttribute</key>
    		<string>selected</string>
    		<key>choiceIdentifier</key>
    		<string>fonts</string>
    	</dict>
    	<dict>
    		<key>attributeSetting</key>
    		<integer>1</integer>
    		<key>choiceAttribute</key>
    		<string>selected</string>
    		<key>choiceIdentifier</key>
    		<string>automator</string>
    	</dict>
    	<dict>
    		<key>attributeSetting</key>
    		<integer>0</integer>
    		<key>choiceAttribute</key>
    		<string>selected</string>
    		<key>choiceIdentifier</key>
    		<string>dock</string>
    	</dict>
    </array>
    </plist>

    I’ve placed it in /instadmg/InstallerFiles/InstallerChoices, named InstallerChoicesOffice2011.xml.

    The line in the catalog file looks like:

         Microsoft Office 2011 SP1      Microsoft Office 2011.dmg     sha1:e4687989b15b24eec4d24a3d66cb59952b8c065e     /instadmg/InstallerFiles/InstallerChoices/InstallerChoicesOffice2011.xml

    (tabs replaced with spaces)

    So… what am I doing wrong? Where SHOULD the InstallerChoices file go instead, and how should it be specified in the catalog?

    #380776
    Allister Banks
    Participant

    Hey Chris,

    I have a post about this on the mailing list, the line you have for your catalog file would maybe work on a mpkg file, but cygnus2112 reports that the old way still works. That is, if you make a new dmg with your ChoiceChanges file at the root next to the mpkg that should work. Two other alternatives: you could modify the distribution.dist file, which I haven’t tried, or you could do what I do, which is rip the thing apart into a catalog like this:
    http://pastie.textmate.org/private/mquert7rzz4fpnwqxwzdw
    You’ll notice I comment out the pkg that forces you to quit any browsers while it installs, and I also leave out silverlight since I don’t have any sharepoint services running anywhere. I wish it was easier, I’ll be moving to either repackaging or having munki doing these installs on firstboot soon, if I can’t get this installerChoices bug fixed. Thanks,

    Allister

    #380784
    Tim Sutton
    Participant

    Allister wrote:

    Hey Chris,

    I have a post about this on the mailing list, the line you have for your catalog file would maybe work on a mpkg file, but cygnus2112 reports that the old way still works. That is, if you make a new dmg with your ChoiceChanges file at the root next to the mpkg that should work. Two other alternatives: you could modify the distribution.dist file, which I haven’t tried, or you could do what I do, which is rip the thing apart into a catalog like this:
    http://pastie.textmate.org/private/mquert7rzz4fpnwqxwzdw
    You’ll notice I comment out the pkg that forces you to quit any browsers while it installs, and I also leave out silverlight since I don’t have any sharepoint services running anywhere. I wish it was easier, I’ll be moving to either repackaging or having munki doing these installs on firstboot soon, if I can’t get this installerChoices bug fixed. Thanks,

    Allister

    Also, doing it the old way with a choices file at the root of the .dmg containing the package, instadmg.bash expects the choices file to be named “InstallerChoices.xml.” instaDMG will take an alternate choices name for the BaseOS, but not for individual package items. This is strictly instaDMG functionality.

    Recently, the functionality of adding a choices XML as a fourth tab-stop-item in an instaUp2Date catalog was added, but I personally haven’t used this method. Since instadmg.bash is hardcoded to expect InstallerChoices.xml, I can only assume instaUp2Date writes out this file to where instaDMG expects it may find it.

    #380801
    Goldberg
    Participant

    I modified the distribution.dist file and it works perfectly. Directions can be found here:

    http://www.officeformachelp.com/office/administration/deployment/distribution-dist/

    Marnin

    #380807
    Anonymous
    Guest

    I use the old toggle method which works fine for me:

    <array>
            <string>outlook</string>
            <string>messenger</string>
            <string>communicator</string>
            <string>rdc</string>
            <string>dcc</string>
            <string>dock</string>
    </array>
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.