Export (0) Print
Expand All

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.

NoteNote

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.

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.

    NoteNote

    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.

Community Additions

ADD
Show:
© 2014 Microsoft