WiX Toolset

InternetShortcut Element (Util Extension)

Description
Creates a shortcut to a URL.
Windows Installer references
None
Parents
Component
Inner Text
None
Children
None
Attributes
Name Type Description Required
Id String Unique identifier in your installation package for this Internet shortcut. Yes
Directory String Identifier reference to Directory element where shortcut is to be created. This attribute's value defaults to the parent Component directory.  
IconFile String Icon 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 Integer Index of the icon being referenced  
Name String The 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.) Yes
Target String URL 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). Yes
Type Enumeration 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).
 
How Tos and Examples
See Also
Util Schema