InstallShield 2016
Project • The script editor is available in the following project types:
• | Basic MSI |
• | InstallScript |
• | InstallScript MSI |
• | InstallScript Object |
• | Merge Module |
• | Suite/Advanced UI |
The script editor displays the text of the selected InstallScript file. You can modify or edit the script using commands from the Edit and Tools menus.
The Script Toolbar in the Script Editor
Project • The script toolbar is available in the following project types:
• | InstallScript |
• | InstallScript MSI |
• | InstallScript Object |
Basic MSI and Merge Module projects use custom actions instead of event handlers to run InstallScript code; Suite/Advanced UI projects use actions instead of event handlers to run InstallScript code.
The script toolbar is displayed across the top of the script editor in the InstallScript view; it contains an event category list box, as well as an event list box. The script toolbar lets you paste installation event handler function blocks in your script files. Event handlers in your script files override the default actions that are associated with installation events. You can modify the event handler code to change the actions performed during the installation.
Event Categories (list box, on the left)
Select the category containing the installation event whose event handler function block you want to paste in a script file. Events in the selected category are displayed in the Events list box.
Events (list box, on the right)
Select the installation event whose event handler function block you want to paste in a script file. If you select a feature event, its event handler is pasted in FeatureEvents.rul. If this file does not exist in your project, selecting a feature event automatically creates the file. If you select some other type of installation event, its event handler is pasted in Setup.rul.
If you change the default feature event handler code in FeatureEvents.rul, you must put the following statement in Setup.rul to include your changes in the installation:
#include "FeatureEvents.rul"
See Also
Working with the Script Editor Pane in Various Views
Using Auto Completion when Writing Code in the Script Editors
Viewing Function Call Tips for an InstallScript Function in the Script Editor
Enabling or Disabling Automatic Indentation in the Script Editors
Showing or Hiding Line Numbering in the Script Editors
Enabling or Disabling Syntax Folding in the Script Editors
Keyboard Shortcuts for the Script Editors
InstallShield 2016 Help LibraryAugust 2016 |
Copyright Information | Flexera Software |