How to: Add a Registry Search in the Launch Conditions Editor

The Launch Conditions Editor can be used to define a search for a registry key on a target computer during installation. The result of the search is returned in the Property property and can be evaluated in a launch condition to determine if the installation should continue. You can set the Root property for a registry search to specify a registry root. You can also set the Value property to specify a registry value.

Note

The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Working with Settings.

  1. Select the Search Target Machine node in the Launch Conditions Editor.

  2. On the Action menu, choose Add Registry Search.

  3. In the Properties window, set the Root and RegKey properties for the Registry key you wish to find. The following example shows how to set the RegKey property to search for the Visual Studio Tools for Office 2005 SE runtime in the registry.

    Software\Microsoft\vsto runtime Setup\v2.0.50727
    
  4. Optionally, set the Value property to search for a specific value.

  • Select the registry search in the Launch Conditions Editor, and choose Delete from the Edit menu.

See Also

Tasks

How to: Add a File Search in the Launch Conditions Editor

How to: Add a Windows Installer Search in the Launch Conditions Editor

How to: Add a Launch Condition in the Launch Conditions Editor

Reference

Properties for the Launch Conditions Editor

Other Resources

Launch Condition Management in Deployment