Note

You are not reading the most recent version of this documentation. See the latest version available.

[MSI] Search in registryΒΆ

Windows Installer can search for a specific value in the registry on the target system during an installation (AppSearch). The search result is saved to a public property that can be used in various condition statements to determine the outcome of the installation (e.g. install components, run custom actions, etc.).

Important

Precondition: Open an MSI package in MSI Editor (see Open MSI/MST).

  1. Go to the Package Designer > System search tab.

    msi-editor-appsearch

  2. Select New search from the context menu.

    msi-editor-appsearch-context-menu

  3. Select the Registry search area and click Next.

    msi-editor-appsearch-registry-1

  4. Select the search Target, enter a Value name and specify a Key and Root where to search for this value. Also, select what portion of registry (32-bit or 64-bit) to search. Then, click Next.

    msi-editor-appsearch-registry-2

  5. Specify a public property (contains no lowercase letters) where to save a content of the found registry value name. It could either a new property, initialized in runtime; or an existing one from the Property table. Use this property in various condition statements to install components, run custom actions, and etc. Click Finish to add the system search entry.

    msi-editor-appsearch-file-system-3




Note

PACE Suite covers the whole range of application packaging tasks - learn more.

Try PACE Suite for free - 21 days no obligations unlimited trial with all functions unlocked.