Installation of C++ Redistributable failing with strange error

A_G_23 0 Reputation points
2023-11-15T15:27:40.3+00:00

I was asked by MS agent Wesley Li to repost this here.

I have a single 2012 R2 server this is happening with, and I believe it's also preventing the upgrade of the operating system because when I attempted the OS upgrade it failed with a message about a problem due to an installed component. This is the only system in our entire environment that I've seen this issue. Initially I wouldn't have known to look for this specifically, but an attempt to upgrade VMware tools led to the discovery that trying to install/update/repair C++ Redistributable on the system is failing every time.

As a sidenote - the server does have a bunch of older C++ Redistributable versions installed, but I'm afraid to just attempt to rip it all out since I'm worried the software installed on the server might require one or more of those. I've attempted a few things from the scarce posts I found online with a similar issue - which sadly looks in most cases like it was never resolved for others.

Manually running the latest C++ Redistributable installer ends up erroring as seen here:

2023-11-14 09_27_39

2023-11-14 09_28_23

2023-11-14 09_29_45

Here are the contents of the generated log file:

[0FE4:0D84][2023-11-14T10:26:47]i001: Burn v3.10.4.4718, Windows v6.3 (Build 9600: Service Pack 0), path: C:\Windows\Temp{C93BE7AE-B8BD-427C-B43A-F9D7BE51AF9A}.cr\VC_redist.x64.exe

[0FE4:0D84][2023-11-14T10:26:47]i009: Command Line: '-burn.clean.room=C:\Users\Administrator\Downloads\VC_redist.x64.exe -burn.filehandle.attached=324 -burn.filehandle.self=332'

[0FE4:0D84][2023-11-14T10:26:47]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\Administrator\Downloads\VC_redist.x64.exe'

[0FE4:0D84][2023-11-14T10:26:47]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Users\Administrator\Downloads'

[0FE4:0D84][2023-11-14T10:26:47]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\ADMINI~1\AppData\Local\Temp\dd_vcredist_amd64_20231114102647.log'

[0FE4:0D84][2023-11-14T10:26:47]i000: Setting string variable 'WixBundleName' to value 'Microsoft Visual C++ 2015-2022 Redistributable (x64) - 14.36.32532'

[0FE4:0D84][2023-11-14T10:26:47]i000: Setting string variable 'WixBundleManufacturer' to value 'Microsoft Corporation'

[0FE4:012C][2023-11-14T10:26:47]i000: Setting version variable 'WixBundleFileVersion' to value '14.36.32532.0'

[0FE4:0D84][2023-11-14T10:26:47]i100: Detect begin, 11 packages

[0FE4:0D84][2023-11-14T10:26:47]i000: Setting string variable 'Arm64_Check' to value 'AMD64'

[0FE4:0D84][2023-11-14T10:26:47]i000: Setting version variable 'windows_uCRT_DetectKey' to value '10.0.14393.2990'

[0FE4:0D84][2023-11-14T10:26:47]i000: Setting numeric variable 'windows_uCRT_DetectKeyExists' to value 1

[0FE4:0D84][2023-11-14T10:26:47]i052: Condition '(VersionNT = v6.3 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.

[0FE4:0D84][2023-11-14T10:26:47]i052: Condition '(VersionNT = v6.3 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to true.

[0FE4:0D84][2023-11-14T10:26:47]i052: Condition '(VersionNT = v6.2 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.

[0FE4:0D84][2023-11-14T10:26:47]i052: Condition '(VersionNT = v6.2 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.

[0FE4:0D84][2023-11-14T10:26:47]i052: Condition '(VersionNT = v6.1 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.

[0FE4:0D84][2023-11-14T10:26:47]i052: Condition '(VersionNT = v6.1 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.

[0FE4:0D84][2023-11-14T10:26:47]i052: Condition '(VersionNT = v6.0 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.

[0FE4:0D84][2023-11-14T10:26:47]i052: Condition '(VersionNT = v6.0 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.

[0FE4:0D84][2023-11-14T10:26:47]i103: Detected related package: {3407B900-37F5-4CC2-B612-5CD5D580A163}, scope: PerMachine, version: 14.32.31332.0, language: 0 operation: MajorUpgrade

[0FE4:0D84][2023-11-14T10:26:47]i103: Detected related package: {F4499EE3-A166-496C-81BB-51D1BCDC70A9}, scope: PerMachine, version: 14.32.31332.0, language: 0 operation: MajorUpgrade

[0FE4:0D84][2023-11-14T10:26:47]i103: Detected related package: {3407B900-37F5-4CC2-B612-5CD5D580A163}, scope: PerMachine, version: 14.32.31332.0, language: 0 operation: MajorUpgrade

[0FE4:0D84][2023-11-14T10:26:47]i103: Detected related package: {F4499EE3-A166-496C-81BB-51D1BCDC70A9}, scope: PerMachine, version: 14.32.31332.0, language: 0 operation: MajorUpgrade

[0FE4:0D84][2023-11-14T10:26:47]i101: Detected package: Windows81_x86, state: Absent, cached: None

[0FE4:0D84][2023-11-14T10:26:47]i101: Detected package: Windows81_x64, state: Present, cached: None

[0FE4:0D84][2023-11-14T10:26:47]i101: Detected package: Windows8_x86, state: Absent, cached: None

[0FE4:0D84][2023-11-14T10:26:47]i101: Detected package: Windows8_x64, state: Absent, cached: None

[0FE4:0D84][2023-11-14T10:26:47]i101: Detected package: Windows7_MSU_x86, state: Absent, cached: None

[0FE4:0D84][2023-11-14T10:26:47]i101: Detected package: Windows7_MSU_x64, state: Absent, cached: None

[0FE4:0D84][2023-11-14T10:26:47]i101: Detected package: WindowsVista_MSU_x86, state: Absent, cached: None

[0FE4:0D84][2023-11-14T10:26:47]i101: Detected package: WindowsVista_MSU_x64, state: Absent, cached: None

[0FE4:0D84][2023-11-14T10:26:47]i101: Detected package: vcRuntimeMinimum_x64, state: Absent, cached: Complete

[0FE4:0D84][2023-11-14T10:26:47]i101: Detected package: vcRuntimeAdditional_x64, state: Absent, cached: Complete

[0FE4:0D84][2023-11-14T10:26:47]i101: Detected package: vcRuntime_arm64, state: Absent, cached: None

[0FE4:0D84][2023-11-14T10:26:47]i052: Condition 'VersionNT >= v6.1' evaluates to true.

[0FE4:0D84][2023-11-14T10:26:47]i199: Detect complete, result: 0x0

[0FE4:012C][2023-11-14T10:27:06]i000: Setting numeric variable 'EulaAcceptCheckbox' to value 1

[0FE4:0D84][2023-11-14T10:27:06]i200: Plan begin, 11 packages, action: Install

[0FE4:0D84][2023-11-14T10:27:06]i052: Condition 'VersionNT = v6.3 AND NOT VersionNT64' evaluates to false.

[0FE4:0D84][2023-11-14T10:27:06]w321: Skipping dependency registration on package with no dependency providers: Windows81_x86

[0FE4:0D84][2023-11-14T10:27:06]i052: Condition 'VersionNT = v6.3 AND VersionNT64' evaluates to true.

[0FE4:0D84][2023-11-14T10:27:06]w321: Skipping dependency registration on package with no dependency providers: Windows81_x64

[0FE4:0D84][2023-11-14T10:27:06]i052: Condition 'VersionNT = v6.2 AND NOT VersionNT64' evaluates to false.

[0FE4:0D84][2023-11-14T10:27:06]w321: Skipping dependency registration on package with no dependency providers: Windows8_x86

[0FE4:0D84][2023-11-14T10:27:06]i052: Condition 'VersionNT = v6.2 AND VersionNT64' evaluates to false.

[0FE4:0D84][2023-11-14T10:27:06]w321: Skipping dependency registration on package with no dependency providers: Windows8_x64

[0FE4:0D84][2023-11-14T10:27:06]i052: Condition 'VersionNT = v6.1 AND NOT VersionNT64' evaluates to false.

[0FE4:0D84][2023-11-14T10:27:06]w321: Skipping dependency registration on package with no dependency providers: Windows7_MSU_x86

[0FE4:0D84][2023-11-14T10:27:06]i052: Condition 'VersionNT = v6.1 AND VersionNT64' evaluates to false.

[0FE4:0D84][2023-11-14T10:27:06]w321: Skipping dependency registration on package with no dependency providers: Windows7_MSU_x64

[0FE4:0D84][2023-11-14T10:27:06]i052: Condition 'VersionNT = v6.0 AND NOT VersionNT64' evaluates to false.

[0FE4:0D84][2023-11-14T10:27:06]w321: Skipping dependency registration on package with no dependency providers: WindowsVista_MSU_x86

[0FE4:0D84][2023-11-14T10:27:06]i052: Condition 'VersionNT = v6.0 AND VersionNT64' evaluates to false.

[0FE4:0D84][2023-11-14T10:27:06]w321: Skipping dependency registration on package with no dependency providers: WindowsVista_MSU_x64

[0FE4:0D84][2023-11-14T10:27:06]i052: Condition '(VersionNT64) AND NOT (Arm64_Check = "ARM64")' evaluates to true.

[0FE4:0D84][2023-11-14T10:27:06]i000: Setting string variable 'WixBundleRollbackLog_vcRuntimeMinimum_x64' to value 'C:\Users\ADMINI~1\AppData\Local\Temp\dd_vcredist_amd64_20231114102647_000_vcRuntimeMinimum_x64_rollback.log'

[0FE4:0D84][2023-11-14T10:27:06]i000: Setting string variable 'WixBundleLog_vcRuntimeMinimum_x64' to value 'C:\Users\ADMINI~1\AppData\Local\Temp\dd_vcredist_amd64_20231114102647_000_vcRuntimeMinimum_x64.log'

[0FE4:0D84][2023-11-14T10:27:06]i052: Condition '(VersionNT64) AND NOT (Arm64_Check = "ARM64")' evaluates to true.

[0FE4:0D84][2023-11-14T10:27:06]i000: Setting string variable 'WixBundleRollbackLog_vcRuntimeAdditional_x64' to value 'C:\Users\ADMINI~1\AppData\Local\Temp\dd_vcredist_amd64_20231114102647_001_vcRuntimeAdditional_x64_rollback.log'

[0FE4:0D84][2023-11-14T10:27:06]i000: Setting string variable 'WixBundleLog_vcRuntimeAdditional_x64' to value 'C:\Users\ADMINI~1\AppData\Local\Temp\dd_vcredist_amd64_20231114102647_001_vcRuntimeAdditional_x64.log'

[0FE4:0D84][2023-11-14T10:27:06]i052: Condition 'Arm64_Check = "ARM64"' evaluates to false.

[0FE4:0D84][2023-11-14T10:27:06]i201: Planned package: Windows81_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None

[0FE4:0D84][2023-11-14T10:27:06]i201: Planned package: Windows81_x64, state: Present, default requested: Present, ba requested: Present, execute: None, rollback: None, cache: No, uncache: No, dependency: None

[0FE4:0D84][2023-11-14T10:27:06]i201: Planned package: Windows8_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None

[0FE4:0D84][2023-11-14T10:27:06]i201: Planned package: Windows8_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None

[0FE4:0D84][2023-11-14T10:27:06]i201: Planned package: Windows7_MSU_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None

[0FE4:0D84][2023-11-14T10:27:06]i201: Planned package: Windows7_MSU_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None

[0FE4:0D84][2023-11-14T10:27:06]i201: Planned package: WindowsVista_MSU_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None

[0FE4:0D84][2023-11-14T10:27:06]i201: Planned package: WindowsVista_MSU_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None

[0FE4:0D84][2023-11-14T10:27:06]i201: Planned package: vcRuntimeMinimum_x64, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: Register

[0FE4:0D84][2023-11-14T10:27:06]i201: Planned package: vcRuntimeAdditional_x64, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: Register

[0FE4:0D84][2023-11-14T10:27:06]i201: Planned package: vcRuntime_arm64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None

[0FE4:0D84][2023-11-14T10:27:06]i299: Plan complete, result: 0x0

[0FE4:0D84][2023-11-14T10:27:06]i300: Apply begin

[0FE4:0D84][2023-11-14T10:27:06]i010: Launching elevated engine process.

[0FE4:0D84][2023-11-14T10:27:06]i011: Launched elevated engine process.

[0FE4:0D84][2023-11-14T10:27:06]i012: Connected to elevated engine.

[0DF8:0564][2023-11-14T10:27:06]i358: Pausing automatic updates.

[0DF8:0564][2023-11-14T10:27:07]i359: Paused automatic updates.

[0DF8:0564][2023-11-14T10:27:07]i360: Creating a system restore point.

[0DF8:0564][2023-11-14T10:27:07]i362: System restore disabled, system restore point not created.

[0DF8:0564][2023-11-14T10:27:07]i370: Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{8bdfe669-9705-4184-9368-db9ce581e0e7}, options: 0x7, disable resume: No

[0DF8:0564][2023-11-14T10:27:07]i000: Caching bundle from: 'C:\Windows\Temp{AC140CF0-F3F2-4CF6-BA96-C0208997EF3D}.be\VC_redist.x64.exe' to: 'C:\ProgramData\Package Cache{8bdfe669-9705-4184-9368-db9ce581e0e7}\VC_redist.x64.exe'

[0DF8:0564][2023-11-14T10:27:07]i320: Registering bundle dependency provider: VC,redist.x64,amd64,14.36,bundle, version: 14.36.32532.0

[0DF8:0564][2023-11-14T10:27:07]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{8bdfe669-9705-4184-9368-db9ce581e0e7}, resume: Active, restart initiated: No, disable resume: No

[0DF8:0724][2023-11-14T10:27:07]i304: Verified existing payload: vcRuntimeMinimum_x64 at path: C:\ProgramData\Package Cache{D5D19E2F-7189-42FE-8103-92CD1FA457C2}v14.36.32532\packages\vcRuntimeMinimum_amd64\vc_runtimeMinimum_x64.msi.

[0DF8:0724][2023-11-14T10:27:07]i304: Verified existing payload: cab5046A8AB272BF37297BB7928664C9503 at path: C:\ProgramData\Package Cache{D5D19E2F-7189-42FE-8103-92CD1FA457C2}v14.36.32532\packages\vcRuntimeMinimum_amd64\cab1.cab.

[0DF8:0724][2023-11-14T10:27:07]i304: Verified existing payload: vcRuntimeAdditional_x64 at path: C:\ProgramData\Package Cache{0025DD72-A959-45B5-A0A3-7EFEB15A8050}v14.36.32532\packages\vcRuntimeAdditional_amd64\vc_runtimeAdditional_x64.msi.

[0DF8:0724][2023-11-14T10:27:08]i304: Verified existing payload: cab2C04DDC374BD96EB5C8EB8208F2C7C92 at path: C:\ProgramData\Package Cache{0025DD72-A959-45B5-A0A3-7EFEB15A8050}v14.36.32532\packages\vcRuntimeAdditional_amd64\cab1.cab.

[0DF8:0564][2023-11-14T10:27:08]i301: Applying execute package: vcRuntimeMinimum_x64, action: Install, path: C:\ProgramData\Package Cache{D5D19E2F-7189-42FE-8103-92CD1FA457C2}v14.36.32532\packages\vcRuntimeMinimum_amd64\vc_runtimeMinimum_x64.msi, arguments: ' MSIFASTINSTALL="7" NOVSUI="1"'

[0DF8:0564][2023-11-14T10:28:38]e000: Error 0x80070643: Failed to install MSI package.

[0DF8:0564][2023-11-14T10:28:38]e000: Error 0x80070643: Failed to execute MSI package.

[0FE4:0D84][2023-11-14T10:28:38]e000: Error 0x80070643: Failed to configure per-machine MSI package.

[0FE4:0D84][2023-11-14T10:28:38]i319: Applied execute package: vcRuntimeMinimum_x64, result: 0x80070643, restart: None

[0FE4:0D84][2023-11-14T10:28:38]e000: Error 0x80070643: Failed to execute MSI package.

[0DF8:0564][2023-11-14T10:28:38]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{8bdfe669-9705-4184-9368-db9ce581e0e7}, resume: None, restart: None, disable resume: No

[0DF8:0564][2023-11-14T10:28:38]i330: Removed bundle dependency provider: VC,redist.x64,amd64,14.36,bundle

[0DF8:0564][2023-11-14T10:28:38]i352: Removing cached bundle: {8bdfe669-9705-4184-9368-db9ce581e0e7}, from path: C:\ProgramData\Package Cache{8bdfe669-9705-4184-9368-db9ce581e0e7}\

[0DF8:0564][2023-11-14T10:28:38]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{8bdfe669-9705-4184-9368-db9ce581e0e7}, resume: None, restart initiated: No, disable resume: No

[0FE4:0D84][2023-11-14T10:28:38]i399: Apply complete, result: 0x80070643, restart: None, ba requested restart: No

Windows Server 2012
Windows Server 2012
A Microsoft server operating system that supports enterprise-level management, data storage, applications, and communications.
1,606 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,364 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,786 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,058 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Anonymous
    2023-11-15T15:37:16.2433333+00:00

    In-place upgrades can be problematic for any number of reasons. The operating system does not use or require the C++ runtime so you could try removing it but time may be better spent standing up a new one, patch fully, migrate roles over and move on.

    --please don't forget to close up the thread here by marking answer if the reply is helpful--


  2. Anonymous
    2023-11-15T15:49:43.4433333+00:00

    OS appears to be corrupt. You could try this one.

    https://support.microsoft.com/en-us/topic/fix-problems-that-block-programs-from-being-installed-or-removed-cca7d1b6-65a9-3d98-426b-e9f927e1eb4d

    --please don't forget to close up the thread here by marking answer if the reply is helpful--


  3. Tianyu Sun-MSFT 31,606 Reputation points Microsoft Vendor
    2023-11-21T09:15:57.4733333+00:00

    Hi @A_G_23 ,

    If you didn’t uninstall the Minimum Runtime(Microsoft Visual C++ 2015-2022 Redistributable (x64) Minimum Runtime -14.36.32532/Microsoft Visual C++ 2022 X64 Minimum Runtime -14.36.32532) and Additional Runtime(Microsoft Visual C++ 2015-2022 Redistributable (x64) Additional Runtime -14.36.32532/Microsoft Visual C++ 2022 X64 Additional Runtime – 14.36.32532) by using troubleshooter tool, then please also try to uninstall them by using the troubleshooter tool and check again.

    Sincerely,

    Tianyu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.