WiseScript Package Editor Reference
53
WiseScript Actions
Change SVS Layer GUID
This SVS script action changes a layer’s GUID.
Example: You can use this action to create a copy of a layer that is seen by SVS as a
different layer. This is similar to changing the ProductCode and PackageCode of an .MSI
file. To create a copy of a layer, create a script that imports an archive file, changes the
layer’s GUID, and then exports a copy of the original archive file.
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 66 and
Find SVS Layer GUID
on page 85.
z
New Layer GUID
Enter a new GUID for the layer or a variable that represents the new GUID. If you
enter a new GUID, do not include the { } brackets.
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.
See also:
About SVS Script Actions
on page 40
Check Configuration
This action tests the hardware configuration, operating system, and other characteristics
of the destination computer. As a result of this check, the action can display a message,
halt the installation after displaying a message, or start a conditional block.
When a WiseScript is called by a Windows Installer installation, you can also check
graphics by using the System Requirements page in Windows Installer Editor.
To complete the dialog box
z
If System
Use the drop-down lists to build a statement of what to check for.
Note
When you check for an operating system, this action looks for the minimum
operating system of the type for which you’re checking. Example: If you check for
Windows XP, this action returns TRUE if Windows XP or later is running.
z
Action
Occurs when the statement above is true. All options below display the message
described in Title and Message Text below, unless Message Text is blank.