Reinstall Microsoft Visual C++ Redistributable failed with latest version

Anonymous
2024-10-09T19:02:06+00:00

Setup: Windows 11 (was upgraded from a Windows 10)

I am trying to update/ install the Microsoft Visual C++ 2015-2022 Redistributable (x64) - 14.40.33810

I get the message when installing the latest Microsoft Visual C++ 2015-2022 Redistributable (x64) :

The feature you are trying to use is on a network resource that is unavailable. Click OK to try again or enter an alternative path to a folder containing the installation package'vc_runtimeMinimum_x64.msi' inthe box below.

However it wants the file "vc_runtimeMinimum_x64.msi" of version 14.32.31326 (what i understand from the log file).

That is not available on my system (as far i know).

However the final info in the Setup Error (with only OK Button to click) is about version 14.40.33810 :

The older version of Microsoft Visual C++ 2022 X64 Minimum Runtime - 14.40.33810 cannot be removed. Contact your technical support group.

What i did so far:

  • Removed all versions of the shown "Microsoft Visual C++" in "Programs and Features"
  • Run as Admin :

Dism /online /Cleanup-Image /StartComponentCleanup

Dism /online /Cleanup-Image /restorehealth

SFC /SCANNOW

After that Restart of windows.

  • Downloaded latest version of Microsoft Visual C++ 2015-2022 Redistributable (x64) and run Install
Windows for home | Windows 11 | Files, folders, and storage

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
Anonymous
2024-10-10T09:31:16+00:00

Additional comments to the solution:

Step 1 does not work in windows 11.

Step 2: There were more keys to remove:

--> I had earlier Visual Studio installed.....
HKEY_CLASSES_ROOT\Installer\Dependencies\Microsoft.VS.VC_RuntimeMinimumVSU_amd64,v14

HKEY_CLASSES_ROOT\Installer\Dependencies\Microsoft.VS.VC_RuntimeMinimumVSU_x86,v14

HKEY_CLASSES_ROOT\Installer\Dependencies\Microsoft.VS.VC_RuntimeAdditionalVSU_amd64,v14

HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\DevDiv\vc

HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\DevDiv\vcpp

Searched for "Detected related package:" in the log and used the curly values mentioned to get :
for me it was :

HKEY_CLASSES_ROOT\Installer\Products\5BE42683D65380B438753CD3985A0C5C]
HKEY_CLASSES_ROOT\Installer\Products\AE14269C00998EF4583BE132D805D96F

After that i restarted and installed the new version successful.

Was this answer helpful?

3 people found this answer helpful.
0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Anonymous
    2024-10-09T19:08:33+00:00

    Here’s a detailed approach to resolve this issue:

    Step 1: Use the Microsoft Troubleshooter (Program Install and Uninstall)

    1. Download the Microsoft Program Install and Uninstall troubleshooter:

    Microsoft provides a tool that can fix issues with programs that fail to uninstall or block installations.

    1. Run the tool and follow the instructions:

    Select "Uninstalling" when prompted.

    It should show a list of programs, including different versions of Microsoft Visual C++. Select the problematic version, likely Microsoft Visual C++ 2022 Minimum Runtime - 14.40.33810, and let the tool attempt to repair or remove the installation.

    Step 2: Manually Remove Registry Entries (Optional)

    If the troubleshooter doesn't fully resolve the issue, the installer may still be encountering leftover registry entries. Be cautious when editing the registry. Before proceeding, make a backup of the registry.

    1. Open Registry Editor (Win + R, type regedit, and press Enter).
    2. Navigate to:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall

    HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall

    1. Search for entries related to the problematic version (14.40.33810) of Microsoft Visual C++ Redistributable. Delete these entries.
    2. After deleting the registry entries, restart your PC.

    Step 3: Use MSI Cleanup Utility (If Available)

    If the troubleshooter doesn’t work, you can try using a third-party tool like the MSI Cleanup Utility to specifically clean up MSI installers that fail. This utility was formerly available directly from Microsoft but can still be found from trusted third-party sources.

    Step 4: Reinstall Microsoft Visual C++ Redistributable

    1. Download the latest Microsoft Visual C++ Redistributable from the official Microsoft website:

    Microsoft Visual C++ Redistributable 2015-2022.

    1. Run the installer as Administrator and try installing again.

    Step 5: Investigate Installed Updates (If It Still Fails)

    If it still fails:

    1. Open Settings (Win + I), navigate to Windows Update > Update history > Uninstall updates.
    2. Check if any recent updates (especially ones related to Visual C++ Redistributable or other related components) might have caused the issue. Try uninstalling them and reinstalling the redistributable afterward.

    Additional Notes:

    Corrupted Windows Installer components: If none of the above steps work, there might be an issue with the Windows Installer components themselves. You might need to reset Windows Installer or run the Windows Update Troubleshooter from the Settings app.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2024-10-09T19:04:00+00:00

    Log :
    [16EC:3230][2024-10-09T20:48:31]i001: Burn v3.10.4.4718, Windows v10.0 (Build 22631: Service Pack 0), path: C:\Users\kaiun\AppData\Local\Temp{39F399C2-009E-493C-ADCF-63BDACE9B83B}.cr\VC_redist.x64 (5).exe

    [16EC:3230][2024-10-09T20:48:31]i009: Command Line: '"-burn.clean.room=C:\Users\kaiun\Downloads\VC_redist.x64 (5).exe" -burn.filehandle.attached=776 -burn.filehandle.self=780'

    [16EC:3230][2024-10-09T20:48:31]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\kaiun\Downloads\VC_redist.x64 (5).exe'

    [16EC:3230][2024-10-09T20:48:31]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Users\kaiun\Downloads'

    [16EC:3230][2024-10-09T20:48:31]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\kaiun\AppData\Local\Temp\dd_vcredist_amd64_20241009204831.log'

    [16EC:3230][2024-10-09T20:48:31]i000: Setting string variable 'WixBundleName' to value 'Microsoft Visual C++ 2015-2022 Redistributable (x64) - 14.40.33810'

    [16EC:3230][2024-10-09T20:48:31]i000: Setting string variable 'WixBundleManufacturer' to value 'Microsoft Corporation'

    [16EC:1BF8][2024-10-09T20:48:31]i000: Setting version variable 'WixBundleFileVersion' to value '14.40.33810.0'

    [16EC:3230][2024-10-09T20:48:31]i100: Detect begin, 11 packages

    [16EC:3230][2024-10-09T20:48:31]i000: Setting string variable 'Arm64_Check' to value 'AMD64'

    [16EC:3230][2024-10-09T20:48:31]i000: Setting version variable 'windows_uCRT_DetectKey' to value '10.0.22621.3593'

    [16EC:3230][2024-10-09T20:48:31]i000: Setting numeric variable 'windows_uCRT_DetectKeyExists' to value 1

    [16EC:3230][2024-10-09T20:48:31]i052: Condition '(VersionNT = v6.3 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.

    [16EC:3230][2024-10-09T20:48:31]i052: Condition '(VersionNT = v6.3 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.

    [16EC:3230][2024-10-09T20:48:31]i052: Condition '(VersionNT = v6.2 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.

    [16EC:3230][2024-10-09T20:48:31]i052: Condition '(VersionNT = v6.2 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.

    [16EC:3230][2024-10-09T20:48:31]i052: Condition '(VersionNT = v6.1 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.

    [16EC:3230][2024-10-09T20:48:31]i052: Condition '(VersionNT = v6.1 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.

    [16EC:3230][2024-10-09T20:48:31]i052: Condition '(VersionNT = v6.0 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.

    [16EC:3230][2024-10-09T20:48:31]i052: Condition '(VersionNT = v6.0 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.

    [16EC:3230][2024-10-09T20:48:31]i103: Detected related package: {C96241EA-9900-4FE8-85B3-1E238D509DF6}, scope: PerMachine, version: 14.32.31326.0, language: 0 operation: MajorUpgrade

    [16EC:3230][2024-10-09T20:48:31]i103: Detected related package: {38624EB5-356D-4B08-8357-C33D89A5C0C5}, scope: PerMachine, version: 14.32.31326.0, language: 0 operation: MajorUpgrade

    [16EC:3230][2024-10-09T20:48:31]i103: Detected related package: {C96241EA-9900-4FE8-85B3-1E238D509DF6}, scope: PerMachine, version: 14.32.31326.0, language: 0 operation: MajorUpgrade

    [16EC:3230][2024-10-09T20:48:31]i103: Detected related package: {38624EB5-356D-4B08-8357-C33D89A5C0C5}, scope: PerMachine, version: 14.32.31326.0, language: 0 operation: MajorUpgrade

    [16EC:3230][2024-10-09T20:48:31]i101: Detected package: Windows81_x86, state: Absent, cached: None

    [16EC:3230][2024-10-09T20:48:31]i101: Detected package: Windows81_x64, state: Absent, cached: None

    [16EC:3230][2024-10-09T20:48:31]i101: Detected package: Windows8_x86, state: Absent, cached: None

    [16EC:3230][2024-10-09T20:48:31]i101: Detected package: Windows8_x64, state: Absent, cached: None

    [16EC:3230][2024-10-09T20:48:31]i101: Detected package: Windows7_MSU_x86, state: Absent, cached: None

    [16EC:3230][2024-10-09T20:48:31]i101: Detected package: Windows7_MSU_x64, state: Absent, cached: None

    [16EC:3230][2024-10-09T20:48:31]i101: Detected package: WindowsVista_MSU_x86, state: Absent, cached: None

    [16EC:3230][2024-10-09T20:48:31]i101: Detected package: WindowsVista_MSU_x64, state: Absent, cached: None

    [16EC:3230][2024-10-09T20:48:31]i101: Detected package: vcRuntimeMinimum_x64, state: Absent, cached: Complete

    [16EC:3230][2024-10-09T20:48:31]i101: Detected package: vcRuntimeAdditional_x64, state: Absent, cached: Complete

    [16EC:3230][2024-10-09T20:48:31]i101: Detected package: vcRuntime_arm64, state: Absent, cached: None

    [16EC:3230][2024-10-09T20:48:31]i052: Condition 'VersionNT >= v6.1' evaluates to true.

    [16EC:3230][2024-10-09T20:48:31]i199: Detect complete, result: 0x0

    [16EC:1BF8][2024-10-09T20:48:36]i000: Setting numeric variable 'EulaAcceptCheckbox' to value 1

    [16EC:3230][2024-10-09T20:48:36]i200: Plan begin, 11 packages, action: Install

    [16EC:3230][2024-10-09T20:48:36]i052: Condition 'VersionNT = v6.3 AND NOT VersionNT64' evaluates to false.

    [16EC:3230][2024-10-09T20:48:36]w321: Skipping dependency registration on package with no dependency providers: Windows81_x86

    [16EC:3230][2024-10-09T20:48:36]i052: Condition 'VersionNT = v6.3 AND VersionNT64' evaluates to false.

    [16EC:3230][2024-10-09T20:48:36]w321: Skipping dependency registration on package with no dependency providers: Windows81_x64

    [16EC:3230][2024-10-09T20:48:36]i052: Condition 'VersionNT = v6.2 AND NOT VersionNT64' evaluates to false.

    [16EC:3230][2024-10-09T20:48:36]w321: Skipping dependency registration on package with no dependency providers: Windows8_x86

    [16EC:3230][2024-10-09T20:48:36]i052: Condition 'VersionNT = v6.2 AND VersionNT64' evaluates to false.

    [16EC:3230][2024-10-09T20:48:36]w321: Skipping dependency registration on package with no dependency providers: Windows8_x64

    [16EC:3230][2024-10-09T20:48:36]i052: Condition 'VersionNT = v6.1 AND NOT VersionNT64' evaluates to false.

    [16EC:3230][2024-10-09T20:48:36]w321: Skipping dependency registration on package with no dependency providers: Windows7_MSU_x86

    [16EC:3230][2024-10-09T20:48:36]i052: Condition 'VersionNT = v6.1 AND VersionNT64' evaluates to false.

    [16EC:3230][2024-10-09T20:48:36]w321: Skipping dependency registration on package with no dependency providers: Windows7_MSU_x64

    [16EC:3230][2024-10-09T20:48:36]i052: Condition 'VersionNT = v6.0 AND NOT VersionNT64' evaluates to false.

    [16EC:3230][2024-10-09T20:48:36]w321: Skipping dependency registration on package with no dependency providers: WindowsVista_MSU_x86

    [16EC:3230][2024-10-09T20:48:36]i052: Condition 'VersionNT = v6.0 AND VersionNT64' evaluates to false.

    [16EC:3230][2024-10-09T20:48:36]w321: Skipping dependency registration on package with no dependency providers: WindowsVista_MSU_x64

    [16EC:3230][2024-10-09T20:48:36]i052: Condition '(VersionNT64) AND NOT (Arm64_Check = "ARM64")' evaluates to true.

    [16EC:3230][2024-10-09T20:48:36]i000: Setting string variable 'WixBundleRollbackLog_vcRuntimeMinimum_x64' to value 'C:\Users\kaiun\AppData\Local\Temp\dd_vcredist_amd64_20241009204831_000_vcRuntimeMinimum_x64_rollback.log'

    [16EC:3230][2024-10-09T20:48:36]i000: Setting string variable 'WixBundleLog_vcRuntimeMinimum_x64' to value 'C:\Users\kaiun\AppData\Local\Temp\dd_vcredist_amd64_20241009204831_000_vcRuntimeMinimum_x64.log'

    [16EC:3230][2024-10-09T20:48:36]i052: Condition '(VersionNT64) AND NOT (Arm64_Check = "ARM64")' evaluates to true.

    [16EC:3230][2024-10-09T20:48:36]i000: Setting string variable 'WixBundleRollbackLog_vcRuntimeAdditional_x64' to value 'C:\Users\kaiun\AppData\Local\Temp\dd_vcredist_amd64_20241009204831_001_vcRuntimeAdditional_x64_rollback.log'

    [16EC:3230][2024-10-09T20:48:36]i000: Setting string variable 'WixBundleLog_vcRuntimeAdditional_x64' to value 'C:\Users\kaiun\AppData\Local\Temp\dd_vcredist_amd64_20241009204831_001_vcRuntimeAdditional_x64.log'

    [16EC:3230][2024-10-09T20:48:36]i052: Condition 'Arm64_Check = "ARM64"' evaluates to false.

    [16EC:3230][2024-10-09T20:48:36]i201: Planned package: Windows81_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None

    [16EC:3230][2024-10-09T20:48:36]i201: Planned package: Windows81_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None

    [16EC:3230][2024-10-09T20:48:36]i201: Planned package: Windows8_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None

    [16EC:3230][2024-10-09T20:48:36]i201: Planned package: Windows8_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None

    [16EC:3230][2024-10-09T20:48:36]i201: Planned package: Windows7_MSU_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None

    [16EC:3230][2024-10-09T20:48:36]i201: Planned package: Windows7_MSU_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None

    [16EC:3230][2024-10-09T20:48:36]i201: Planned package: WindowsVista_MSU_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None

    [16EC:3230][2024-10-09T20:48:36]i201: Planned package: WindowsVista_MSU_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None

    [16EC:3230][2024-10-09T20:48:36]i201: Planned package: vcRuntimeMinimum_x64, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: Register

    [16EC:3230][2024-10-09T20:48:36]i201: Planned package: vcRuntimeAdditional_x64, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: Register

    [16EC:3230][2024-10-09T20:48:36]i201: Planned package: vcRuntime_arm64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None

    [16EC:3230][2024-10-09T20:48:36]i299: Plan complete, result: 0x0

    [16EC:3230][2024-10-09T20:48:36]i300: Apply begin

    [16EC:3230][2024-10-09T20:48:36]i010: Launching elevated engine process.

    [16EC:3230][2024-10-09T20:48:38]i011: Launched elevated engine process.

    [16EC:3230][2024-10-09T20:48:38]i012: Connected to elevated engine.

    [3874:5414][2024-10-09T20:48:38]i358: Pausing automatic updates.

    [3874:5414][2024-10-09T20:48:38]i359: Paused automatic updates.

    [3874:5414][2024-10-09T20:48:38]i360: Creating a system restore point.

    [3874:5414][2024-10-09T20:48:38]i361: Created a system restore point.

    [3874:5414][2024-10-09T20:48:38]i370: Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{5af95fd8-a22e-458f-acee-c61bd787178e}, options: 0x7, disable resume: No

    [3874:5414][2024-10-09T20:48:38]i000: Caching bundle from: 'C:\Users\kaiun\AppData\Local\Temp{47EEB77D-1536-488A-909D-6098B07957DF}.be\VC_redist.x64.exe' to: 'C:\ProgramData\Package Cache{5af95fd8-a22e-458f-acee-c61bd787178e}\VC_redist.x64.exe'

    [3874:5414][2024-10-09T20:48:38]i320: Registering bundle dependency provider: VC,redist.x64,amd64,14.40,bundle, version: 14.40.33810.0

    [3874:5414][2024-10-09T20:48:38]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{5af95fd8-a22e-458f-acee-c61bd787178e}, resume: Active, restart initiated: No, disable resume: No

    [3874:037C][2024-10-09T20:48:38]i304: Verified existing payload: vcRuntimeMinimum_x64 at path: C:\ProgramData\Package Cache{B8B3BB4A-A10D-4F51-91B7-A64FFAC31EA7}v14.40.33810\packages\vcRuntimeMinimum_amd64\vc_runtimeMinimum_x64.msi.

    [3874:037C][2024-10-09T20:48:38]i304: Verified existing payload: cab5046A8AB272BF37297BB7928664C9503 at path: C:\ProgramData\Package Cache{B8B3BB4A-A10D-4F51-91B7-A64FFAC31EA7}v14.40.33810\packages\vcRuntimeMinimum_amd64\cab1.cab.

    [3874:037C][2024-10-09T20:48:38]i304: Verified existing payload: vcRuntimeAdditional_x64 at path: C:\ProgramData\Package Cache{59CED48F-EBFE-480C-8A38-FC079C2BEC0F}v14.40.33810\packages\vcRuntimeAdditional_amd64\vc_runtimeAdditional_x64.msi.

    [3874:037C][2024-10-09T20:48:38]i304: Verified existing payload: cab2C04DDC374BD96EB5C8EB8208F2C7C92 at path: C:\ProgramData\Package Cache{59CED48F-EBFE-480C-8A38-FC079C2BEC0F}v14.40.33810\packages\vcRuntimeAdditional_amd64\cab1.cab.

    [3874:5414][2024-10-09T20:48:38]i301: Applying execute package: vcRuntimeMinimum_x64, action: Install, path: C:\ProgramData\Package Cache{B8B3BB4A-A10D-4F51-91B7-A64FFAC31EA7}v14.40.33810\packages\vcRuntimeMinimum_amd64\vc_runtimeMinimum_x64.msi, arguments: ' MSIFASTINSTALL="7" NOVSUI="1"'

    [3874:5414][2024-10-09T20:58:02]e000: Error 0x80070643: Failed to install MSI package.

    [3874:5414][2024-10-09T20:58:02]e000: Error 0x80070643: Failed to execute MSI package.

    [16EC:3230][2024-10-09T20:58:02]e000: Error 0x80070643: Failed to configure per-machine MSI package.

    [16EC:3230][2024-10-09T20:58:02]i319: Applied execute package: vcRuntimeMinimum_x64, result: 0x80070643, restart: None

    [16EC:3230][2024-10-09T20:58:02]e000: Error 0x80070643: Failed to execute MSI package.

    [3874:5414][2024-10-09T20:58:02]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{5af95fd8-a22e-458f-acee-c61bd787178e}, resume: None, restart: None, disable resume: No

    [3874:5414][2024-10-09T20:58:02]i330: Removed bundle dependency provider: VC,redist.x64,amd64,14.40,bundle

    [3874:5414][2024-10-09T20:58:02]i352: Removing cached bundle: {5af95fd8-a22e-458f-acee-c61bd787178e}, from path: C:\ProgramData\Package Cache{5af95fd8-a22e-458f-acee-c61bd787178e}\

    [3874:5414][2024-10-09T20:58:02]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{5af95fd8-a22e-458f-acee-c61bd787178e}, resume: None, restart initiated: No, disable resume: No

    [16EC:3230][2024-10-09T20:58:02]i399: Apply complete, result: 0x80070643, restart: None, ba requested restart: No

    Was this answer helpful?

    0 comments No comments