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.EnumFeatures
OverviewExamples
table MSI.EnumFeatures ( string ProductCode )
De s cr ip t ion
Calls the MsiEnumFeatures function to get an enumerated table of the published features for a given product.
P arame t er s
ProductCode
(string) The "product code" of the product whose features you want to enumerate. This string must be an identifier string enclosed in curly braces, for example: "{78B82B0B-9AD9-40C0-B994- F72C21B52723}".
Re t u r n s
(table) Returns a numerically indexed table of tables containing the indexes below. If this action fails, or no features are found, nil is returned.
KEY |
TYPE DESCRIPTION |
|
Feature |
string |
The feature ID. |
ParentFeature |
string |
The parent feature ID. |
You can use Application.GetLastError to determine whether this action failed, and why.