Inserting and Importing Script Files
        InstallShield 2019
        
        Project • This information applies to the following project types: 
        
        
        
        
        
        
        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. | 
        
        
        Importing Script Files
        To import a script file:
        
            
            
            
            
                |  | 1. | In the View List under Behavior and Logic, click InstallScript. | 
        
        
        
            
            
            
            
                |  | 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. | 
        
        
        See Also
        Debugging Scripts
        
        Using a Repository to Share Project Elements
        
        Working with the Script Editor Pane in Various Views
        
        
            
        
        
        
        Open topic with navigation