Adding Files and Folders to a Project

InstallShield 2015 Express Edition

Use the files explorer in the Files view to add folders and files to your project.

To add files and folders using the files explorer:

1. In the View list under Specify Application Data, click Files.
2. In the Feature list, select the feature that you want to contain the file or folder that you are adding.
3. In the Destination computer’s folders pane, select the folder to which you want to add a folder or file.

INSTALLDIR is the most commonly used target location, because this is the default root directory for your application’s files.

If the predefined folder to which you adding the folder or file is not displayed in this pane, you can add it. To learn how, see Displaying Predefined Folders in the Files View.

Tip: If you are creating a 64-bit installation that can install to 64-bit file locations (such as the Program Files Folder instead of the Program Files Folder (x86) folder) on 64-bit target systems, select a predefined 64-bit folder (ProgramFiles64Folder, CommonFiles64Folder, or System64Folder) or one of its subfolders in the Files view.

Note that a 64-bit installation cannot be run on 32-bit target systems. To learn more, see Challenges of Supporting Both 32-Bit and 64-Bit Target Operating Systems.

4. To optionally add a custom folder that you want the installation to create on target systems, right-click the folder that you want to contain the new folder, and then click New Folder.
5. In the Source computer’s folders pane, navigate to the folder that contains the file that you want to add.
6. Drag the file from the Source computer’s files pane to the Destination computer’s files pane.

Tip: If you want to add an entire folder into a destination folder, drag the folder from the Source computer’s folders pane to the Destination computer’s folders pane.

Source Path Variables

When you add a file from a predefined folder, the Link To column in the Destination computer’s files pane displays a path variable, rather than an absolute path for most files. This provides more portability for your installation projects. If you move the project to another development machine, the path variables assure that you do not have to update the paths for your files.

Note: Files that have already been added to projects created with earlier versions of InstallShield display the absolute path in the Link To column. To display the path variable, you need to delete the file and re-add it to the project.

The supported default path variables are in the following table:

Supported Default Path Variables

Variable

Default Path

<CommonFilesFolder>

C:\Program Files\Common Files

<ISProductFolder>

C:\Program Files\InstallShield\2015

<ISProjectDataFolder>

C:\InstallShield 2015 Projects\Your Project Name

where Your Project Name is the name of your project—minus the file extension

<ISProjectFolder>

C:\InstallShield 2015 Projects

<ISRedistPlatformDependentExpressFolder>

C:\Program Files\InstallShield\2015\Redist\Language Independent\i386 Express

<ISRedistPlatformDependentFolder>

C:\Program Files\InstallShield\2015\Redist\Language Independent\i386

<ProgramFilesFolder>

C:\Program Files

<SystemFolder>

C:\WINDOWS\system32

<VSSolutionFolder>

Varies. This variable references a higher-level base directory. This support enables you to have in your InstallShield projects static links to files in sibling projects that are within the Visual Studio solution folder. To learn more, see Using the VSSolutionFolder Path Variable with Visual Studio Solutions.

<WindowsFolder>

C:\WINDOWS

See Also