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.LocateComponent
OverviewExamples
table MSI.LocateComponent ( string ComponentGUID )
De s cr ip t ion
Calls the MsiLocateComponent function to get the full path to an installed component without a product code. This function attempts to determine the product using MsiGetProductCode, but is not guaranteed to find the correct product for the caller. The MSI.GetComponentPath action should always be called when possible.
P arame t er s
ComponentGUID
(string) The identifier (GUID) of the component to be located. This string must be an identifier string enclosed in curly braces, for example: "{1638E94C-DA3C-44BD-88FB-5CC76B59BE46}".
Re t u r n s
(table) Returns nil if the call fails or a table if successful with the following indexes: