WiseScript Package Editor Reference
158
WiseScript Actions
To complete the dialog box
z
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.
z
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
on page 159.
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.
Editing a VBScript
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:
z
Actions in the Actions pane.
See
VBScript Actions
on page 159.
z
Buttons and drop-down list at the top of the Installation Script pane.
z
Right-click menu.
z
Any options on the Edit menu that are enabled.
To debug the VBScript, see
Debugging a VBScript
on page 159.
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
Click this button and select a method from the drop-
down list to display one method at a time.
Full Module View
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 PACKAGE EDITOR 8.0
Страница 1: ...WiseScript Package Editor Reference ...