WiseScript Package Editor Reference
227
Creating Custom Dialog Boxes
page 216. You can link to another dialog box, link back to the master dialog box, or
return to the installation script.
To switch between dialog boxes in the set, select the dialog boxes from the Window
menu. (You can also delete the current dialog box using the Delete Dialog command
on this menu.)
6. When you finish creating the dialog box set, select File menu > Save Changes and
exit.
All the dialog boxes in the set are saved simultaneously.
Configuring Dialog Box Set Properties
On the Dialog Set Properties dialog box, you name the dialog box set and specify the
variable on which to base the display of this set.
1. Open a dialog box from the set in the Custom Dialog Editor.
See
Editing Dialog Boxes
on page 203.
2. Select Edit menu > Dialog Set Properties.
The Dialog Set Properties dialog box appears.
3. Complete the dialog box:
Dialog Set Name
Enter the name of this dialog box set. If this dialog box set is comprised of only
one dialog box, then this is usually the same name as the dialog box. The name
must be unique within a wizard loop. This value is displayed in the installation
script.
Display Variable
The display variable determines which dialog box in the wizard loop to present
to the end user the next time the wizard loop is executed. When this dialog box
is presented to the end user, the display variable is set to this dialog box set
name. If this field is not blank, the dialog box is only displayed if the variable
holds the same value as the Dialog Set Name field.
Called Dialogs Float
If you are displaying a dialog box outside a wizard loop, mark this check box to
have called dialog boxes appear in front of the calling dialog box. (Example:
Suppose you display a Select Destination Directory dialog box that contains a
Browse button. If this check box is marked, and the end user clicks Browse, the
Browse dialog box appears in front of the Select Destination Directory dialog
box instead of replacing it.) This behavior is built into the wizard loop dialog
boxes by default.
4. Click OK.
Creating a Custom Dialog Box Script
Each dialog box can include an attached WiseScript that lets you perform script actions
in response to events inside a dialog box. You create this WiseScript in the Dialog Script
Editor, which is a scaled-down version of Script Editor. It contains only those script
actions that can be used in dialog box scripts. It lets you script dialog boxes to handle
mouse movements, gather user input, and branch according to end user choices.
Содержание WISESCRIPT PACKAGE EDITOR 8.0
Страница 1: ...WiseScript Package Editor Reference ...