You should add a launch condition to your installer to test for versions of the .NET framework. I don't recommend adding in the framework in your installer but when you add a launch condition it will redirect them to the Microsoft website to download the necessary files. If you include the .NET framework installation media in your installer it will be huge and some clients may already have it installed. Beyond that you will have to maintain the most updated redistributable installers so they don't have updates to the .NET framework as soon as they install your product.
On your installer right click on the project and go to "View -- Launch Conditions". Add a launch condition:
Name: .NET Framework
Install URL:
http://go.microsoft.com/fwlink/?LinkId=76617
Message: [VSDNETMSG]
Version: 3.5.30729
Reputation Points: 1749
Solved Threads: 735
Senior Poster
Offline 3,948 posts
since Feb 2009