R – Checking MVC.net is installed from Web Setup Project

asp.net-mvcsetup-projectweb-setup-project

Does anyone know of an elegant way to check form a web setup project (as a pre condition maybe?) that MVC.net is installed on the target machine? Is the registry the best way? Or a windows installer search?

Many Thanks,

Best Answer

1) MVC doesn't technically require installation. If you have .NET 3.5 (without SP1), it can be bin deployed.

2) However, to see if it's already installed, test for .NET 3.5 SP1.

Related Topic