Share via


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

The Launch Conditions Editor can be used to specify a search for a file on a target computer during installation. If the file is not found, the Property property can be evaluated for conditional installation. You can also set file search properties to specify the location of the file, or attributes such as version, size, and date.

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 File Search.

  3. In the Properties window, set the FileName property to the name of the file you wish to find.

  4. Set the Property property to a valid Windows Installer property.

    Note

    To learn more about Windows Installer property syntax, see Deployment Properties.

  5. Optionally, set additional properties to specify where to search or what attributes to search for.

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

See Also

Tasks

How to: Add a Registry 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