安装Visual Studio 2013时,出现“已阻止安装程序,此版本的Visual Studio需要您的计算机上当前未安装的Internet Explorer 10.”界面。
把如下文字保存为.bat文件,然后右键以管理员身份运行。
@ECHO OFF
:IE10HACK
REG ADD "HKLMSOFTWAREWow6432NodeMicrosoftInternet Explorer" /v Version /t REG_SZ /d "9.10.9200.16384" /f
REG ADD "HKLMSOFTWAREWow6432NodeMicrosoftInternet Explorer" /v svcVersion /t REG_SZ /d "10.0.9200.16384" /f
REG ADD "HKLMSOFTWAREMicrosoftInternet Explorer" /v Version /t REG_SZ /d "9.10.9200.16384" /f
REG ADD "HKLMSOFTWAREMicrosoftInternet Explorer" /v svcVersion /t REG_SZ /d "10.0.9200.16384" /f
GOTO EXIT
:REVERTIE
REG DELETE "HKLMSOFTWAREWow6432NodeMicrosoftInternet Explorer" /v svcVersion
REG DELETE "HKLMSOFTWAREMicrosoftInternet Explorer" /v svcVersion
REG ADD "HKLMSOFTWAREWow6432NodeMicrosoftInternet Explorer" /v Version /t REG_SZ /d "8.0.7601.17514" /f
REG ADD "HKLMSOFTWAREMicrosoftInternet Explorer" /v Version /t REG_SZ /d "8.0.7601.17514" /f
GOTO EXIT
:EXIT
|
然后重新启动计算机,再安装VS2013就可以顺利安装了。
原文地址:http://blog.163.com/qimo601@126/blog/static/1582209320143354446462/