Creating Shortcuts

InstallShield 2022 » InstallScript Project Tutorial

You create and modify shortcuts in the Shortcuts view. The properties of a shortcut include its display name, its target executable and arguments, and the icon it displays. Using the Project Assistant, you have already created a shortcut to Tutorial App in the end user’s Programs folder, under the Start menu.

In this step you create a shortcut on the end user’s desktop.

1. Go to the Shortcuts view.
2. Right-click the Desktop icon and select New Shortcut. The Browse for Shortcut Target dialog box opens.
3. In the dialog box, select Application Target Folder from the Look in drop-down menu and select Tutorial.exe from the files list.
4. Click Open to close the Browse for Shortcut Target dialog box.
5. Rename the shortcut icon to an internal name such as tutorial.

Next, set the following properties for the shortcut:

Shortcut Properties

Property

Value

Comment

Display Name

Tutorial App

InstallShield adds the display name to the project’s strings (and displays the string identifier in curly braces in the Display Name field) so that the name can be easily localized to other languages.

Target

<TARGETDIR>\Tutorial.exe

 

Icon File

<TARGETDIR>\Tutorial.exe

 

Icon Index

0

 

Working Directory

<TARGETDIR>

 

Tip:To create a shortcut to a file already located on the user’s machine, enter the path to the file—using system variables to represent the path to the file, when possible. For example, to launch a copy of Windows Notepad located in the user’s Windows or WinNT folder, enter the shortcut target as <WINDIR>\Notepad.exe.

Continue 

See Also