Editing A Vbscript - Symantec WISESCRIPT PACKAGE EDITOR 8.0 - REFERENCE FOR WISE PACKAGE STUDIO V1.0 Reference

Table of Contents

Advertisement

Editing a VBScript

WiseScript Package Editor Reference
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.
Note
If a VBScript has a command line, you cannot debug the script from the VBScript
window.
See
Debugging a 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.
To debug the VBScript, see
Display Options
Use the buttons and drop-down list at the top of the Installation Script pane to display
different portions of the VBScript.
Event View
Full Module View
on page 159.
on page 159.
Debugging a VBScript
Click this button and select a method from the drop-
down list to display one method at a time.
Click this button to display the entire script. When you
select a method from the drop-down list, the script
opens to that method.
WiseScript Actions
on page 159.
158

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Wisescript package editor 8.0

Table of Contents