MSI.GetSummaryInformation

number MSI.GetSummaryInformation ( 

number hDatabase,

string DatabasePath,

number UpdateCount )

Description

Calls the MsiGetSummaryInformation function that obtains a handle to the _SummaryInformation stream for an installer database. This function returns a handle that should be closed using MSI.CloseHandle.

Parameters

hDatabase

(number) The handle to the database.

Note: You can get the database handle by calling MSI.GetActiveDatabase

DatabasePath

(string) The path to the database.

UpdateCount

(number) The maximum number of updated values.

Note: If the database specified by the MSI.GetSummaryInformation function is not open, you must specify 0 for hDatabase and specify the path to the database in DatabasePath. If the database is open, you must set DatabasePath to 0.

Returns

(number)  The handle to the summary information stream. You can use Application.GetLastError to determine whether this action failed, and why. You can also retrieve extended error information using the MSI.GetLastErrorRecord action.

See also:  Related Actions