WiseScript Editor Reference 66
WiseScript Actions
Custom Dialog
Use this action to create your own dialog box or dialog box set. See About Dialog Boxes
on page 119. To add a new dialog box within a wizard loop, see Adding a Dialog Box to
the Installation on page 120.
For details on the Dialog Box Properties dialog box, see Setting Dialog Box Properties on
page 120.
For details on sample scripts that use this action, see ScriptHelp.htm in the Samples
subdirectory of this product’s installation directory.
Deactivate SVS Layer
This SVS script action deactivates a virtual software layer.
To complete the dialog box
z Layer GUID
Enter the layer’s GUID (globally unique identifier) or a variable that represents the
layer’s GUID. If you enter the layer’s GUID, do not include the { } brackets.
For information on creating a variable for a layer’s GUID, see Create SVS Layer on
page 65 and Find SVS Layer GUID on page 84.
z Return variable
(Optional.) Enter a name for the return variable. When this script action runs
successfully, either 0 or 1 is placed in this variable.
z Force running processes to terminate
(Optional) Mark this to force all processes that are associated with the layer to
terminate when the layer is deactivated.
See also:
About SVS Script Actions on page 39
Delete File from SVS Layer
This SVS script action deletes a file from a virtual software layer. This adds the file to the
delete entries list so that it doesn’t appear when the layer is activated. If you reset the
layer, the file is restored because the deletion entry is in the writeable sublayer of the
delete entries.
Note
Use this action on a deactivated SVS layer only.
To complete the dialog box
z Layer GUID
Enter the layer’s GUID (globally unique identifier) or a variable that represents the
layer’s GUID. If you enter the layer’s GUID, do not include the { } brackets.
For information on creating a variable for a layer’s GUID, see Create SVS Layer on
page 65 and Find SVS Layer GUID on page 84.