WiseScript Package Editor Reference
113
Using Script Editor
System Configuration
After files are installed, the destination computer’s configuration files (.INI files, registry,
Start menu, etc.) are updated so that the new application works correctly. The end user
might then be prompted to restart their computer.
About Components
¾
WiseScript Package Editor only
When an end user selects to install one or more optional components, a letter
corresponding to each component is placed in a variable named COMPONENTS.
Selecting the first component places an A in the variable, the second adds a B, and so
forth. Up to 26 components can be added. The wizard dialog boxes that are created by
Installation Expert place the correct values in the COMPONENTS variable. You also can
use the Select Components script action or a custom dialog box to accomplish the same
result.
In the installation script, use condition statements of the form “If COMPONENTS
contains ‘A’” to determine which files are installed when each component is selected.
Script Editor scans the script, looking for these conditions to determine how much disk
space is required by each optional component. You must use the variable COMPONENTS
and the proper condition format for this feature to work.
The sample script Subcomp.wse is an example of a components-based installation
script. For details on sample scripts, see ScriptHelp.htm in the Samples subdirectory of
this product’s installation directory.
See also:
Basic Scripting Concepts
on page 109