时间:2022-08-18 11:57:42 | 栏目:.NET代码 | 点击:次
安装VS2013时,如何避开IE10的限制,具体内容如下
VS就会告诉我们目前环境不适合安装VS2013,必须升级IE版本到IE10.
如果不想安装IE10,有没有办法呢?
答案肯定是有的。
将下面一段文字,储存为1.bat文档,然后以管理员身份执行.
@ECHO OFF :IE10HACK REG ADD "HKLM\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer" /v Version /t REG_SZ /d "9.10.9200.16384" /f REG ADD "HKLM\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer" /v svcVersion /t REG_SZ /d "10.0.9200.16384" /f REG ADD "HKLM\SOFTWARE\Microsoft\Internet Explorer" /v Version /t REG_SZ /d "9.10.9200.16384" /f REG ADD "HKLM\SOFTWARE\Microsoft\Internet Explorer" /v svcVersion /t REG_SZ /d "10.0.9200.16384" /f GOTO EXIT :REVERTIE REG DELETE "HKLM\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer" /v svcVersion REG DELETE "HKLM\SOFTWARE\Microsoft\Internet Explorer" /v svcVersion REG ADD "HKLM\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer" /v Version /t REG_SZ /d "8.0.7601.17514" /f REG ADD "HKLM\SOFTWARE\Microsoft\Internet Explorer" /v Version /t REG_SZ /d "8.0.7601.17514" /f GOTO EXIT
执行后,窗口回自动退出,然后你重新安装VS即可。