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.GetShortcutTarget
OverviewExamples
table MSI.GetShortcutTarget ( string ShortcutTarget )
De s cr ip t ion
Calls the MsiGetShortcutTarget function to examine a shortcut and get its product, feature name, and component if available.
P arame t er s
ShortcutTarget
(string) The full path to the shortcut to examine.
Re t u r n s
(table) Returns a table indexed by the following values. If this action fails or an error occurs, nil is returned:
KEY TYPE DESCRIPTION
ProductCode |
string |
A GUID for the product code of the shortcut. |
FeatureId |
string |
The feature name of the shortcut. |
ComponentCode |
string |
A GUID of the component code. |
If the action fails, nil is returned. You can use Application.GetLastError to determine whether this action failed, and why.