Customizing and Automating Installations

You can customize the [RegionalSettings] section of your answer file to specify the regional options listed in Table 5.13

note-icon

Note

To use this section of your answer file, you must add, as a minimum, the /copysource:lang switch to Winnt32.exe or the /rx:lang switch to Winnt.exe. This enables you to copy the appropriate language files to the hard disk. For example, if you are only interested in Korean settings while installing a U.S. version of Windows 2000 Professional, you can specify /copysource:lang\kor if starting from Winnt32.exe.

When specifying OemPreinstall = Yes and not providing values for the [RegionalSettings] section, set OEMSkipRegional = 1 in the [GuiUnattended] section of the answer file to ensure that Setup completes without prompting for regional option information.

Table 5.13 Customizing Regional Options

Key in [RegionalSettings]

Usage

InputLocale

Used to specify the input locale and keyboard layout combinations to be installed on the computer. The first keyboard layout specified is the default layout for the installation. The specified combinations must be supported by one of the language groups defined by using either the LanguageGroup key or the default language group for the language version of Windows 2000 Professional being installed. If an available language group does not support the combination specified, the default combination is used for the installation. This key is ignored if the Language key is specified.

Language

Used to specify the language and locale to be installed on the computer. This language must be supported by one of the language groups specified by using the LanguageGroup key. If an available language group does not support the locale, the default language for the Windows 2000 Professional version being installed is used.
If this key is specified, the SystemLocale, UserLocale, and InputLocale keys are ignored.

LanguageGroup

Used to specify the supported language group to be installed on the computer. If this key is specified, it provides default settings for SystemLocale, InputLocale, and UserLocale keys.
For a list of the supported language group IDs, see the LanguageGroup heading in the Unattend.doc provided in \Support\Tools\Deploy.cab on the Windows 2000 Professional operating system CD

SystemLocale

Used to enable localized applications to run and display menus and dialog boxes in the local language.

UserLocale

Used to key control the settings for numbers, time, currency, and dates.

note-icon

Note

A list of valid locales and their language groups is available at the Global Software Development Web site link on the Web Resources page at https://windows.microsoft.com/windows2000/reskit/webresources .

note-icon

Note

Any settings specified here are not kept if Sysprep is run on the computer.

To use [RegionalSettings] for multilingual support during Mini-Setup

  1. Create a subfolder named \i386 under \$OEM$\$1\Sysprep\ in the distribution folder.

  2. At the command prompt, type the following to copy files from \i386 of the Windows 2000 Professional operating system CD to the \i386 directory in the Sysprep folder:

*.nl?

kbd*.dl?

*.fo?

agt*.dl?

agt*.hl?

conime.ex?

wbcache.*

noise.*

wbdbase.*

infosoft.dl?

f3ahvoas.dl?

sylfaen.tt_

c_is*.dl_

\Lang\...

note-icon

Note

You can also use Setup Manager to add the necessary files and folders to the \i386 subfolder.

  1. In Sysprep.inf, add the InstallFilesPath key to the [Unattended] section:

InstallFilesPath = %systemdrive%\Sysprep\i386

For more information about the InstallFilesPath key, see Unattend.doc provided ** in Support\Tools\Deploy.cab on the Windows 2000 Professional operating system CD.

note-icon

Note

The \i386 subfolder and its contents are only required if the end user needs language support from one of the language groups provided in that folder.

The \i386 subfolder is deleted after the Mini-Setup wizard has been run on the end user's computer. If you perform an audit, or if a reseller further customizes the computer, you must recreate \Sysprep\i386 and then rerun Sysprep.exe before the image is installed to allow the end-user to specify the necessary regional options.