i cant install C++ on my new Windows 11 computer

Aria norman 0 Reputation points
2024-07-15T08:47:29.9666667+00:00

User's image

i cant get it to install i dont know why it stops and just gives me this and refuses to do anything else
and here is the logs
[4B6C:0884][2024-07-15T05:25:20]i001: Burn v3.10.4.4718, Windows v10.0 (Build 22631: Service Pack 0), path: C:\Users\blade\AppData\Local\Temp{D7DF039E-2F12-472F-BC1B-7CC95E925612}.cr\VC_redist.x64.exe

[4B6C:0884][2024-07-15T05:25:20]i009: Command Line: '-burn.clean.room=C:\Users\blade\AppData\Local\Temp\scoped_dir9492_60334198\VC_redist.x64.exe -burn.filehandle.attached=592 -burn.filehandle.self=708'

[4B6C:0884][2024-07-15T05:25:20]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\blade\AppData\Local\Temp\scoped_dir9492_60334198\VC_redist.x64.exe'

[4B6C:0884][2024-07-15T05:25:20]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Users\blade\AppData\Local\Temp\scoped_dir9492_60334198'

[4B6C:0884][2024-07-15T05:25:20]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\blade\AppData\Local\Temp\dd_vcredist_amd64_20240715052520.log'

[4B6C:0884][2024-07-15T05:25:20]i000: Setting string variable 'WixBundleName' to value 'Microsoft Visual C++ 2015-2022 Redistributable (x64) - 14.40.33810'

[4B6C:0884][2024-07-15T05:25:20]i000: Setting string variable 'WixBundleManufacturer' to value 'Microsoft Corporation'

[4B6C:2C54][2024-07-15T05:25:20]i000: Setting version variable 'WixBundleFileVersion' to value '14.40.33810.0'

[4B6C:0884][2024-07-15T05:25:20]i100: Detect begin, 11 packages

[4B6C:0884][2024-07-15T05:25:20]i000: Setting string variable 'Arm64_Check' to value 'AMD64'

[4B6C:0884][2024-07-15T05:25:20]i000: Setting version variable 'windows_uCRT_DetectKey' to value '10.0.22621.3593'

[4B6C:0884][2024-07-15T05:25:20]i000: Setting numeric variable 'windows_uCRT_DetectKeyExists' to value 1

[4B6C:0884][2024-07-15T05:25:20]i052: Condition '(VersionNT = v6.3 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.

[4B6C:0884][2024-07-15T05:25:20]i052: Condition '(VersionNT = v6.3 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.

[4B6C:0884][2024-07-15T05:25:20]i052: Condition '(VersionNT = v6.2 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.

[4B6C:0884][2024-07-15T05:25:20]i052: Condition '(VersionNT = v6.2 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.

[4B6C:0884][2024-07-15T05:25:20]i052: Condition '(VersionNT = v6.1 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.

[4B6C:0884][2024-07-15T05:25:20]i052: Condition '(VersionNT = v6.1 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.

[4B6C:0884][2024-07-15T05:25:20]i052: Condition '(VersionNT = v6.0 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.

[4B6C:0884][2024-07-15T05:25:20]i052: Condition '(VersionNT = v6.0 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.

[4B6C:0884][2024-07-15T05:25:20]i101: Detected package: Windows81_x86, state: Absent, cached: None

[4B6C:0884][2024-07-15T05:25:20]i101: Detected package: Windows81_x64, state: Absent, cached: None

[4B6C:0884][2024-07-15T05:25:20]i101: Detected package: Windows8_x86, state: Absent, cached: None

[4B6C:0884][2024-07-15T05:25:20]i101: Detected package: Windows8_x64, state: Absent, cached: None

[4B6C:0884][2024-07-15T05:25:20]i101: Detected package: Windows7_MSU_x86, state: Absent, cached: None

[4B6C:0884][2024-07-15T05:25:20]i101: Detected package: Windows7_MSU_x64, state: Absent, cached: None

[4B6C:0884][2024-07-15T05:25:20]i101: Detected package: WindowsVista_MSU_x86, state: Absent, cached: None

[4B6C:0884][2024-07-15T05:25:20]i101: Detected package: WindowsVista_MSU_x64, state: Absent, cached: None

[4B6C:0884][2024-07-15T05:25:20]i101: Detected package: vcRuntimeMinimum_x64, state: Absent, cached: Complete

[4B6C:0884][2024-07-15T05:25:20]i101: Detected package: vcRuntimeAdditional_x64, state: Absent, cached: Complete

[4B6C:0884][2024-07-15T05:25:20]i101: Detected package: vcRuntime_arm64, state: Absent, cached: None

[4B6C:0884][2024-07-15T05:25:20]i052: Condition 'VersionNT >= v6.1' evaluates to true.

[4B6C:0884][2024-07-15T05:25:20]i199: Detect complete, result: 0x0

[4B6C:2C54][2024-07-15T05:25:22]i000: Setting numeric variable 'EulaAcceptCheckbox' to value 1

[4B6C:0884][2024-07-15T05:25:22]i200: Plan begin, 11 packages, action: Install

[4B6C:0884][2024-07-15T05:25:22]i052: Condition 'VersionNT = v6.3 AND NOT VersionNT64' evaluates to false.

[4B6C:0884][2024-07-15T05:25:22]w321: Skipping dependency registration on package with no dependency providers: Windows81_x86

[4B6C:0884][2024-07-15T05:25:22]i052: Condition 'VersionNT = v6.3 AND VersionNT64' evaluates to false.

[4B6C:0884][2024-07-15T05:25:22]w321: Skipping dependency registration on package with no dependency providers: Windows81_x64

[4B6C:0884][2024-07-15T05:25:22]i052: Condition 'VersionNT = v6.2 AND NOT VersionNT64' evaluates to false.

[4B6C:0884][2024-07-15T05:25:22]w321: Skipping dependency registration on package with no dependency providers: Windows8_x86

[4B6C:0884][2024-07-15T05:25:22]i052: Condition 'VersionNT = v6.2 AND VersionNT64' evaluates to false.

[4B6C:0884][2024-07-15T05:25:22]w321: Skipping dependency registration on package with no dependency providers: Windows8_x64

[4B6C:0884][2024-07-15T05:25:22]i052: Condition 'VersionNT = v6.1 AND NOT VersionNT64' evaluates to false.

[4B6C:0884][2024-07-15T05:25:22]w321: Skipping dependency registration on package with no dependency providers: Windows7_MSU_x86

[4B6C:0884][2024-07-15T05:25:22]i052: Condition 'VersionNT = v6.1 AND VersionNT64' evaluates to false.

[4B6C:0884][2024-07-15T05:25:22]w321: Skipping dependency registration on package with no dependency providers: Windows7_MSU_x64

[4B6C:0884][2024-07-15T05:25:22]i052: Condition 'VersionNT = v6.0 AND NOT VersionNT64' evaluates to false.

[4B6C:0884][2024-07-15T05:25:22]w321: Skipping dependency registration on package with no dependency providers: WindowsVista_MSU_x86

[4B6C:0884][2024-07-15T05:25:22]i052: Condition 'VersionNT = v6.0 AND VersionNT64' evaluates to false.

[4B6C:0884][2024-07-15T05:25:22]w321: Skipping dependency registration on package with no dependency providers: WindowsVista_MSU_x64

[4B6C:0884][2024-07-15T05:25:22]i052: Condition '(VersionNT64) AND NOT (Arm64_Check = "ARM64")' evaluates to true.

[4B6C:0884][2024-07-15T05:25:22]i000: Setting string variable 'WixBundleRollbackLog_vcRuntimeMinimum_x64' to value 'C:\Users\blade\AppData\Local\Temp\dd_vcredist_amd64_20240715052520_000_vcRuntimeMinimum_x64_rollback.log'

[4B6C:0884][2024-07-15T05:25:22]i000: Setting string variable 'WixBundleLog_vcRuntimeMinimum_x64' to value 'C:\Users\blade\AppData\Local\Temp\dd_vcredist_amd64_20240715052520_000_vcRuntimeMinimum_x64.log'

[4B6C:0884][2024-07-15T05:25:22]i052: Condition '(VersionNT64) AND NOT (Arm64_Check = "ARM64")' evaluates to true.

[4B6C:0884][2024-07-15T05:25:22]i000: Setting string variable 'WixBundleRollbackLog_vcRuntimeAdditional_x64' to value 'C:\Users\blade\AppData\Local\Temp\dd_vcredist_amd64_20240715052520_001_vcRuntimeAdditional_x64_rollback.log'

[4B6C:0884][2024-07-15T05:25:22]i000: Setting string variable 'WixBundleLog_vcRuntimeAdditional_x64' to value 'C:\Users\blade\AppData\Local\Temp\dd_vcredist_amd64_20240715052520_001_vcRuntimeAdditional_x64.log'

[4B6C:0884][2024-07-15T05:25:22]i052: Condition 'Arm64_Check = "ARM64"' evaluates to false.

[4B6C:0884][2024-07-15T05:25:22]i201: Planned package: Windows81_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None

[4B6C:0884][2024-07-15T05:25:22]i201: Planned package: Windows81_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None

[4B6C:0884][2024-07-15T05:25:22]i201: Planned package: Windows8_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None

[4B6C:0884][2024-07-15T05:25:22]i201: Planned package: Windows8_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None

[4B6C:0884][2024-07-15T05:25:22]i201: Planned package: Windows7_MSU_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None

[4B6C:0884][2024-07-15T05:25:22]i201: Planned package: Windows7_MSU_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None

[4B6C:0884][2024-07-15T05:25:22]i201: Planned package: WindowsVista_MSU_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None

[4B6C:0884][2024-07-15T05:25:22]i201: Planned package: WindowsVista_MSU_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None

[4B6C:0884][2024-07-15T05:25:22]i201: Planned package: vcRuntimeMinimum_x64, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: Register

[4B6C:0884][2024-07-15T05:25:22]i201: Planned package: vcRuntimeAdditional_x64, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: Register

[4B6C:0884][2024-07-15T05:25:22]i201: Planned package: vcRuntime_arm64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None

[4B6C:0884][2024-07-15T05:25:22]i299: Plan complete, result: 0x0

[4B6C:0884][2024-07-15T05:25:22]i300: Apply begin

[4B6C:0884][2024-07-15T05:25:22]i010: Launching elevated engine process.

[4B6C:0884][2024-07-15T05:25:22]i011: Launched elevated engine process.

[4B6C:0884][2024-07-15T05:25:22]i012: Connected to elevated engine.

[4DD4:3158][2024-07-15T05:25:22]i358: Pausing automatic updates.

[4DD4:3158][2024-07-15T05:25:22]i359: Paused automatic updates.

[4DD4:3158][2024-07-15T05:25:22]i360: Creating a system restore point.

[4DD4:3158][2024-07-15T05:25:22]i361: Created a system restore point.

[4DD4:3158][2024-07-15T05:25:22]i370: Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{5af95fd8-a22e-458f-acee-c61bd787178e}, options: 0x7, disable resume: No

[4DD4:3158][2024-07-15T05:25:22]i000: Caching bundle from: 'C:\Users\blade\AppData\Local\Temp{47E41E0F-AAEB-4AE6-BC16-8453408512DC}.be\VC_redist.x64.exe' to: 'C:\ProgramData\Package Cache{5af95fd8-a22e-458f-acee-c61bd787178e}\VC_redist.x64.exe'

[4DD4:3158][2024-07-15T05:25:22]i320: Registering bundle dependency provider: VC,redist.x64,amd64,14.40,bundle, version: 14.40.33810.0

[4DD4:3158][2024-07-15T05:25:22]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{5af95fd8-a22e-458f-acee-c61bd787178e}, resume: Active, restart initiated: No, disable resume: No

[4DD4:4D6C][2024-07-15T05:25:22]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.

[4DD4:4D6C][2024-07-15T05:25:22]i304: Verified existing payload: cab5046A8AB272BF37297BB7928664C9503 at path: C:\ProgramData\Package Cache{B8B3BB4A-A10D-4F51-91B7-A64FFAC31EA7}v14.40.33810\packages\vcRuntimeMinimum_amd64\cab1.cab.

[4DD4:4D6C][2024-07-15T05:25:22]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.

[4DD4:4D6C][2024-07-15T05:25:22]i304: Verified existing payload: cab2C04DDC374BD96EB5C8EB8208F2C7C92 at path: C:\ProgramData\Package Cache{59CED48F-EBFE-480C-8A38-FC079C2BEC0F}v14.40.33810\packages\vcRuntimeAdditional_amd64\cab1.cab.

[4DD4:3158][2024-07-15T05:25:22]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"'

[4DD4:3158][2024-07-15T05:25:25]e000: Error 0x80070652: Failed to install MSI package.

[4DD4:3158][2024-07-15T05:25:25]e000: Error 0x80070652: Failed to execute MSI package.

[4B6C:0884][2024-07-15T05:25:25]e000: Error 0x80070652: Failed to configure per-machine MSI package.

[4B6C:0884][2024-07-15T05:25:25]w348: Application requested retry of package: vcRuntimeMinimum_x64, encountered error: 0x80070652. Retrying...

[4DD4:3158][2024-07-15T05:25:28]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"'

[4DD4:3158][2024-07-15T05:25:31]e000: Error 0x80070652: Failed to install MSI package.

[4DD4:3158][2024-07-15T05:25:31]e000: Error 0x80070652: Failed to execute MSI package.

[4B6C:0884][2024-07-15T05:25:31]e000: Error 0x80070652: Failed to configure per-machine MSI package.

[4B6C:0884][2024-07-15T05:25:31]w348: Application requested retry of package: vcRuntimeMinimum_x64, encountered error: 0x80070652. Retrying...

[4DD4:3158][2024-07-15T05:25:34]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"'

[4DD4:3158][2024-07-15T05:25:37]e000: Error 0x80070652: Failed to install MSI package.

[4DD4:3158][2024-07-15T05:25:37]e000: Error 0x80070652: Failed to execute MSI package.

[4B6C:0884][2024-07-15T05:25:37]e000: Error 0x80070652: Failed to configure per-machine MSI package.

[4B6C:0884][2024-07-15T05:25:37]w348: Application requested retry of package: vcRuntimeMinimum_x64, encountered error: 0x80070652. Retrying...

[4DD4:3158][2024-07-15T05:25:40]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"'

[4DD4:3158][2024-07-15T05:25:43]e000: Error 0x80070652: Failed to install MSI package.

[4DD4:3158][2024-07-15T05:25:43]e000: Error 0x80070652: Failed to execute MSI package.

[4B6C:0884][2024-07-15T05:25:43]e000: Error 0x80070652: Failed to configure per-machine MSI package.

[4B6C:0884][2024-07-15T05:25:43]i319: Applied execute package: vcRuntimeMinimum_x64, result: 0x80070652, restart: None

[4B6C:0884][2024-07-15T05:25:43]e000: Error 0x80070652: Failed to execute MSI package.

[4DD4:3158][2024-07-15T05:25:43]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{5af95fd8-a22e-458f-acee-c61bd787178e}, resume: None, restart: None, disable resume: No

[4DD4:3158][2024-07-15T05:25:43]i330: Removed bundle dependency provider: VC,redist.x64,amd64,14.40,bundle

[4DD4:3158][2024-07-15T05:25:43]i352: Removing cached bundle: {5af95fd8-a22e-458f-acee-c61bd787178e}, from path: C:\ProgramData\Package Cache{5af95fd8-a22e-458f-acee-c61bd787178e}\

[4DD4:3158][2024-07-15T05:25:43]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{5af95fd8-a22e-458f-acee-c61bd787178e}, resume: None, restart initiated: No, disable resume: No

[4B6C:0884][2024-07-15T05:25:44]i399: Apply complete, result: 0x80070652, restart: None, ba requested restart: No

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,010 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,961 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 29,436 Reputation points Microsoft Vendor
    2024-07-16T05:29:17.3+00:00

    Hello @Aria norman ,

    Welcome to Microsoft Q&A forum.

    Please check and make sure that all the Windows OS upgrade/security patches have finished being installed(Windows Settings > Windows Update).

    Open Task Manager(Windows), check if there’s any running process(like Windows Installer) which blocks the installation. Wait for it finishes running/updating/scanning/installing, or end it(some may restart automatically after you end them, make sure that they won’t restart), then reinstall the Visual C++ Redistributable package.

    Please try to search Service in Windows Search box , right-click it and run it as administrator. Open the Services window, find the Windows Installer service, make sure that the Startup Type is set to Manual(right-click it > Properties), stop it temporarily(right-click it > Stop). Try to reinstall the Visual C++ Redistributable package.

    Best Regards,

    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.