If you have the languagepack file (cab file) and you want to install a language pack silent, you can use the following tools:
1. Install the languagepack silent using lpksetup.exe:
lpksetup.exe /i <language> /r /s /p <lp_path>
Where <language> has to be the language ID (e.g. de-DE for german) and <lp_path> specifies the path to the cab file.
This takes about 15 minutes! I used a loop within my batch file to monitor when the lpsetup.exe has finished.
2. Apply your language settings using control.exe intl.cpl with unattend file:
control intl.cpl,,/f:"<unattend.xml_path"
The unattend.xml has to contain special tags from the GS:GlobalizationServices. Here's the one I used. It sets the default language, user language, location and keyboardlayout to german.
<gs:GlobalizationServices xmlns:gs="urn:longhornGlobalizationUnattend">
<!-- User List-->
<gs:UserList>
<gs:User UserID="Current" CopySettingsToSystemAcct="true" CopySettingsToDefaultUserAcct="true" />
</gs:UserList>
<!-- GeoID -->
<gs:LocationPreferences>
<gs:GeoID Value="94"/>
</gs:LocationPreferences>
<!-- MUI-->
<gs:MUILanguagePreferences>
<gs:MUILanguage Value="de-DE" />
<gs:MUIFallback Value="en-US" />
</gs:MUILanguagePreferences>
<!-- system locale -->
<gs:SystemLocale Name="de-DE"/>
<!-- input preferences -->
<gs:InputPreferences>
<gs:InputLanguageID Action="add" ID="0407:00000407"/>
<gs:InputLanguageID Action="remove" ID="0409:00000409"/>
</gs:InputPreferences>
<gs:UserLocale>
<gs:Locale Name="de-DE" SetAsCurrent="true" ResetAllSettings="true" />
</gs:UserLocale>
</gs:GlobalizationServices>
This post has been edited by spaceman78: 07 February 2007 - 04:30 AM