MSI.GetLanguage

number MSI.GetLanguage ( 

number hInstall )

Description

Calls the MsiGetLanguage function that returns the numeric language of the installation that is currently running.

Parameters

hInstall

(number) The handle to the installation.

Note:  _hInstall is the default for this parameter. See Global Variables for more information.

Returns

(number)  The LANGID of the install. 0 is returned if an installation is not running, and -1 is returned if an invalid handle is supplied. You can use Application.GetLastError to determine whether this action failed, and why.

See also:  Related Actions