For many this is basics, but for some reason I seem to forget this from time to time. Therefore I have chosen to create a blog post to remember the steps.
Create the Office 2010 package as you normally would. Copy the Office CD to a share and add it as a New Package.
Remember to create the MSP file using the setup.exe /admin switch. These are the settings I use normally:
Microsoft Outlook 2010 – Account Settings – Exchange – Automatically Configure profile
based on Active Directory Primary SMTP Address = Enabled
Microsoft Outlook 2010 – Account Settings – Rss Feeds – Turn of RSS Feature =
Add Property HIDEUPDATEUI = TRUE
Set Outlook Profile to Modify Profile
I normally use a KMS server for key management. But this depends on the environment. Then you save these changes to office2k10Silent.msp and save it in the root of the office folder where setup.exe is located. In order to integrate the language pack as part of the setup I then copy the needed folders from the language pack cd:
Every folder that is needed ends with the name of the language. (in my case .nb-no)
I then copy the config.xml file from the enterprise.ww or the proplus.ww folder to the same location as setup.exe is located. This name of this folder varies from the version you are deploying. Then I edit it like this:
<Display Level="none" CompletionNotice="no" SuppressModal="Yes" AcceptEula="Yes" />
<AddLanguage Id="match" ShellTransform="yes"/>
<AddLanguage Id="en-us" />
<AddLanguage Id="nb-no" />
<OptionState Id="OfficeMUI" State="Local" Children="force" />
Notice the match switch. When that is set the installation will find out if the OS is English or Norwegian and install the Office GUI with that language.
We then need to specify how to run the installation. I create a program inside the office 2010 package that runs the following command:
setup.exe /adminfile office2k10Silent.msp
That’s it. The config.xml file will be read because it is in the root of the directory. Microsoft documentations states that MSP files and updates can be put in the updates folder of the installation. This works great. The only thing I have noticed is that office
completely installs the entire office suite and then runs the .MSP file and "peels" of the options that you have chosen to exclude.