While creating a windows deployment project for one of my .NET 2.0 applications, I notice that on right-clicking the 'Setup' project in the solution explorer and selecting properties, there is a pre-requisites button. Also, on right-clicking 'Setup', selecting 'View' and choosing 'Launch Conditions', I can specify some launch conditions.
My requirement is that the installer should check that .NET 2.0 or higher is installed or not. If not, it should quit.
Here are my questions-
The .NET requirement is to be included using the 'Pre-requisites' button or the 'Launch Conditions' ?
Does the check become a part of the exe or the msi ? Specifically, I am required to distribute the msi for the application. So can a check be included in the msi itself for .NET ?