Inserting and Importing Script Files

InstallShield 2014

Project: This information applies to the following project types:

Basic MSI
DIM
InstallScript
InstallScript MSI
InstallScript Object
Merge Module

InstallShield enables you to reuse InstallScript files (.rul) and InstallScript header files (.h) in multiple projects. You can insert or import script files into a project through the InstallScript view:

Inserting a script file creates a link to the script file in its current location.
Importing a script file copies the script file to the folder containing the script files for your project. The script files that you import can be stored somewhere on your system, or they can be stored in a repository.

InstallShield supports all path variable types that you define in the Path Variables view for the location of these script files. However, it is important to be aware that a corresponding folder structure exists in your source code database so that your source code control software can resolve paths.

Inserting Script Files

To insert a script file:

1. In the View List under Behavior and Logic, click InstallScript.
2. In the InstallScript explorer, right-click Files and then click Insert Script Files. The Open dialog box opens.
3. Select the InstallScript file (.rul) or InstallScript header file (.h) that you want to insert.
4. Click Open.

Importing Script Files

To import a script file:

1. In the View List under Behavior and Logic, click InstallScript.
2. In the InstallScript explorer, right-click Files and then click Import Script Files. The Import InstallScript Files dialog box opens.
3. Do one of the following:
In the Repository Items box, click the InstallScript file (.rul) or InstallScript header file (.h) that you want to add to your project.
If the script file that you want to import is not stored in the repository, click the Browse button to select it.
4. Click OK.

See Also