Search code examples
visual-studio-2008setup-projectverification

Setup/Install project checks for a previously installed project before installing?


Is there a way for my setup/installer poject to check that another program is installed on the machine before proceeding with the install process? I am using Visual Studio 2008.


Solution

  • Windows Installer supports launch conditions. You can use the Component ID of the program to determine if it's installed. Use MSI Spy to get the Component ID of a program.