ResultVariable
When adding an action with the action editor, you can use this field to specify a variable that the return value will be stored in.
See also: Related Actions
MSI.OpenPackage
OverviewExamples
number MSI.OpenPackage ( string PackagePath )
De s cr ip t ion
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.
P arame t er s
PackagePath
(string) The full path to the package whose handle you want.
Re t u r n s
(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.