OverviewExamples
table MSI.GetShortcutTarget ( |
Calls the MsiGetShortcutTarget function to examine a shortcut and get its product, feature name, and component if available.
(string) The full path to the shortcut to examine.
(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.
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