Language IDs

InstallShield 2018 » InstallScript Language Reference

InstallShield provides language constants for all languages supported by Windows. However, most of these constants are not supported for the designation of language-specific components and language filtering.

InstallScript constants can be used in the following contexts.

Parameter for FeatureFilterLanguage

InstallScript language constants are used as the second parameter to the function FeatureFilterLanguage. In this context, the language constant specifies which files to filter or unfilter. Only supported language constants, which are listed in the supported language table should be used for this purpose. Using an unsupported language constant for component filtering has no effect since components designated for an unsupported language are filtered (not included) during the media build and so cannot be installed.

Return Value for GetSystemInfo

A language constant serves as the value returned in nvResult by function GetSystemInfo when it is called with the constant LANGUAGE in the nItem parameter. In this context, any of the language constants that are listed in ISRTDefs.h can be returned because Windows supports all the language constants.

Note • If your installation includes language filtering based on these return values, you must use a switch statement to convert constants returned by this function into one of the constants supported for language filtering.

Language Constant Reference

For a complete list of language constants that are supported by InstallShield, as well as their numeric equivalents, refer to the file ISRTDefs.h, which is located in the Script\Include folder within the InstallShield Program Files folder.

For a list of supported languages and the appropriate InstallScript constants, see Language Support for InstallScript.

Note • The language that the setup is using to display prompts and messages is stored in the system variable SELECTED_LANGUAGE.

When the language selection dialog is used by a multilanguage installation to allow the end user to select the installation language during setup initialization, the language dialog will display the Windows equivalent names. Because these names are generated by Windows, they will be localized to the version of Windows under which the installation is being run.