Installation of Microsoft Visual C++ 2017 Redistributable Fails

Article ID: 64065

Article Type: Troubleshooting

Last Modified:

Installation of Microsoft Visual C++ 2017 Redistributable fails from the Commvault installer.

Symptoms

Installation of Microsoft Visual C++ 2017 Redistributable fails. The Commvault installer may show one or more error messages.

Resolution

If installation of Microsoft Visual C++ 2017 Redistributable software fails from the Commvault installer, try the following troubleshooting steps, depending on your issue.

Before You Begin

Issue 1: Issue is related to Visual C++ runtime dependencies

If you try upgrading the computer from Visual C++ 2015 to Visual C++ 2017, installation may fail because of Visual C++ runtime dependencies.

The Commvault Installer checks for the following registry keys to determine if Visual C++ 2017 is already Installed on the computer (these registry keys are created by Visual C++ 2017 installer):

Steps to reproduce the bug:

  1. Install Visual C++ 2015 and then see if these registry keys exist. They should show a version of approximately 14.0.x.x.
  2. Install Visual C++ 2017, and then see if the registry keys are removed.  If so, the Commvault installer assumes that Visual C++ 2017 is not installed.

After you upgrade the computer to the latest version of Visual C++ 2017, the issue will be resolved.

Issue 2: Error message "Error: Failed to install VCRedist_2017_x64(VCRedist_2017_x64) with error code 0x80070666"

Installation of Visual C++2017 may fail on a computer if a newer version of Visual C++ 2017 is already installed on the computer. If so, you will see the following error message:

Error: Failed to install VCRedist_2017_x64(VCRedist_2017_x64) with error code 0x80070666.

Steps to fix the issue:

  1. Perform a repair installation of Visual C++ 2017 on the computer.
  2. Reboot the computer.

Issue 3: Error message "Error: Failed to install VCRedist_2017_x64(VCRedist_2017_x64) with error code 0x80070643"

Installation of Visual C++2017 may fail on a computer with the following error message:

Error: Failed to install VCRedist_2017_x64(VCRedist_2017_x64) with error code 0x80070643.

Steps to fix the issue:

  1. Upgrade the computer to the latest version of Visual C++ 2017 from the Microsoft store.
  2. Reboot the computer.

Issue 4: Installer crashes due to disk error

Installation of Visual C++2017 may fail on a computer due to disk error (check the computer's Windows application logs to determine if a disk error occurred).

Steps to fix the issue:

  1. Run the Windows check disk (CHKDSK) utility on the the computer's disk drive.
  2. Reboot the computer.
  3. Run a Windows system file check (SFC) as per the following Microsoft article: System file check (SFC) Scan and Repair System Files & DISM to fix things SFC cannot,

Issue 5: Installer fails on a computer running Windows 2016 Standard

Installation of Visual C++2017 may fail on a computer that is running Windows 2016 Standard.

Steps to fix the issue:

  1. Perform a repair installation of Visual C++ 2017 on the computer.
  2. Reboot the computer.

Issue 6: File mfc140u.dll is faulting or missing

Installation of Visual C++2017 may fail on a computer because the file mfc140u.dll is either faulting or is missing. In addition, the Visual C++ 2017 binaries (x64) might be missing.

Steps to fix the issue:

  1. Upgrade the computer to the latest version of Visual C++ 2017 from the Microsoft store.
  2. Reboot the computer.
1 Commvault Way, Tinton Falls, NJ 07724 Sitemap | Legal Notices | Trademarks | Privacy Policy
Copyright © 2022 Commvault | All Rights Reserved.