visual studio 2015提示IE10未安装

时间:2023-12-21 13:12:02

将以下代码写入文本:

@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

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