PICyourBrain
PICyourBrain

Reputation: 10294

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.

Upvotes: 3

Views: 142

Answers (2)

taylonr
taylonr

Reputation: 10790

Additionally, some programs are listed as pre-requisites in the setup project. For example, all the .Net Frameworks, SQL Server Compact, Windows Installer 3 etc. If you check these, you can actually have your app prompt to download the missing files.

Upvotes: 0

Dave Swersky
Dave Swersky

Reputation: 34820

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.

Upvotes: 2

Related Questions