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

Create successful ePaper yourself

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

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

Including Files and Folders<br />

• You cannot set any properties such as Shared, Permanent, or Never Overwrite for a dynamically<br />

linked file.<br />

• You cannot use the .NET installer class functionality for a dynamically linked file.<br />

• You cannot specify that COM interop should be enabled for a dynamically linked file.<br />

• You cannot change default file settings (such as Read-Only or Hidden).<br />

• You cannot set file permissions for a dynamically linked file.<br />

• You cannot create shortcuts to a dynamically linked file.<br />

• You cannot perform a static or dynamic scan of a dynamically linked file.<br />

• You cannot launch a dynamically linked file from the Setup Complete Success end-user dialog.<br />

Any file that you add directly (not through dynamic linking) to your project has an internal name<br />

(FileKey). When you create a custom action, a file extension, shortcut, or other type of item, it actually<br />

points to this internal name.<br />

When you add files to your project through dynamic links, the files are not physically added to the<br />

project. This means that these files do not have any FileKeys that can be associated with custom actions,<br />

file extensions, etc.<br />

Determining the Appropriate Component Creation Method for Dynamically<br />

Linked Files<br />

<strong>InstallShield</strong> provides two methods for creating components for dynamically linked files: the best<br />

practice method and the one-component-per-directory method. (A component is the smallest installable<br />

part of a product. The <strong>Express</strong> edition of <strong>InstallShield</strong> creates components for you automatically. For<br />

more information, see Installation Fundamentals.)<br />

Using the Best Practice Method<br />

When best practices for dynamic link creation are followed, <strong>InstallShield</strong> performs the following tasks at<br />

build time for all of the files that meet the include and exclude filter criteria of your dynamic link:<br />

• <strong>InstallShield</strong> creates a separate component for each portable executable (PE) file in the dynamically<br />

linked folder. Each PE file is the key file of its component.<br />

• <strong>InstallShield</strong> adds all non-PE files at the root level of the dynamic link to the component that<br />

contains the link.<br />

• If the dynamic link includes a subfolder, <strong>InstallShield</strong> creates a new component for all of the non-PE<br />

files in that subfolder. If the dynamic link includes more than one subfolder, <strong>InstallShield</strong> creates a<br />

separate component for all of the non-PE files in each subfolder.<br />

This is the default functionality for all new dynamic links.<br />

Tip: The File Extensions tab on the Options dialog box is where you specify which file types are PE files.<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 161

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

Saved successfully!

Ooh no, something went wrong!