Command-Line Options; Wisescript Command-Line Options - Symantec WISESCRIPT EDITOR 7.0 SP2 - FOR WISE INSTALLATION EXPRESS V1.0 Installation Manual

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

Advertisement

Command-Line Options

WiseScript Command-Line Options

"product_installation_directory\Wise32.exe" /c /s "C:\Development\Application.wse"
WiseScript Editor Reference
You can set command-line options when you run WiseScript Editor, the installation
executable, and the uninstaller executable. These are especially useful for running an
installation as part of a batch file or other automated installation system.
If you compile from the command line, compile errors generate return codes. To see the
error message associated with the return code, run the compile directly from WiseScript
Editor. When compile errors occur, a dialog box appears during compile with a specific
error message.
You can apply the following command-line options to the WiseScript Editor executable
file, Wise32.exe. Command-line options let you compile as well as set properties.
/c file.wse
/c /s file.wse
/r
/u
/c /d_VAR_=value
/c /d=file.txt
Examples:
Compiling a .WSE file while defining a compiler variable named _PATH_:
"product_installation_directory\Wise32.exe" /d_PATH_=C:\Test /c
"C:\Development\Application.wse"
Compiling a .WSE file while setting compiler variables defined in a text file named
Compile.txt:
"product_installation_directory\Wise32.exe" /c /d=C:\Development\Compile.txt
"C:\Development\Application.wse"
Automated build process
You can use command-line options in conjunction with other processes to create an
automated build process.
1.
Enter the following command-line statement into a batch file or program that has
the ability to run command-line statements:
2.
Use Scheduled Tasks in Control Panel to schedule the running of the batch file.
Compiles the installation script.
Compiles the installation script silently. You can use this
option with the /d option.
Opens the application in SetupCapture mode.
Checks for updates on the Wise Web site.
Defines one compiler variable for this run only. Additional
compiler variables require additional /d switches. Do not put a
space between the /d and the compiler variable name.
Defines compiler variables from a text file for this run only.
The format for the text file is _VAR_=value, with one entry per
line. You can use the /s option with this option.
Quick Reference
166

Advertisement

Table of Contents
loading

Table of Contents