WiseScript Package Editor Reference
77
Creating WiseScript Installations
System Search
¾
WiseScript Package Editor only
The System Search page specifies methods by which the installation can search for and
detect a previous version of the application. If you know certain files, registry values, or
.INI file changes that would be present if the application was installed previously, you
can use this page to search for a previous version of the application. If a previous
version is installed, its directory becomes the default directory for installation of the new
software.
System Search Usage
z
If you know of a specific file that exists only in the installation directory, you can
search for that file, and get its directory. In either case, the path you find is put into
the variable %MAINDIR%. The variable %MAINDIR% represents the default
installation directory of the installation.
z
If, during the previous installation, you wrote the installation directory path into an
.INI file or into the registry, you can search for that path using this page. If you
know the path ends with a file name, mark Remove File Name when configuring
the registry or .INI search.
If you search for an .INI value, make sure the .INI Item Name contains a valid
path. If the search finds the .INI Item Name, its value is put into %MAINDIR%.
If you search for a registry value, make sure the registry value contains a valid
directory or path. If the search finds the registry Value Name, its Value Data is
put into %MAINDIR%.
The items listed on the System Search page display the search methods for finding the
old version of the application. The installation performs the searches in the order listed
until one is successful. It then makes the directory of the previous installation the
default directory for the installation. If none are successful, the directory you enter in
Default Directory on the Product Details page is the default directory.
To rearrange the order of items on the System Search page, click the Move Up or Move
Down buttons.
See:
Searching for Files or Directories
on page 77
Searching for INI Values
on page 78
Searching for Registry Values
on page 79
Searching for Files or Directories
¾
WiseScript Package Editor only
On the System Search page, you can set up a search for a file or directory on the
destination computer. To find a directory, you must search for a specific file contained
inside the directory. When you search for a file, Windows Installer stops searching as
soon as it finds the first file or directory that matches your specification. Therefore, it’s
important that you specify unique file or directory attributes for your search. You can
specify to return either the full file path or just the directory that contains the file.
1. Select Installation Expert > System Search page.
Содержание WISESCRIPT PACKAGE EDITOR 8.0
Страница 1: ...WiseScript Package Editor Reference ...