Regionalsettings_s (original) (raw)


Share via


Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

[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.

Syntax
InputLocale = locale_ID:keyboard layout ID[, locale_ID:keyboard_layout_ID][, ...]
Value Description
locale_ID Locale ID.
keyboard layout ID Keyboard layout ID.
Example
[RegionalSettings]
InputLocale = 2058:80a, 1046:416

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 https://go.microsoft.com/fwlink/?LinkId=23258.

InputLocale_DefaultUser

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

Syntax
InputLocale_DefaultUser = locale_ID:keyboard_layout_ID
Value Description
locale_ID Locale ID.
keyboard layout ID Keyboard layout ID.
Example
[RegionalSettings]
InputLocale_DefaultUser = 2058:40a

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 https://go.microsoft.com/fwlink/?LinkId=23258.

Language

Specifies the language/locale to install.

Value Description
locale_ID Locale ID.
Syntax
Language = locale_ID
Example
[RegionalSettings]
Language = 0409

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 https://go.microsoft.com/fwlink/?LinkId=23258.

Note

LanguageGroup

Specifies the language group for this installation.

Syntax
LanguageGroup = language_group_ID[, language_group_ID[, ...]]

The following table provides a list of possible language group IDs, which are identified by index numbers.

Language Group IDs and Descriptions for LanguageGroup Entry

Language Group ID Time Zone Description
1 Western Europe and United States Installed by Default
2 Central Europe Installed by Default
3 Baltic Installed by Default
4 Greek Installed by Default
5 Cyrillic Installed by Default
6 Turkic Installed by Default
7 Japanese East Asian Language
8 Korean East Asian Language
9 Traditional Chinese East Asian Language
10 Simplified Chinese East Asian Language
11 Thai Complex Script
12 Hebrew Complex Script
13 Arabic Complex Script
14 Vietnamese Complex Script
15 Indic Complex Script
16 Georgian Complex Script
17 Armenian Complex Script
Example
[RegionalSettings]
LanguageGroup = 2

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 https://go.microsoft.com/fwlink/?LinkId=23258.

SystemLocale

Specifies the system locale to install.

Syntax
SystemLocale = locale_ID
Value Description
locale_ID Locale ID.
Example
[RegionalSettings]
SystemLocale = 2058

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
UserLocale = locale_ID
Value Description
locale_ID Locale ID.
Example
[RegionalSettings]
UserLocale = 2058

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
UserLocale_DefaultUser = locale_ID
Example
[RegionalSettings]
UserLocale_DefaultUser = 2058

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.