Get Name/Serial Number
WiseScript Package Editor Reference
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.
See also:
Dialogs
on page 48
WiseScript Actions
88
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