A very much related question has been posted here:
However, I found that .Net 4.0 conventions are messy. I need to hard-code some logic into an installer / installed product that goes like this:
if not RecentDotNet40IsInstalled():
Panic()
If I get it wrong, then lots of clients will be unhappy.
I want to make sure that I am using the correct registry key, that I can rely on this stupid unorthodox registry structure.
Thank you.