[RegionalSettings] (Sysprep)

[RegionalSettings]

The [RegionalSettings] section contains entries for installing regional options during the setup process.

If you include [RegionalSettings] in the answer file, you must also use the /copysource:lang command-line option of Winnt32.exe so that Setup copies the appropriate language files to the hard disk. The command winnt32 /copysource:lang copies all the files in the PRODUCT:\i386\Lang folder to MASTER:\%systemroot%\Lang.

If you use the entry OemPreinstall = Yes in the [Unattended] section of the answer file and do not provide values for the [RegionalSettings] section, you need to use the entry OEMSkipRegional = 1 in the [GuiUnattended] section of the answer file to ensure Setup completes without prompting for regional option information.

Answer File Entries for the [LicenseFilePrintData] Section

Entry

Description

InputLocale

Specifies the input locale and keyboard layout combinations to install.

InputLocale_DefaultUser

Specifies the input locale and keyboard layout combination for the default user.

Language

Specifies the language/locale to install.

LanguageGroup

Specifies the language group for this installation.

SystemLocale

Specifies the system locale to install.

UserLocale

Specifies the user locale to install.

UserLocale_DefaultUser

Specifies the user locale for the default user.

InputLocale

Specifies the input locale and keyboard layout combinations to install.

Example

Comments

The first keyboard layout specified is the default layout for the installation. One of the language groups defined in the LanguageGroup entry or the default language group for the language version of Microsoft Windows must support the specified combination. If an available language group does not support the combination specified, Setup uses the default combination. Setup also ignores this entry if you specify the Language entry.

For a list of valid locale ID and keyboard layout combinations, see the Microsoft Global Software Development Web site at http://go.microsoft.com/fwlink/?LinkId=23258.

InputLocale_DefaultUser

Specifies the input locale and keyboard layout combination for the default user.

Syntax

Example

Comments

One of the language groups defined in the LanguageGroup entry or the default language group for the language version of Windows must support the specified combination. You must define the keyboard in the KeyboardLayout entry in the [Unattended] section of the answer file.

For a list of valid locale ID and keyboard layout combinations, see the Microsoft Global Software Development Web site at http://go.microsoft.com/fwlink/?LinkId=23258.

Language

Specifies the language/locale to install.

Value

Description

locale_ID

Locale ID.

Syntax

Example

Comments

One of the language groups specified in the LanguageGroup entry must support this language. If an available language group does not support the locale, Setup uses the default language for this version of Windows.

For a list of valid locales and their language groups, see the Microsoft Global Software Development Web site at http://go.microsoft.com/fwlink/?LinkId=23258.

Note

If you specify this entry, Setup ignores the SystemLocale, UserLocale, and InputLocale entries.

Example

Comments

You cannot specify a particular locale or language unless you install the appropriate language group.

In Windows XP, if you install one language group, then you install all corresponding language groups. For example, if you install one language group from the set of East Asian language groups, then you also install associated language groups. Likewise, if you install one language group from the set of complex script language groups, then you install all complex script language groups.

For a list of specific languages that correspond to particular language groups, see the Microsoft Global Software Development Web site at http://go.microsoft.com/fwlink/?LinkId=23258.

SystemLocale

Specifies the system locale to install.

Syntax

Example

Comments

The system locale enables localized applications to run and display menus and dialog boxes in their native language. One of the language groups specified in the LanguageGroup entry or the default language group for the language version of Windows must support the specified system locale. If an available language group does not support the locale specified, Setup installs the default system locale. Setup also ignores this entry if you specify the Language entry.

UserLocale

Specifies the user locale to install.

Syntax

Example

Comments

The user locale controls the settings for numbers, time, currency, and dates. One of the language groups specified in the LanguageGroup entry or the default language group for the language version of Windows must support the specified user locale. If an available language group does not support the locale specified, Setup installs the default user locale. Setup also ignores this entry if you specify the Language entry.

UserLocale_DefaultUser

Specifies the user locale for the default user.

Value

Description

locale_ID

Locale ID.

Syntax

Example

Comments

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 in the LanguageGroup setting or the default language for the Windows version that is installed.