MSI Factory

Searches

This dialog lets you define searches that can be performed on the user's system during installation and to store the search result in a property. You can create the following kinds of searches by clicking the Add button:

Component Search

Search for a component that may be installed on the system and store the key path in a property. Use the Component Search dialog to configure the search.

File Search

Search for a file on the system in a specific location with defined criteria and store the path in a property. Use the File Search dialog to configure the search.

Folder Search

Search for a folder on the system and store the location in a property. Use the Folder Search dialog to configure the search.

INI File Search

Read a value from an INI file in the Windows folder and store it in a property. Use the INI File Search dialog to configure the search.

Registry Search

Read a value from the registry and store it in a property. Use the Registry Search dialog to configure the search.

Searches will occur in top-down order during installation.

More Information

MSDN Online: AppSearch Table

MSDN Online: CompLocator Table

MSDN Online: DrLocator Table

MSDN Online: IniLocator Table

MSDN Online: RegLocator Table

MSDN Online: Searching for Existing Applications, Files, Registry Entries or .ini File Entries

WiX Help File: ComponentSearch Element

WiX Help File: DirectorySearch Element

WiX Help File: FileSearch Element

WiX Help File: IniFileSearch Element

WiX Help File: RegistrySearch Element