Setting Installation Conditions for a File in a Deployment Project
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

Setting Installation Conditions for a File in a Deployment Project

Installation conditions allow you to specify the conditions under which a file will be installed. For example, you might have two versions of an executable file, each designed to run on a particular version of Microsoft Windows. Rather than creating a separate installer for each version, you can set the condition property for each file and include them both in a single installer.

To set an installation condition for a file

  1. Select a file in the File System Editor.
  2. In the Properties window, select the Condition property and enter a valid condition.
    Note   To learn more about condition syntax, see Deployment Conditions.

See Also

Properties for the File Types Editor | Conditional Deployment | File Types Management in Deployment | Adding and Deleting Document Types and Associated File Extensions in the File Types Editor | Adding and Deleting Actions in the File Types Editor | Specifying a Default Action in the File Types Editor | Changing the Display Order of Actions in the File Types Editor | Deployment and Associations

Show:
© 2016 Microsoft