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

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

上一篇:[LeetCode] Combination Sum III 组合之和之三


下一篇:北大ACM试题分类+部分解题报告链接