Adding An Action To A Script; Editing Scripts - Symantec WISESCRIPT EDITOR 7.0 SP2 - FOR WISE INSTALLATION EXPRESS V1.0 Installation Manual

Hide thumbs Also See for WISESCRIPT EDITOR 7.0 SP2 - FOR WISE INSTALLATION EXPRESS V1.0:
Table of Contents

Advertisement

Adding an Action to a Script

Editing Scripts

WiseScript Editor Reference
VBScripts
VBScripts are added to an installation with an Execute VBScript action.
See
Execute VBScript
on page 78.
VBScripts can be included either in the main installation script or in include scripts. At
run time, VBScripts are run when the Execute VBScript action that references them is
encountered. For each Execute VBScript action in a WiseScript, a new tab appears at the
bottom of the Installation Script pane. When you click this tab, a VBScript window
appears.
See
Editing a VBScript
on page 79.
By adding VBScripts, you can greatly expand the functionality of WiseScripts because
you can use all the scripting capabilities of VBScript (example: arrays and subfunctions).
Adding VBScripts can also save you time because you can use scripts that others have
created.
in Script Editor, do any of the following:
From the Actions list in the left pane, drag an action onto a line in the Installation
Script list in the right pane. The new action appears above the line that is
highlighted when you drop the action.
Click in the script and double-click the action in the Actions list to place the new
action above the line you clicked.
Click in the script and start typing the first few letters of the action name. As you
type, the current line becomes a drop-down list with all the action names, and the
action that most closely matches the letters you typed is the current item in the list.
When the action you want is the current item in the list, press Enter.
When you add an action, a dialog box appears that lets you set the parameters for the
action unless it does not require parameters. When you add a Custom Dialog or Custom
Billboard action, the appropriate editing environment opens.
Some actions come in pairs. (Example: When you add an If action, you must also add an
End action at the end of the condition block.) Script Editor indents actions inside these
pairs.
Use the same methods to add an action to a VBScript.
See
VBScript Actions
on page 80.
To edit a WiseScript in Script Editor, use the commands on the Edit menu, the
commands on the right-click menu, or the tools on the toolbar. You can edit only one
script line at a time, but you can cut, copy, or paste several lines at one time.
To edit an include script, select it by clicking its tab. Changes that you make to an
include script are saved when you save the project.
To edit a VBScript, see
Editing a VBScript
on page 79.
Using Script Editor
26

Advertisement

Table of Contents
loading

Table of Contents