问题描述
我最近(在Windows 10上)安装了VS 2015,但是有些软件包失败(稍后详细介绍).
I have installed VS 2015 recently (windows 10), but there were some package failures (detailed later).
尝试启动新项目时,出现错误消息:无法创建编译器".因此,我卸载了该产品,修复了Microsoft可再发行产品,然后重试.从那时起,我根本无法安装VS.
When trying to start a new project, I got an error message: "Compiler could not be created". So i uninstalled, repaired the microsoft redistributiables and tried again.Since then I can't install VS at all.
我收到以下消息:
Visual C ++ IDE调试器软件包:软件包失败.
Visual C++ IDE Debugger Package : Package failed.
Microsoft VisualStudio JavaScript项目系统:程序包失败.
Microsoft VisualStudio JavaScript Project System : Package failed.
Microsoft Visual Studio 2015 Update 3诊断工具-x86:程序包失败.
Microsoft Visual Studio 2015 Update 3 Diagnostic Tools - x86 : Package failed.
Microsoft Visual Studio 2015更新3诊断工具-ENU:包失败.
Microsoft Visual Studio 2015 Update 3 Diagnostic Tools - ENU : Package failed.
我已经尝试过:
- 使用VS设置进行修复
- 卸载(包括可再发行版本),然后重新安装
- 清除%temp%
- 从离线安装程序安装
- 应用Windows故障排除程序(修复了错误的组件)
- 应用WU
- 删除msvcp140.dll(如某些论坛建议)
没有任何效果,我将非常感谢您的帮助.谢谢
Nothing worked, and I would be very grateful for any help.Thanks
推荐答案
我从您的共享日志文件"dd_vs_community_20161027000333.log"中发现了以下错误消息:
I found the following error message from your shared log file "dd_vs_community_20161027000333.log":
错误代码"0x80070003"表示找不到指定的路径,您需要确认指定文件夹的存在并尝试手动移动它.
Error code "0x80070003" means the specified path couldn’t be found, you need to confirm the existing of the specified folder and try to manually move it.
我发现还有另外3个软件包(PerfTools_CORE_x86.msi,PerfTools_RES_enu.msi,vs_RoslynLanguageServices.msi)也有相同的问题,您可以尝试以下方法:
I found there have another 3 packages (PerfTools_CORE_x86.msi, PerfTools_RES_enu.msi, vs_RoslynLanguageServices.msi) also have this same issue, you can have a try with the following:
-
运行修复工具,可以自动修复包括损坏的注册表项在内的问题,这些问题会阻止您安装或删除程序.
Run the Fixit tool to automatically repair issues including corrupted registry keys that block you from installing or removing programs.
如果方法1不起作用,请查看此类似问题,并直接使用上述4个打包文件(VC_IDE.Debugger.msi,PerfTools_CORE_x86.msi,PerfTools_RES_enu.msi,vs_RoslynLanguageServices.msi)来自具有更新3的VS社区2015的正常ISO文件,以进行卸载,然后重新安装该组件.之后,您可以使用ISO文件再次进行修复.
If method 1 not works, take a look at this similar issue and directly use the above 4 package files (VC_IDE.Debugger.msi, PerfTools_CORE_x86.msi, PerfTools_RES_enu.msi, vs_RoslynLanguageServices.msi) from a healthy ISO file of VS community 2015 with update 3 to uninstall then reinstall that components. After that, you can use the ISO file to repair again.
这篇关于Visual Studio Community 2015安装失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!