简体   繁体   中英

Errors in installing Visual Studio 2015, regarding "Microsoft Visual C++ 2015 Redistributable"

I am stuck since 2 days with this simple installation process of Visual Studio 2015 from my university portal (vs_communityENUS.exe which is a 3260 KB application). I am not new to installation and troubleshooting but this one has got me insane.

Every time I install it it throws me errors:

  1. Microsoft Visual C++ 2015 Redistributable (x64) - 14.0.23918: Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs in the Control Panel.

  2. Visual Studio 2015 Update 3 Microsoft Visual C++ 2015 Redistributable (x64) - 14.0.24210: The installer failed. Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs in the Control Panel. Error code: 0x80070666

  3. Visual Studio 2015 Update 3 Microsoft Visual C++ 2015 Redistributable (x86) - 14.0.24210: The installer failed. Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs in the Control Panel. Error code: 0x80070666

  4. Microsoft Visual C++ 2015 Redistributable (x86) - 14.0.23918: Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs in the Control Panel.

I checked my control panel but I did not find any files with the above name. Than, I got this amazing link that helped me remove any previous version of visual studio I have in my machine but a fresh installation after that also threw same errors.

I am badly stuck, what I want is a simple visual studio version compatible to windows 8.1 and can successfully integrate with opencv, qt and vtk.

Any help in this regard is highly and respectfully appreciated.

Do you have the Visual C++ 2017 Redistributable installed before the VS 2015 installation? If so, please try to uninstall the Visual C++ 2017 Redistributable then install the VS 2015 again per this similar issue

If not and you cannot find the higher version of the VS Visual C++ 2015 Redistributable under Control Panel, please use MsiInv to gather information about what is installed on a computer , if it is confirmed that a higher version is existing, then you can ignore this warning information to use VS 2015.

There are some known issues with Visual Studio 2017 redistributables interfering with VS2015 redistributables. Temporarily uninstalling them might allow you to install the whole of VS2015.

I tried many different strategies to get this to be fixed, but I found a program that installed all the various visual c++ packages without a hitch and fixed my problems.

https://github.com/abbodi1406/vcredist

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM