如果我已经安装了 Microsoft VC++ 2017 运行时,是否还需要安装 Microsoft VC++ 2015 运行时可再发行组件? [英] Do I still need to install Microsoft VC++ 2015 runtime redistributable if I already have Microsoft VC++ 2017 runtime installed?

查看:133
本文介绍了如果我已经安装了 Microsoft VC++ 2017 运行时,是否还需要安装 Microsoft VC++ 2015 运行时可再发行组件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

来自我阅读的内容 这些帖子 和其他地方,关于为什么我无法安装 Microsoft VC++ 的问题如果我已经安装了 Microsoft VC++ 2017 运行时,则 2015 运行时可再发行.

From what I read about these posting and elsewhere, regarding the issue of why I cannot install Microsoft VC++ 2015 runtime redistributable if I already have Microsoft VC++ 2017 runtime installed.

这个无法安装"的原因是因为一旦你安装了Microsoft VC++ 2017,就不需要安装2015版本,因为2017包含2015.我说得对吗?

The reason for this "cannot install" is because once you have Microsoft VC++ 2017 installed, there is no need to install 2015 version,as 2017 subsume 2015. Am I right?

其次,更关键的是,从现在开始,如果我安装了更高版本的 Microsoft VC++,我可以安全地跳过较低版本,这将是 Microsoft 的策略:往后只有一个版本的Microsoft VC++(最新版本).我对吗?我记得我在别处读过这篇文章,但不确定我的理解是否正确,现在我找不到博客文章.所以我希望我能在这里得到一些确认.

Secondly, and more crucially, from now onwards if I have a higher version of Microsoft VC++ installed, I can safely skip the lower version, this is going to be Microsoft strategy: going forward there is only one version of Microsoft VC++ ( the latest one). Am I right? I remember I read this elsewhere, but not sure my understanding is correct or not, and now I couldn't find the blog post. So I hope that I can get some confirmation here.

推荐答案

VC++ 运行时可再发行组件在 VS 2015、2017 和 2019 中相同!来自 Microsoft 支持:

The VC++ runtime redistributables are the same for VS 2015, 2017 and 2019! From Microsoft Support:

注意Visual C++ 2015、2017 和 2019 都共享相同的可再发行文件.

Note Visual C++ 2015, 2017 and 2019 all share the same redistributable files.

然而,这个可再发行包已经发布了许多不同的版本!安装程序(链接如下)将进行必要的检查,以查看目标计算机上是否已经存在更新的版本,如果是,则发出信号.

However, there have been many different versions of this redistributable package released! The installer programs (linked below) will do the required checks, to see if a more recent version is already present on the target computer, and signal if so.

包含此可再发行包的运行时库有时(令人困惑地)被称为 Visual C++14"运行时库.(14"来自于 Visual Studio 2015 包括 MSVC 编译器的第 14 版;VS2017 = MSVC v15;和 VS2019 = MSVC v16.)

The runtime libraries that comprise this redistributable package are sometimes (confusingly) referred to as Visual C++ "14" Runtime Libraries. (The "14" comes from the fact the Visual Studio 2015 includes version 14 of the MSVC compiler; VS2017 = MSVC v15; and VS2019 = MSVC v16.)

未来版本的 Visual C++ 是否也将共享相同的可再发行包尚不确定.

Whether or not future versions of Visual C++ will also share the same redistributable package is not certain.

可从以下链接下载和/或安装适用于三种支持的处理器平台的最新版本:

The latest versions, for the three supported processor platforms, can be downloaded and/or installed from the following links:

编辑:这里可能对我上面提到的版本检查"有些困惑!来自同一 Microsoft 支持页面:

EDIT: There may be some confusion, here, over the 'version check' I mentioned above! From the same Microsoft Support page:

例如,安装 Visual C++ 2019 可再发行组件将也会影响使用 Visual C++ 2015 和 2017 构建的程序.然而,安装 Visual C++ 2015 可再发行组件不会取代Visual C++ 2017 和 2019 安装的文件的较新版本可再发行组件.

这与之前所有的 Visual C++ 不同版本,因为它们每个都有自己独特的运行时文件,而不是与其他版本共享.

For example, installing the Visual C++ 2019 redistributable will affect programs built with Visual C++ 2015 and 2017 also. However, installing the Visual C++ 2015 redistributable will not replace the newer versions of the files installed by the Visual C++ 2017 and 2019 redistributables.

This is different from all previous Visual C++ versions, as they each had their own distinct runtime files, not shared with other versions.

我将此解释为,如果您有 vc_redist 安装的旧"版本(例如,与 VS2015 一起发布),它的组件更新通过任何较新的安装.但是,运行较旧的安装程序不会与较新的安装程序发生冲突.

I interpret this as meaning that, if you have an 'older' version of the vc_redist installation (released, say, with VS2015), it's components will be updated by any newer installation. However, running an older installer will not conflict with a more recent installation.

这篇关于如果我已经安装了 Microsoft VC++ 2017 运行时,是否还需要安装 Microsoft VC++ 2015 运行时可再发行组件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆