Chapter 6
Using Script Editor
About Script Editor
WiseScript Package Editor Reference
This chapter includes the following topics:
About Script Editor
on page 94
The Script Editor Window
Types of Scripts
on page 97
Adding an Action to a Script
Editing Scripts
on page 99
About User-Defined Actions
Using the Debug Commands
Basic Scripting Concepts
Note
This documentation covers both WiseScript Package Editor and WiseScript Editor.
WiseScript Editor contains the same scripting interface as WiseScript Package Editor, but
it does not contain the Installation Expert interface or other installation development
tools. Therefore, some of the information in this document does not apply to WiseScript
Editor.
All WiseScript products contain the Script Editor scripting environment. The Script Editor
scripting environment consolidates numerous lines of code into predefined script
actions. You don't need to memorize commands because Script Editor supports a point-
and-click method of scripting. The script you create is displayed in clear, English-like
statements. You compile the script, along with files and other resources, into an .EXE.
When the .EXE is run, the script runs, executing the actions that are specified in the
script.
In WiseScript Package Editor, every installation is driven by a script that specifies how to
display dialog boxes, edit the .INI files, add registry entries, and so on. The script
provides another way of looking at the installation you create in Installation Expert.
Script Editor lets you add advanced functionality to your installation and troubleshoot
your script with the built-in debugger.
(WiseScript Package Editor only) If you create a new installation by selecting Empty
Project on the New Installation File dialog box, Script Editor is populated with a default
script in which the basic elements of an installation are already configured. If you create
a new installation by selecting Blank Script on the New Installation File dialog box,
Script Editor is empty. If you start from a blank script and then try to switch to
Installation Expert, you see a warning that the script must be converted.
See
Switching Between Installation Expert and Script Editor
(WiseScript Package Editor only) Some lines in the script correspond to options on pages
in Installation Expert because those options generate script lines. (Example: On the
on page 95
on page 99
on page 101
on page 106
on page 109
on page 17.
94