Exploring Office 2010 Config.xml

When we deploy Office during Operating System Deployment we can use the OCT tool to generate a MSP file to customise our setup. However we can also use the Config.xml file to customise the deployment further. This post takes a look at the options available to you in the Config.xml file.

First of all you will find a default Config.xml file in the folder <core_product>.WW (for example; ProPlus.WW or Standard.WW). The format is a regular plain and simple XML file so for those of you familiar with XML files configuring this should be simple.

So what can we use the config.xml for? Here is a list of things:

  • Specify the network installation point
  • Select which product to install
  • Customise setup options, such as logging and the path to software updates
  • Set installation options
  • Copy the local installation source
  • Add or remove languages

You can edit the example file in the product.WW folder which will be picked up when you run setup.exe. This means you don’t have to specify anything on the command line. If you have a need for multiple config files for instance then you will need to specify the full UNC path to the file using the /config switch. This process does not support relative paths so it is important to use the full UNC path.

Adding Additional Languages

You can add additional languages to your Office installation. You may need to download additional Language Interface Packs (LIP) from Microsoft for your language. Here is a quick example:

<AddLanguage Id="match" ShellTransform="yes"/>

In the previous example, Setup installs all the specified languages and the Shell UI matches the language of the user’s locale. If more languages were available in the source image, the match value in the previous example might install an additional language if the match language does not resolve to one of the other four explicitly called-out languages. For instance, if Japanese was also included in the source, this example would install Japanese in addition to the other four languages when it is installed on a computer that has the user locale set to Japanese.

Advertisements

Tags: , , ,

About Martyn

Martyn is one of the Senior Cloud Architects and DevOps Team Leader at one of the worlds leading Cloud Transformation Specialists Inframon. Martyn is responsible for the architecture of some of the largest Azure deployments in EMEA and is a advisor to a many businesses on their strategies. Martyn is a regular speaker at Microsoft events and community events on Azure and DevOps, giving his insight to a growing number of audiences.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: