Get Environment Variable; Get Name/Serial Number - Symantec WISESCRIPT PACKAGE EDITOR 8.0 - REFERENCE FOR WISE PACKAGE STUDIO V1.0 Reference

Table of Contents

Advertisement

Get Environment Variable

Get Name/Serial Number

WiseScript Package Editor Reference
This action puts the value of a Windows environment variable into a WiseScript variable.
To complete the dialog box
Env. Variable
Enter a Windows environment variable.
Variable Name
Enter a variable to store the value of the environment variable.
Default Value
(Optional) Enter the value to store in the variable if the environment variable is not
found.
Remove File Name
Mark this to remove a file name from the end of a returned path, leaving only the
directory name. This operation is not performed on the Default Value.
To run a batch file or other application in a DOS window, use Get Environment Variable
to put the value of ComSpec (path to command.com) into a variable (example: put it in
%COMMAND%). Then use the Execute Program action to call command.com by entering
%COMMAND% in the EXE Path field. Specify the file to open in the Command Line
field. Add the /c command-line option to cause the command-line window to close when
your program finishes execution.
This action displays a dialog box that requests the end user's name, company name,
and a product serial number.
It provides backward compatibility with older WiseScripts. In new scripts, use the
Branding / Registration dialog box on the Dialogs page (WiseScript Package Editor only).
To complete the dialog box
Title
Enter the title for the dialog box.
Description
Enter text to explain the dialog box to the end user.
Name Prompt
Enter text to appear next to the Name field.
Company
Enter text to appear next to the Company field.
Serial Number
Enter text to appear next to the Serial Number field.
Variable
In the three Variable fields, enter the variables to store the Name, Company, and
Serial Number.
Confirm Text
(Optional) Enter text to be displayed in a separate dialog box to confirm
registration. If this is blank, no confirmation dialog box appears.
WiseScript Actions
165

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Wisescript package editor 8.0

Table of Contents