visual studio 2015提示IE10未安装

将以下代码写入文本:

@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

 

:EXIT

 

 

 

保存后,将新建的txt文本后缀名改为.bat

右键点击,选择以管理员身份运行,然后就可以正常安装了

posted @ 2016-02-08 21:15  牧之丨  阅读(1754)  评论(0编辑  收藏  举报