09.12.2012 Views

InstallShield 2012 Spring Express Edition User Guide

InstallShield 2012 Spring Express Edition User Guide

InstallShield 2012 Spring Express Edition User Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Table 24-20: Appearance Settings (cont.)<br />

Setting Description<br />

Behavior<br />

Chapter 24: View Reference<br />

Configure the Target System View<br />

Icon To specify the icon that you want to be displayed for the shortcut, use the following<br />

settings:<br />

• Icon—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<br />

resource. <strong>InstallShield</strong> lists the icon path and index in the Icon setting if you do<br />

either of the following: you select a file by clicking the ellipsis button (...) in this<br />

setting and browsing for it, or you manually enter a path and file name in the Icon<br />

File setting.<br />

• Icon File—If you want to manually specify the path and name of the file that<br />

contains the icon, enter it.<br />

• Icon Index—If the icon file that you specify contains more than one icon resource,<br />

enter the index in this setting.<br />

A nonnegative integer refers to the order of the icon resources in the executable<br />

file. For example, 0 refers to the first icon in the file, 1 refers to the second icon,<br />

and 2 refers to the third icon.<br />

Use a negative number to refer to a specific resource ID. For example, the icon<br />

index -12 points to the icon with a resource ID of 12.<br />

Use a shortcut’s Behavior settings to specify details such as the target and keyboard shortcut.<br />

Table 24-21: Behavior Settings<br />

Setting Description<br />

Target Enter the path to the file on the target system that should be launched when end users<br />

launch the shortcut. Use Windows Installer directory properties—for example,<br />

[INSTALLDIR]File.exe—instead of hard-coded directory paths. As an alternative to<br />

manually entering a value, you can click the ellipsis button (...) to browse to the shortcut<br />

target.<br />

Arguments Enter the command-line arguments for the shortcut. The arguments are added to the<br />

Target value on the shortcut’s Properties dialog box on the target system. These<br />

arguments work in the same way as any other command-line arguments. For example,<br />

you can link a file to an executable file or cause an executable file to run silently by<br />

passing command-line arguments.<br />

Note: Verify that the syntax is correct because <strong>InstallShield</strong> does not do this.<br />

Tip: Use %1 in the argument for the selected file name. For example, if the end user<br />

right-clicks the file C:\File.ext and -p %1 is the argument for this shortcut, the<br />

command-line argument becomes -p C:\File.ext. In some cases, it is necessary to<br />

enclose the %1 argument in quotation marks—as in "%1"—to correctly handle file<br />

names that contain spaces.<br />

<strong>InstallShield</strong> <strong>2012</strong> <strong>Spring</strong> <strong>Express</strong> <strong>Edition</strong> <strong>User</strong> <strong>Guide</strong> ISE-1900-UG00 537

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

Saved successfully!

Ooh no, something went wrong!