Microsoft Visual C++ 2015 Redistributable is an important package required by multiple programs or games that use Microsoft Visual Studio software development environment. However, many users encounter the “Microsoft Visual C++ 2015 Redistributable Package (x64) setup failed” error when installing the program.
According to a survey, this 0x80070666 error can occur due to various reasons. The main reason is that there is an existing installation of the Visual C++ redists. In addition, corrupt Visual C++ 2015 installation, incompatibility issues, and the Windows Installer service are responsible for the error. Don’t worry. We provide corresponding solutions here.
The first thing you should do is to remove the existing Visual C++ 2015 Redistributable package and re-download a new one. To do so, follow the steps below:
Step 1. Press Win + R keys to open the Run dialog box, and then type appwiz.cpl in the box and hit Enter.
Step 2. Scroll down the list of installed programs to all items related to Microsoft Visual C++ 2015 Redistributable and follow the on-screen prompts to uninstall the existing packages.
Step 3. Once uninstalled, click here to download Microsoft Fix It tool and install it.
Step 4. Launch the troubleshooter and click on Advanced.
Step 5. With the Apply repairs automatically box checked and click on Next.
Step 7. Follow the on-screen prompts to complete the installation and apply any recommended fixes.
Step 8. Click here to download Visual C++ 2015 Redistributable Update 3 RC and install it on your computer.
Now, the Microsoft Visual C++ 2015 setup failed error should disappear.
Sometimes, you may encounter the “Microsoft Visual C++ 2015 Redistributable setup failed” error if the Windows Update is already preparing to install the same redist files. In this case, you can check for Windows updates and install them.
Step 2. Click on Check for updates button to start updating Windows 10. If there are pending Windows updates, you can download and install them manually.
Step 3. Once installed, restart your computer and see if the “Microsoft Visual C++ 2015 Redistributable Package (x86) setup failed” issue gets solved.
Fix 3. Reinstall Visual Studio C++ 2017 Redistributable
Some users reported that they can’t install Microsoft Visual C++ 2015 due to incompatibility issues. If you already installed the Visual C++ 2017 Redistributable, you can try uninstalling it. To do so, you can open the Programs and Features window like Step I in Fix 1 and uninstall the Visual C 2017 package. After that, you can install Visual C 2015 again and see if the error gets solved. Of course, you can reinstall the Visual C 2017 Redistributable after installing the C++ 2015 package successfully.
Fix 4. Repair the Visual C++ 2015 Redistributable File
In addition, corrupted installation can trigger the “Microsoft Visual C++ 2015 Redistributable Package (x64) setup failed” error. Here you can follow the steps below to repair the installer.
Step 2. In the elevated Command Prompt, type the following command and hit Enter to locate the directory where you save the 2015 Redistributable package.
cd C:\Users\YourUserName\Downloads
Step 3. Type the following command based on your downloaded version and hit Enter.
vc_redist.x64.exe /uninstall (for x64 version of the Microsoft Visual C++ 2015 Redistributable)
vc_redist.x86.exe /uninstall (for x86 version of the Microsoft Visual C++ 2015 Redistributable)
Step 4. Then a window will appear with an option to repair the installation. Click on Repair and follow the on-screen instructions to repair the Visual C++ 2015 redist installation.
Once down, reboot your PC and see if you can install Visual C++ 2015 without the error 0x80070666.
Fix 5. Delete the Temp Files
Some users reported that the “can’t install Microsoft Visual C++ 2015” issue can be solved simply by clearing the Temp files. Let’s have a try.
Step 1. Press Win + R keys to open the Run dialog box, and then type %temp% in the box and hit Enter.
Once the Temp folder is empty, you can run the installer again and check if the “Microsoft Visual C++ 2015 setup failed” error is fixed.
Fix 6. Re-register the Windows Installer Service
If you still can’t install Microsoft Visual C++ 2015 after trying all the above fixes, you can try changing some settings related to the Windows Installer service in Register Editor. Here’s how:
ABOUT THE AUTHOR
Position: Columnist
Ariel is an enthusiastic IT columnist focusing on partition management, data recovery, and Windows issues. She has helped users fix various problems like PS4 corrupted disk, unexpected store exception error, the green screen of death error, etc. If you are searching for methods to optimize your storage device and restore lost data from different storage devices, then Ariel can provide reliable solutions for these issues.
Originally published at https://www.partitionwizard.com on November 3, 2021.