My Application uses WCF. I can keep .Net Framework as minimum as 3.5 and it should be supported on Windows 7, 8 and 8.1
Problem
I am using Setup Project for deploying my Application. Setting .NET Framework 3.5 in 'Launch Conditions' works fine on Windows 7 and 8.1 but asks for installing .NET Framework 3.5 to continue installation. This happens though Windows 8 has .NET Framework 4.0 installed. When I change the version to 'Any' throws an error during installation on Win 8, saying: "Error 1001 InstallUtilLib.dll. unknown error".
Question
How can a setup project check for a version higher than .NET Framework 3.5 instead of 'Any' and if I have to use 'Any' how to get it working under Win 8?