You may encounter Error 0x80070666 when installing Microsoft Visual C++ redistributable package on your Windows 11 or Windows 10 computer. In this post, we will identify the potential causes, as well as provide the most adequate solutions affected PC users can apply to fix the error on their system.
When you encounter this issue, you’ll receive the following full error message;
Setup Failed
One or more issues caused the setup to fail. Please fix the issues and then retry setup. For more information see the log file.
0x80070666 – 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 on the Control Panel.
You may encounter this error due to one or more of the following reasons:
- Visual C++ is already installed on the system.
- Botched Visual C++ installation on the system.
- Pending Windows Update installation for the same version of the Visual C++ package.
Error 0x80070666 when installing Microsoft Visual C++
If the Error 0x80070666 has occurred on your Windows 11/10 device when installing Microsoft Visual C++ redistributable package, you can try our recommended solutions below in no particular order and see if that helps to resolve the issue.
- Run Program Install and Uninstall Troubleshooter
- Uninstall all current Visual C++ Redistributable Package
- Repair the Visual C++ installation
- Perform a Clean Boot and install package
Let’s take a look at the description of the process involved concerning each of the listed solutions.
Before you try the solutions below, check for updates and install any available pending bits on your Windows 11/10 device and see if the error reappears when you try the Visual C++ install operation again.
1] Run Program Install and Uninstall Troubleshooter
You can begin troubleshooting to fix the Error 0x80070666 that has occurred on your device when installing Microsoft Visual C++ by running the Program Install and Uninstall Troubleshooter from Microsoft and see if the issue is resolved. The Program Install and Uninstall troubleshooter fixes corrupted registry keys and is designed to help you automatically repair issues when you’re blocked from installing or removing programs on Windows 11/10 system.
2] Uninstall all current Visual C++ Redistributable Package
You are likely to encounter the error in view if a version (older or newer) of the same distributable package that you’re trying to install is already installed on the system. In this case, to resolve the issue, you need to uninstall (preferably, use third-party software uninstaller), all versions of the package from the system.
To uninstall all current Visual C++ Redistributable Package via Settings app on your Windows 11/10 PC, do the following:
- Press Windows key + I to open Settings app.
- Click Apps on the left navigation pane.
- Now, scroll down on the Apps & features right pane.
- Click the ellipsis (three vertical dots) for a Visual C++ Redistributable.
- Select Uninstall.
- Click Uninstall to confirm.
- Follow the on-screen instructions to finish uninstalling the package.
- Repeat the steps to remove all other packages.
- Once done, reboot the PC.
On boot, try installing the package that was failing earlier and see if the install operation completes successfully. Otherwise, try the next solution.
3] Repair the Visual C++ installation
If the Visual C++ installation is corrupted you may encounter this issue. In this case, to fix the error, you can repair the Visual C++ Redistributable via Settings app – do the following:
- Open Settings app.
- Click Apps on the left navigation pane.
- Now, scroll down on the Apps & features right pane.
- Click the ellipsis (three vertical dots) for the problematic Visual C++ Redistributable.
- Select Modify.
- Click Repair.
- Follow the on-screen instructions to finish the repair operation.
Alternatively, you can repair the Visual C++ Redistributable via Programs and Features on your Windows 11/10 computer by following the instructions in the guide on how to fix Runtime Error R6034.
Some affected users reported they had no means of repairing the package as it was not listed in Programs and Features in Control Panel or Apps & features in Settings app. In this case, you need to download the Visual C++ package installation executable and force the repair window to appear through Command Prompt. Do the following:
- Download the installer for the redistributable package to a location (preferably desktop) on your PC.
- Next, press Windows key + R to invoke the Run dialog.
- In the Run dialog box, type cmd and then press CTRL + SHIFT + ENTER to open Command Prompt in admin/elevated mode.
- In the command prompt window, type the command below and hit Enter. Replace the UserName placeholder with the actual logged in username.
CD C:\Users\UserName\Desktop
- Next, type in the command below and hit Enter:
vc_redist.x64.exe /uninstall
- Now, click Repair.
- Follow the on-screen instructions to finish the repair operation.
- Reboot PC when done.
On boot, try to install the Microsoft Visual C++ Redistributable package again. If the error reappears, you can try the next solution.
4] Perform a Clean Boot and install package
This solution requires you to perform a Clean Boot to remove any conflicts that may occur during the Visual C++ package installation. This means starting your Windows 11/10 computer with the minimum required drivers and programs, and then running the package installation in that system state.
Hope this helps!
Related post: Fix Error 0xC0070652 when installing or uninstalling Programs.
How do I fix Microsoft Visual C++ 14.0 required error?
To fix Microsoft Visual C++ 14.0 required error, do the following:
- Go to Build Tools for Visual Studio 2017.
- Select free download under Visual Studio Community 2017 to download the installer.
- Run the installer.
- Select what you need under the Workload tab.
- Under Windows, there are 3 choices. Only check Desktop development with C++.
- In the CMD prompt, type pip3 install misaka, and hit Enter.
Hope this helps.