Customizing the Install of Office 2007

Office 2007 installation can be customized by editing the Config.xml file.

Office 2007 setup looks for a copy of Config.xml in the same location that the setup.exe is started from. If it does not find one there, it then looks in the default location for the version of Office you are installing.

Example D:\Enterprise.ww\config.xml or \\servername\sharename\Enterprise.WW\config.xml

The config switch can be used when initiating the setup command to specify another config.xml file location.

Example: \\server\share\setup.exe /config \\server\share\Enterprise.WW\config.xml

Within the config.xml, you can specify the Product key(PIDKEY), company name, accept the EULA, as well as whether to display the user interface or not, and many other options.

Sample Config.xml:

<Configuration Product="Enterprise">
<!-- <Display Level="full" CompletionNotice="yes" SuppressModal="no" AcceptEula="no" /> -->

<!-- <Logging Type="verbose" Path="%temp%" Template="Microsoft Office Enterprise Setup(*).txt" /> -->

<!-- <PIDKEY Value="BCDFGHJKMPQRTVWXY2346789B" /> -->

<!-- <USERNAME Value="Customer" /> -->

<!-- <COMPANYNAME Value="MyCompany" /> -->

<!-- <INSTALLLOCATION Value="%programfiles%\Microsoft Office" /> -->

<!-- <LIS CACHEACTION="CacheOnly" /> -->

<!-- <DistributionPoint Location="\\server\share\Office12" /> -->

<!-- <OptionState Id="OptionID" State="absent" Children="force" /> -->

<!-- <Setting Id="SETUP_REBOOT" Value="IfNeeded" /> -->

<!-- <Command Path="%WINDIR%\system32\msiexec.exe" Args="/i \\server\share\my.msi" QuietArg="/q" ChainPosition="after" Execute="install" /> -->
</Configuration>


For a complete list of syntax for config.xml file, see: http://technet.microsoft.com/en-us/library/cc179195.aspx