Thoughts about setup and deployment issues, WiX, XNA, the .NET Framework and Visual Studio
All postings are provided AS IS with no warranties, and confer no rights. Additionally, views expressed herein are my own and not those of my employer, Microsoft.
I found an interesting post that lists some sample code to enumerate the installed versions of the .NET Framework using APIs inside of mscoree.dll (which is the shim DLL that decides which version of the .NET Framework to load for each managed application that runs on a computer). This code comes directly from the development team that works on mscoree.dll itself, and it is going to eventually be shipped in the .NET Framework SDK. Check it out here.