WiseScript Package Editor Reference
26
Creating WiseScript Installations
z
Specify a manifest file
To embed a specified manifest file in the .EXE instead of the default manifest, select
this option and specify a manifest file that is in XML format.
For details on manifests and UAC, search for “Application Manifest” and “User Account
Control” in the MSDN Library (
msdn.microsoft.com/library/
).
CAB Files
¾
WiseScript Package Editor only
Use the CAB Files page to place the compiled .EXE into a cabinet (.CAB) file for
automatic download and installation from a Web page. For information about .CAB files,
search for “cabinet files” and “internet component download” on the Microsoft Web site
(
www.microsoft.com
).
Select Installation Expert > CAB Files page and complete the page:
z
Place installation .EXE in .CAB File
Mark this to generate a SETUP.INF file that contains instructions for calling the
Microsoft CAB wizard and for copying files to the .CAB file. The SETUP.INF file is part
of the .CAB file, not in the directory structure.
z
Optional SETUP.INF Contents
(Optional) Enter or paste additional .INF file instructions for running the application.
Compiler Variables
Use the Compiler Variables page to set compiler variables that change the WiseScript
during compile. You can use compiler variables to include or exclude portions of script
from the compiled .EXE or to build a debug version of the WiseScript.
You set the default value of compiler variables on the Compiler Variables page, and then
you select the compiler variables in the Compiler Variable If action in Script Editor.
Compiler variables are surrounded by % characters in the script. (Example:
%_DEBUG_%)
You can change the value of compiler variables when you compile.
The sample script Compvar.wse uses compiler variables. For details on sample scripts,
see ScriptHelp.htm in the Samples subdirectory of this product’s installation directory.
To add a compiler variable
1. Do one of the following:
(WiseScript Package Editor) Select Installation Expert > Compiler Variables
page.
(WiseScript Editor) Select Project Settings > Compiler Variables page.
2. Click Add.
The Compiler Variable Settings dialog box appears.
3. Complete the dialog box: