如何判断某版本的.NET Framework是否安装
检查/%windir%/System32/下面是否含有MSCOREE.DLL文件如果有就所名已经安装了
打开注册表 开始-》 运行 -》 regedit
1..NET Framework
.NET Framework2.0
键:[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v2.0.50727]
值:Install = 1
.NET Framework3.0
键:[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.0]
值:Install = 1
.NET Framework3.5
键:[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.5]
值:Install = 1
http://www.microsoft.com/ko-kr/download/details.aspx?id=22
2.Service Pack(以2.0 SP1为例)
键:[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v2.0.50727]
值:SP = 1
3.语言包(以简体中文为例)
键:[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v2.0.50727\2052]
值:Install = 1
更多语言请参考:http://msdn.microsoft.com/en-us/library/aa480243.aspx