|

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


image

image

MSI.OpenProduct

OverviewExamples

number MSI.OpenProduct ( string ProductCode )


De s cr ip t ion


Calls the MsiOpenProduct function to open a product 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


ProductCode


(string) The "product code" of the product you want to open. This string must be an identifier string enclosed in curly braces, for example: "{78B82B0B-9AD9-40C0-B994-F72C21B52723}".


Re t u r n s


(number) The handle to the MSI product. If this action fails, nil is returned. You can use

Application.GetLastError to determine whether this action failed, and why.


|