WiseScript Editor Reference
93
WiseScript Actions
z
Ignore White Space
Mark this to ignore spaces and tab characters.
z
Case Sensitive
Mark this to make the match case-sensitive.
z
Make Backup File
Mark this to make a copy of the text file before editing it. A number is appended to
the end of the file name for the backup copies (example: text.001, text.002, and so
on).
The sample scripts Add Tnsnames entry.wse and TextFile.wse use this action. For details
on sample scripts, see ScriptHelp.htm in the Samples subdirectory of this product’s
installation directory.
Install File(s)
This action installs files on the destination computer. Each file or directory to be installed
must have a separate Install File(s) action.
Note
When a WiseScript is called by a Windows Installer installation, the Windows Installer
installation does not recognize changes that the WiseScript makes to the destination
computer and will not uninstall them. Therefore, you must provide a way to uninstall or
repair such changes. See Uninstalling Changes Made by a WiseScript in the Windows
Installer Editor Help.
When you’re installing files permanently on the destination computer using the Install
File(s) script action, you might also want to make sure that the destination computer
has enough disk space available for these files. Do this using the Check Disk Space
script action.
See
Check Disk Space
on page 52.
The results from an Install File(s) action are put into a variable, INSTALL_RESULT.
See its description in
Automatic Run-time Variables
on page 157.
To complete the dialog box
z
Source Pathname
Specify the path of the file on your computer. You can use wildcards in this field to
indicate that all the files in a directory that match a certain pattern should be
installed (example: C:\Dev\*.exe). You can also use compiler variables, but you
should not use run-time variables, because this field is used at compile time.
z
Destination Pathname
Specify the path the file will have on the destination computer. Use variables to
start the path (example: %MAINDIR%\Dev\File.txt). This field has a drop-down list
with common variables. Do not include wildcards in this field.
z
Description
Enter text to appear in the progress bar while this file is installed.
z
Require Password
(Not applicable in this product)
If you entered a password on the Password page, and you mark this, the end user is
prompted for the password before this file is installed.
Содержание WISESCRIPT EDITOR 8.0
Страница 1: ...WiseScript Editor Reference ...