Searching for Installed Data

InstallShield 2018

Project • This information applies to the following project types:

Basic MSI
DIM
InstallScript MSI
Merge Module
MSI Database
MSM Database
Transform

InstallShield provides support for the Windows Installer capability of searching for installed data on a target system at run time. Depending on the results of the search, the installation can store a value in a property and even use the property in an installation condition. Examples of system searches that your installation can perform include:

Search for a file or folder on the target system at run time and store the full path to the file or folder, if found, in a property. This includes support for XML files.
Read data from the registry or from an .ini file located in the target system’s WindowsFolder directory and store the data in a property. Then use the property in an installation condition.

InstallShield includes several predefined system searches that you can add to your project. In addition, system searches that have been defined in one project and published to a repository can be reused in other projects. Use the System Search view to add a predefined system search—whether it is a search that is included with InstallShield or one that is stored in a repository—to your project. You can also use the System Search view to customize any predefined searches or define your own system searches for your installation.

See Also