How to tell if .Net Framework is installed
The officially supported method of detecting the presence of the .NET Framework 2.0 is to check the following registry key/value:
[HKEY_LOCAL_MACHINE\Software\Microsoft\Net Framework Setup\NDP\v2.0.50727]
Install = 1 (REG_DWORD)
