0 out of 3 rated this helpful - Rate this topic

How to: Set 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.

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

    NoteNote

    To learn more about condition syntax, see Conditional Statement Syntax.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.