安装vs2013提示必须安装ie10的解决办法

虽说应该直接安装ie10,但试了下并不是很顺利,找到如下解决办法,亲测通过。

新建bat文件,内容如下,右键以管理员身份运行,vs即可正常安装。

 1 @ECHO OFF
 2 
 3 :IE10HACK 
 4 
 5 REG ADD "HKLM\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer" /v Version /t REG_SZ /d "9.10.9200.16384" /f 
 6 
 7 REG ADD "HKLM\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer" /v svcVersion /t REG_SZ /d "10.0.9200.16384" /f 
 8 
 9 REG ADD "HKLM\SOFTWARE\Microsoft\Internet Explorer" /v Version /t REG_SZ /d "9.10.9200.16384" /f 
10 
11 REG ADD "HKLM\SOFTWARE\Microsoft\Internet Explorer" /v svcVersion /t REG_SZ /d "10.0.9200.16384" /f 
12 
13 GOTO EXIT
14 
15 :REVERTIE 
16 
17 REG DELETE "HKLM\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer" /v svcVersion 
18 
19 REG DELETE "HKLM\SOFTWARE\Microsoft\Internet Explorer" /v svcVersion 
20 
21 REG ADD "HKLM\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer" /v Version /t REG_SZ /d "8.0.7601.17514" /f 
22 
23 REG ADD "HKLM\SOFTWARE\Microsoft\Internet Explorer" /v Version /t REG_SZ /d "8.0.7601.17514" /f 
24 
25 GOTO EXIT
26 
27  
28 
29 :EXIT
脚本
posted @ 2017-05-09 09:38  冰柠檬草  阅读(318)  评论(0编辑  收藏  举报