Microsoft KB Archive/289125

= How to create the regional and language settings for an unattended installation of Windows MultiLanguage Version =

Article ID: 289125

Article Last Modified on 1/15/2006

-

APPLIES TO


 * Microsoft Windows XP Professional

-



This article was previously published under Q289125



IN THIS TASK

 * SUMMARY
 * Unattend.txt Settings
 * Syntax
 * REFERENCES



SUMMARY
This article describes the regional and language settings that you can specify for an unattended installation of Windows MultiLanguage Version.

Windows has added support for default locale, input locale, and user interface (UI) language as entries in an unattended installation Answer file.

back to the top

Unattend.txt Settings
The following settings are relevant for an Unattend.txt file when you configure Windows MultiLanguage version-related settings during an unattended installation:

[RegionalSettings]

Language =

LanguageGroup = ,

SystemLocale =

UserLocale =

InputLocale = :,  :

UserLocale_DefaultUser =

InputLocale_DefaultUser = :

Two settings are ignored in Unattend.txt and Sysprep.inf, and are specific to computers that have the MultiLingual User Interface Packs installed. You can use these settings only by invoking the Regional and Language Options control panel applet in an unattended fashion:

MUILanguage = MUILanguage_DefaultUser =

back to the top

Syntax

 * Language - This setting specifies the language that is installed. If this setting is specified, the SystemLocale, InputLocale, UserLocale, and MUILanguage settings are ignored.

Note To work around this issue, set the SystemLocale, InputLocale, UserLocale, and MUILanguage individually.
 * LanguageGroup - This setting specifies the language support that is installed on the computer. If this setting is specified, it provides the default settings for the InputLocale, SystemLocale, and UserLocale settings.
 * SystemLocale - This setting enables programs that do not use Unicode to run and display menus and dialog boxes in the localized language. If a localized program does not display correctly on the computer, setting the system locale to match the language of the localized program may resolve the problem. However, this setting is network-wide, so it is not possible to support simultaneously the localized programs that do not use Unicode for multiple languages.
 * UserLocale - This setting controls the settings for sorting numbers, time, currency, and dates.
 * InputLocale - This setting specifies the input locale and keyboard layout combinations. If multiple locales are specified, the first keyboard layout that is specified becomes the computer default. The specified combinations must be supported by one of the languages that is defined by using either the LanguageGroup setting or the default language for the language version of Windows XP that is being installed. If an available language does not support the specified combination, the default combination is used. This setting is ignored if the Language setting is specified.
 * UserLocale_DefaultUser (new for Windows XP)- This setting sets the user locale for the default user. The user locale controls the settings for numbers, time, currency, and dates. The specified user locale must be supported by one of the languages that is specified by using the LanguageGroup setting, or the default language for the Windows XP version that is being installed.
 * InputLocale_DefaultUser (new for Windows XP) - This setting sets the input locale and keyboard layout combinations for the default user.
 * MUILanguage (new for Windows XP)- This setting sets the UI language for the current user on a Windows MultiLanguage Version-based computer. This setting is intended for post-Setup configuration, when the Windows MultiLanguage Version language that you want is already installed.
 * MUILanguage_DefaultUser (new for Windows XP) - This setting sets the UI language for the default user profile, which includes the logon language and the default UI language that is applied to all new user accounts.

To use an answer file to modify [RegionalSettings] items after Setup or Sysprep is complete:  Create an answer file that contains the [RegionalSettings] section items you want to modify, and then save it (for example, as c:\regopts.txt). Create a batch file by using the following command line to apply the answer file settings:

rundll32.exe shell32,Control_RunDLL intl.cpl,,/f:&quot;c:\regopts.txt&quot;



NOTE: You can apply any of the settings that are valid in the [RegionalSettings] section this way, but you must use this method to apply the MuiLanguage and MuiLanguage_DefaultUser settings because they are not valid in Unattend.txt and Sysprep.inf answer files. You can apply them, however, by including your batch file in the GuiRunOnce section of your Unattend.txt or Sysprep.inf file. For more information about GuiRunOnce, see the Windows XP Preinstallation Reference help file located in the Support\Tools\Deploy.cab folder on your Windows XP installation media.

back to the top

