Symantec WISESCRIPT PACKAGE EDITOR 7.0 SP2 - FOR WISE INSTALLATION STUDIO V1.0 Installation Manual page 110

Hide thumbs Also See for WISESCRIPT PACKAGE EDITOR 7.0 SP2 - FOR WISE INSTALLATION STUDIO V1.0:
Table of Contents

Advertisement

WiseScript Package Editor Reference
Variable Name
Enter _DEBUG_
Default Value
Enter NO
Description
Enter "Compile debug version of this installation?"
Value List
Enter YES on the first line and NO on the second line.
Data Entry Type
Select List of values (single-select).
Do Not Prompt for Value
Make sure this is cleared.
4.
Click OK.
5.
On the Compiler Variables page, mark Compiling from Within Wise.
6.
Select Script Editor and add the following actions with their parameters immediately
below the script line that sets the value of MAINDIR (Set Variable MAINDIR to
Application):
Compiler Variable If
In If Variable, enter _DEBUG_.
Select Equals from the drop-down list.
In The Value, enter YES.
Display Message
In Message Title, enter Main Directory.
In Message Text enter The Main Directory is %MAINDIR%.
Compiler Variable End
The following lines should appear in your script:
Set Variable MAINDIR to Application
If Compiler Variable _DEBUG_ Equals "YES" then
Display Message "Main Directory"
Compiler Variable End
7.
Click Test to test your debug version.
A message asks if you want to compile debug version.
8.
Mark YES and click Next.
Because the Display Message dialog box is compiled into the installation .EXE, it appears
with the current value of MAINDIR when the installation runs. If you selected NO, the
Display Message would not be compiled into the installation .EXE.
You can add the Compiler Variable If blocks anywhere to insert Display Message script
lines to help with your debugging. You can use any type of script action inside the
Compiler Variable If block.
See also:
Using Script Editor
36

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the WISESCRIPT PACKAGE EDITOR 7.0 SP2 - FOR WISE INSTALLATION STUDIO V1.0 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Wisescript package editor 7.0 sp2

Table of Contents