As seen on my previous post http://msitpros.com/?p=271 I showed how to integrate language packs into one set of installation files for office.
In that post I also showed you how to put a config.xml in the root of the directory together with the setup.exe. Inside that XML file we added all the languages we wanted to add. In many cases you may want to only deploy a subset of languages. So how do we do that? This is easy. All you have to do is to create a XML file for what type of languages you want. Let’s say we want Spanish and English only. Then I have chosen to create a XML file called Spanish.xml and it looks like this:
<Configuration Product="ProPlus"> <Display Level="none" CompletionNotice="no" SuppressModal="Yes" AcceptEula="Yes" /> <AddLanguage Id="es-es" ShellTransform="yes"/> <AddLanguage Id="en-us" /> <OptionState Id="OfficeMUI" State="Local" Children="force" /> </Configuration>
Then when I deploy office I just use this command to apply this config:
setup.exe /config Spanish.xml
If you also want to apply office customizations you can do this after the installation just by running the MSP package that you have created using setup.exe /admin
Good luck!
2 comments
Vern Bateman
May 2, 2011 at 11:14 pm (UTC 2) Link to this comment
My question to you is…I have 2 customized msp files (using setup /admin), how can i tell the xml file to run one of them?…I’m taking I would have to put the MSP files into the Updates folder..
thks
Oddvar
May 4, 2011 at 5:01 pm (UTC 2) Link to this comment
Hi Vern. either put it in the updates folder or use /adminfile or chain it so that you run setup.exe /config “file.xml” and after it is finished just launch the msp file.