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

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

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

Adding Files Dynamically<br />

Task To dynamically add files to a folder in your installation:<br />

1. In the View List under Specify Application Data, click Files.<br />

2. In the Feature list, select the feature with which you want the files associated.<br />

Chapter 8: Organizing Files for Your Installation<br />

Including Files and Folders<br />

3. In the Destination computer’s folders pane, right-click the folder that should contain the<br />

dynamically linked files, and then click Dynamic File Linking. The Properties dialog box opens.<br />

Tip: If the folder that should contain the dynamically linked files does not already exist in the Destination<br />

computer’s folders pane, you must first create it. To learn how, see Adding Files and Folders with the Files Explorer.<br />

4. Click the File Linking tab.<br />

5. Define the dynamic link and click OK.<br />

Overwriting Files on the Target Machine<br />

In the Files view, you can specify the overwrite property of files in your installation. The Windows<br />

Installer service uses the overwrite property of each file to determine whether it should be replaced if a<br />

file in the installation already exists on the target system.<br />

Table 8-5: File Overwrite Rules<br />

File Overwrite Property Value Behavior on the Target Machine<br />

Windows Installer Versioning<br />

Rules (Recommended)<br />

If you select this option, Windows Installer versioning rules are used to determine<br />

whether a file that already exists on the target system should be replaced.<br />

Windows Installer enforces the following rules:<br />

• Versioned files—In all cases, the file with the highest version is maintained,<br />

even if the file already on the target machine has a higher version than the<br />

one being installed. Additionally, a file of any version is maintained over<br />

unversioned files.<br />

• File language—All other things being equal, the file that is the same<br />

language as the installation is maintained over different language versions of<br />

the file. The only exception to this rule applies to multiple language files. Files<br />

with multiple languages are maintained over single language versions of a<br />

file.<br />

• Date—If the modified date of a file already present on the target machine is<br />

later than the creation date of that file, the file is not overwritten. This rule<br />

protects user preference files from being wiped out during an upgrade or<br />

reinstallation.<br />

Never Overwrite If you select this option, the file—if it exists on the target system—is never<br />

overwritten, regardless of the file version.<br />

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

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

Saved successfully!

Ooh no, something went wrong!