visual-studio-2010installationsetup-deploymentlaunch-condition

How do I add launch condition for Windows 7 and above in setup project (VS 2010)


I am creating a Setup project using VS 2010, where I want that setup should run only if it is running on Windows 7 or above operating system.

How can I add a launch condition for this in setup and deployment project?


Solution

  • Using wix you can do this. Please see the example here