MSI.OpenPackage

number MSI.OpenPackage ( 

string PackagePath )

Description

Calls the MsiOpenPackage function to open a package for use with the actions that access the product database. You must call the MSI.CloseHandle action with the handle when it is no longer needed.

Parameters

PackagePath

(string) The full path to the package whose handle you want.

Returns

(number) The handle to the MSI package. If this action fails, nil is returned. You can use Application.GetLastError to determine whether this action failed, and why.

See also:  Related Actions