Adding 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.

To add a file search

  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.

To remove a file search

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

See Also

Properties for the Launch Conditions Editor | Adding a Registry Search in the Launch Conditions Editor | Adding a Windows Installer Search in the Launch Conditions Editor | Adding a Launch Condition in the Launch Conditions Editor | Deployment Conditions | Launch Condition Management in Deployment