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.

Task To add a license file to your installation project:<br />

Chapter 10: Customizing Installation Behavior<br />

Using Setup Files<br />

1. In the View List under Define Setup Requirements and Actions, click Setup Files.<br />

2. In the Support Files explorer, click the item that should contain the license file. For example, you<br />

can add the license file to the English (United States) item or an item for a different language if your<br />

project is in a language other than English.<br />

3. Right-click anywhere in the Files pane and then click Insert Files. The Open dialog box opens.<br />

4. Browse to the license file that you want to include. To select multiple files, hold down the CTRL key<br />

while clicking files.<br />

5. Click OK.<br />

<strong>InstallShield</strong> adds the license file to the Files pane.<br />

Accessing a Setup File During Installation<br />

To access a particular setup file during installation, you can query for the value of the support directory<br />

(SUPPORTDIR) and then append the file name to the SUPPORTDIR value to get the complete path of<br />

the file. The following VBScript, when run as a custom action, provides the location for SUPPORTDIR:<br />

MsgBox (Session.Property("SUPPORTDIR"))<br />

Sorting Support Files<br />

You can sort the files and folders in the Files pane of the Setup Files view.<br />

Task To sort files and folders in the Setup Files view:<br />

Disk1 Files<br />

1. In the Support Files explorer, click the item that contains the support files and folders that you<br />

would like to sort.<br />

2. In the Files pane, click the heading of a column to sort by that column.<br />

The Disk1 feature in the Setup Files view enables you to add files and folders on Disk1 of the installation<br />

media; these files and folders are not automatically installed to the target system when your installation<br />

is run. You can link to the installation media from your application or from the installation program.<br />

For example, you might include a large redistributable file with your application that you want end users<br />

to be able to access, but do not want to include in the application installation. This file should be placed<br />

in the Disk1 folder.<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 235

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

Saved successfully!

Ooh no, something went wrong!