Windows Installer Editor Reference
151
Assembling an Installation
File in the installation
Mark this to have the shortcut open a file in the installation.
Advertised
This is marked by default, which means this shortcut appears on the destination
computer regardless of whether its target is installed or advertised. When the
end user opens an advertised shortcut, installation of the target .EXE file is
started. If you clear this check box, the shortcut appears only if its target is
installed, but not if its target is advertised.
Note
If you designate a shortcut as advertised, and the shortcut’s target is deleted,
selecting that shortcut performs self-repair. Self-repair is not performed for
non-advertised shortcuts.
Command Line
Mark this to have the shortcut execute a command-line statement. Use this
option to open a file that’s not part of the installation, but only if you’re sure the
file exists on the destination computer.
Command Line
Enter the entire command-line statement, including arguments and other
command-line options. Enclose the statement in quotation marks if it
contains spaces.
See
Editing a Shortcut Configuration
on page 152.
Shortcut Name
Enter a name for the shortcut.
3. Click Next.
If you created a shortcut for a file in the installation, the Shortcut File Selection
dialog box appears.
4. Select the installation file to create a shortcut for and click Next.
Note
Files added under the Duplicate Files icon in the Features or Components tabs of
Setup Editor do not appear because you cannot add shortcuts for duplicate files.
The Shortcut Destination Directory dialog box appears.
5. Specify a directory to contain the shortcut.
The predefined directories on this dialog box represent standard system directories
on the destination computer, regardless of their actual names. The most common
location for application shortcuts is the Start menu’s Programs directory, which is
selected by default. To put the shortcut in a new directory, click New Folder to create
it.
6. Click Finish.
The Shortcut Details dialog box appears, where you can specify further details for
the shortcut. When the end user installs your application, this shortcut will appear in
the location you specified.
See
Editing a Shortcut Configuration
on page 152.
The shortcut appears. To edit it, double-click its name. To delete it, use the right-click
menu.