Editing A Vbscript - 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

Editing a VBScript

WiseScript Editor Reference
VBScript (example: arrays and subfunctions). Adding VBScripts can also save you time
because you can use scripts that others have created.
For each VBScript action in a script, a new tab appears at the bottom of the Installation
Script pane. When you click this tab, the VBScript window appears. In this window, you
can create and edit the VBScript. The window is similar to a WiseScript window, but has
functionality that is appropriate only for a VBScript.
See
Editing a VBScript
on page 79.
The WiseScript and VBScript interact so you can set a variable in either script and then
use that variable in the other script. The VBScript window also has an action to facilitate
the calling of COM objects.
See
VBScript Actions
on page 80.
Warning
You should be familiar with VBScript to use this feature.
To complete the dialog box
VB Script Path
Specify the full path to a .VBS file including the file name. To create a new .VBS file,
specify its full path including the file name and click Yes when prompted to create a
new file. You can use compiler variables in the path.
Command Line
If the VBscript requires a command line, enter it here. A command line is probably
required if:
The VBScript required a command line when it ran stand-alone.
The WScript object with the Arguments property (WScript.Arguments) is in the
VBScript.
You can use WiseScript variables in the command line. The sample script
MakeWebDir.wse uses WiseScript variables in the command line to let the end user
specify the name and location of a virtual directory that the script creates. For details on
sample scripts, see ScriptHelp.htm in the Samples subdirectory of this product's
installation directory.
When you use the Execute VBScript action in a WiseScript, a new tab appears at the
bottom of the Installation Script pane. When you click this tab, the VBScript window
appears. In this window, you can create and edit the VBScript. The window is similar to
a WiseScript window, but has functionality that is appropriate only for a VBScript.
To edit a VBScript in Script Editor, use the following:
Actions in the Actions pane.
See
VBScript Actions
Buttons and drop-down list at the top of the Installation Script pane.
Right-click menu.
Any options on the Edit menu that are enabled.
on page 80.
WiseScript Actions
79

Advertisement

Table of Contents
loading

Table of Contents