09.12.2012 Views

InstallShield 2012 Express Edition User Guide - Knowledge Base ...

InstallShield 2012 Express Edition User Guide - Knowledge Base ...

InstallShield 2012 Express Edition User Guide - Knowledge Base ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Task To specify the icon for a shortcut:<br />

Chapter 9: Configuring the Target System<br />

Creating Shortcuts and Program Folders<br />

1. In the View List under Configuring the Target System, click Shortcuts/Folders.<br />

2. In the Shortcuts explorer, click the shortcut whose icon you want to specify. The shortcut’s settings<br />

are displayed in the right pane.<br />

3. In the Icon File setting, specify the file that contains the icon for the shortcut that you are creating.<br />

You must specify an .ico file or the executable file (.dll or .exe) that contains the icon resource. You<br />

can either type the fully qualified path to the file that contains the icon, or click the ellipsis (...)<br />

button to browse to it.<br />

4. If the icon file that you specify contains more than one icon resource, enter the index in the Icon<br />

Index setting.<br />

A nonnegative integer refers to the order of the icon resources in the executable file. For example, 0<br />

refers to the first icon in the file, 1 refers to the second icon, and 2 refers to the third icon.<br />

<strong>InstallShield</strong> changes the icon that is displayed for the shortcut in the Shortcuts explorer to the one that<br />

you specified, unless the shortcut is for a pre-existing file on the target system.<br />

If the shortcut is for a pre-existing file, the icon file is not known until run time. Therefore, <strong>InstallShield</strong><br />

shows the following icon for each shortcut in the Shortcuts explorer, instead of displaying the icon that is<br />

used at run time on target systems.<br />

<strong>InstallShield</strong> also uses this icon for a shortcut in the Shortcuts explorer if the file that is selected in the<br />

Icon File setting does not contain an icon.<br />

Project: Since Windows Installer requires a separate icon when the feature is advertised, <strong>InstallShield</strong> extracts the icon<br />

from any executable file that you specify.<br />

Tip: You can also right-click the icon in the Shortcuts/Folders view and then click Change Shortcut icon to specify a<br />

different shortcut icon. <strong>InstallShield</strong> updates the value in the Icon File and Icon Index settings with the values that you<br />

specify using this method.<br />

Basing a Shortcut on the Source Media<br />

Task To base a feature’s shortcut on the source media:<br />

1. In the View List under Organize Your Setup, click Features.<br />

2. In the Features explorer, click the feature.<br />

3. Set the Remote Installation property to Favor Source.<br />

<strong>InstallShield</strong> <strong>2012</strong> <strong>Express</strong> <strong>Edition</strong> <strong>User</strong> <strong>Guide</strong> ISE-1800-UG01 201

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!