MSI.GetActiveDatabase

number MSI.GetActiveDatabase ( 

number hInstall )

Description

Calls the MsiGetActiveDatabase function that returns the active database for the installation.

Parameters

hInstall

(number) The handle to the install.

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

Returns

(number)  The handle to the database that is in use by the installation. If the function fails 0 is returned. You can use Application.GetLastError to determine whether this action failed, and why.

See also:  Related Actions