InternetShortcut element (Util extension)
Creates a shortcut to a URL.
Attributes
Directory
stringIdentifier reference to Directory element where shortcut is to be created. This attribute’s value defaults to the parent Component directory.
IconFile
stringIcon file that should be displayed. Note that this is a formatted field, so you can use [#fileId] syntax to refer to a file being installed (using the file: protocol).
IconIndex
wxs:IntegerIndex of the icon being referenced.
Id
stringUnique identifier in your installation package for this Internet shortcut.
Name
string requiredThe name of the shortcut file, which is visible to the user. (The .lnk extension is added automatically and by default, is not shown to the user.)
Target
string requiredURL that should be opened when the user selects the shortcut. Windows opens the URL in the appropriate handler for the protocol specified in the URL. Note that this is a formatted field, so you can use [#fileId] syntax to refer to a file being installed (using the file: protocol).
Type
Which type of shortcut should be created. This attribute’s value must be one of the following:
- url: Creates .url files using IUniformResourceLocatorW.
- link: Creates .lnk files using IShellLinkW (default).