Archive: Registery Key Exists


Registery Key Exists
I am trying to find out if .net Framework is installed on a computer that I am installing a .net application on.

I am trying to see if the the registry keys

HKLM\SOFTWARE\Microsoft\.NETFramework\policy\v1.0
HKLM\SOFTWARE\Microsoft\.NETFramework\policy\v1.0
HKLM\SOFTWARE\Microsoft\.NETFramework\policy\v2.0

exist.

The strings inside these keys may be different depending on what version they have so I dont want to use ReadRegStr.

Any suggestions?

Thanx in advance


How to detect .NET Framwork.