如何判断某版本的.NET Framework是否安装
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
关于系统预安装问题:
win7 预先安装了 2.0 3.5
win8 安装了 4.0
win10 安装了 4.6