MSI Factory 2.3

MSI.GetShortcutTarget

MSI.GetShortcutTarget

Previous topic Next topic  

MSI.GetShortcutTarget

Previous topic Next topic  

OverviewExamples

table MSI.GetShortcutTarget (

string ShortcutTarget )

Description

Calls the MsiGetShortcutTarget function to examine a shortcut and get its product, feature name, and component if available.

Parameters

ShortcutTarget

(string) The full path to the shortcut to examine.

Returns

(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.

See also: Related Actions


Learn More: Indigo Rose Software - MSI Factory - Buy Now - Contact Us