I recently upgraded existing solution built using VS2008 to VS2010 and encountered the warning:
The version of the .NET Framework launch condition ‘.NET Framework 4’ does not match the selected .NET Framework bootstrapper package
To resolve it:
1. The .NET Framework version you have in Launch Condition should match with the 2. Prerequisites in Setup Properties.
Launch Condition:
Prerequisites: