本文介绍了“安装包丢失或损坏"在 Windows 10 上安装 Visual Studio 2015 时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Windows 10 上安装 Visual Studio 2015 Community 期间,我出现以下错误:

During the installation of Visual Studio 2015 Community on Windows 10 the following error occurred for me:

安装包丢失或损坏.

由于 vcredist_x86.exevcredist_x64.exe 文件对应于 Visual Studio 2013 的 Visual C++ Redistributable Packages,我在下载包后提供了一个位置(屏幕截图上的第三个​​选项).之后安装就很顺利了.

Since vcredist_x86.exe and vcredist_x64.exe files correspond to Visual C++ Redistributable Packages for Visual Studio 2013, I provided a location to packages after downloading them (third option on the screenshot). After that the installation went smoothly.

所以问题:

是安装 Visual Studio 2015 所需的 Visual Studio 2013 的 Visual C++ Redistributable Packages,在 Windows 10 上安装 Visual Studio 2015 是否有任何先决条件,可能是我错过了一些明显的东西?

are Visual C++ Redistributable Packages for Visual Studio 2013 required for installing of Visual Studio 2015, is there any prerequisites for installing of Visual Studio 2015 on Windows 10, may be i'm missing something obvious?

推荐答案

这是在太平洋标准时间 9 月 4 日中午到 9 月 8 日上午 11:30(太平洋标准时间)之间的 Visual Studio 网络安装程序的问题,现已修复在我们这边.

This was a problem with Visual Studio's web installer between mid-afternoon PST of Sep 4th through 11:30am on Sep 8th (also PST) which has now been fixed on our end.

具体来说,我们在过去的 Visual Studio 预发布 Web 安装程序上运行清理脚本,但该脚本过于激进并删除了 vcredist_x86.exe,即使 RTM 产品仍然需要该特定包.意识到错误后,我们重新发布并重新映射了该包,以便网络安装现在应该可以正常工作.

Specifically, we were running a clean-up script on past pre-release web-installers for Visual Studio, but the script got too aggressive and deleted vcredist_x86.exe even though the RTM product still needed that particular package. Once we realized the error, we re-published and re-mapped that package so that web installs should now work correctly.

其他解决方法(下载 ISO + 手动安装 vcredist_x86.exe)应该仍然是不错的答案,但现在阅读本文的其他人无需担心这些解决方法.

The other workarounds (download the ISO + install vcredist_x86.exe manually) should still be fine answers, but anybody else reading this now shouldn't need to worry about those workarounds.

最后,我们正在检查我们的内部政策和程序,以期在未来避免这种广泛的错误.

And last, we're examining our internal policies and procedures to try and avoid this kind of broad mistake in the future.

EricKn,Visual Studio 工程经理

EricKn, Visual Studio Engineering Manager

这篇关于“安装包丢失或损坏"在 Windows 10 上安装 Visual Studio 2015 时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-06 12:23