none
how to Fix Microsoft Visual C++ 2015-2019 Redistributable Setup Failed error 0x80240017 RRS feed

  • Question

  •  am nable to Microsoft Visual C++ 14 (2017) and

    Universal C runtime update KB3118401 also fails

    Please help me to install Microsoft Visual C++ 2015-2019 Redistributable Setup on windows 7 x64

    Heres the log (failed setup):-

    dd_vcredist_amd64_20200507215413.log:

    [0604:0848][2020-05-07T21:54:13]i001: Burn v3.10.4.4718, Windows v6.1 (Build 7600: Service Pack 0), path: C:\Users\MUHAMM~1\AppData\Local\Temp\{C080DFCF-9919-4AA1-96EA-3EDE388B2291}\.cr\vc_redist.x64.exe

    [0604:0848][2020-05-07T21:54:13]i009: Command Line: '"-burn.clean.room=C:\Users\Muhammad Tahir Khan\Downloads\New folder (2)\vc_redist.x64.exe" -burn.filehandle.attached=172 -burn.filehandle.self=180'
    [0604:0848][2020-05-07T21:54:13]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\Muhammad Tahir Khan\Downloads\New folder (2)\vc_redist.x64.exe'
    [0604:0848][2020-05-07T21:54:13]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Users\Muhammad Tahir Khan\Downloads\New folder (2)\'
    [0604:0848][2020-05-07T21:54:13]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\MUHAMM~1\AppData\Local\Temp\dd_vcredist_amd64_20200507215413.log'
    [0604:0848][2020-05-07T21:54:13]i000: Setting string variable 'WixBundleName' to value 'Microsoft Visual C++ 2015-2019 Redistributable (x64) - 14.25.28508'
    [0604:0848][2020-05-07T21:54:13]i000: Setting string variable 'WixBundleManufacturer' to value 'Microsoft Corporation'
    [0604:04E8][2020-05-07T21:54:13]i000: Setting version variable 'WixBundleFileVersion' to value '14.25.28508.3'
    [0604:0848][2020-05-07T21:54:13]i100: Detect begin, 10 packages
    [0604:0848][2020-05-07T21:54:13]i000: File search: windows_uCRT_DetectKey, did not find path: C:\Windows\system32\ucrtbase.dll
    [0604:0848][2020-05-07T21:54:13]i000: File search: windows_uCRT_DetectKeyExists, did not find path: C:\Windows\system32\ucrtbase.dll
    [0604:0848][2020-05-07T21:54:13]i000: Setting numeric variable 'windows_uCRT_DetectKeyExists' to value 0
    [0604:0848][2020-05-07T21:54:13]i052: Condition '(VersionNT = v6.3 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
    [0604:0848][2020-05-07T21:54:13]i052: Condition '(VersionNT = v6.3 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
    [0604:0848][2020-05-07T21:54:13]i052: Condition '(VersionNT = v6.2 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
    [0604:0848][2020-05-07T21:54:13]i052: Condition '(VersionNT = v6.2 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
    [0604:0848][2020-05-07T21:54:13]i052: Condition '(VersionNT = v6.1 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
    [0604:0848][2020-05-07T21:54:13]i052: Condition '(VersionNT = v6.1 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
    [0604:0848][2020-05-07T21:54:13]i052: Condition '(VersionNT = v6.0 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
    [0604:0848][2020-05-07T21:54:13]i052: Condition '(VersionNT = v6.0 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
    [0604:0848][2020-05-07T21:54:13]i101: Detected package: Windows81_x86, state: Absent, cached: None
    [0604:0848][2020-05-07T21:54:13]i101: Detected package: Windows81_x64, state: Absent, cached: None
    [0604:0848][2020-05-07T21:54:13]i101: Detected package: Windows8_x86, state: Absent, cached: None
    [0604:0848][2020-05-07T21:54:13]i101: Detected package: Windows8_x64, state: Absent, cached: None
    [0604:0848][2020-05-07T21:54:13]i101: Detected package: Windows7_MSU_x86, state: Absent, cached: None
    [0604:0848][2020-05-07T21:54:13]i101: Detected package: Windows7_MSU_x64, state: Absent, cached: Complete
    [0604:0848][2020-05-07T21:54:13]i101: Detected package: WindowsVista_MSU_x86, state: Absent, cached: None
    [0604:0848][2020-05-07T21:54:13]i101: Detected package: WindowsVista_MSU_x64, state: Absent, cached: None
    [0604:0848][2020-05-07T21:54:13]i101: Detected package: vcRuntimeMinimum_x64, state: Absent, cached: Complete
    [0604:0848][2020-05-07T21:54:13]i101: Detected package: vcRuntimeAdditional_x64, state: Absent, cached: Complete
    [0604:0848][2020-05-07T21:54:13]i052: Condition 'VersionNT64 >= v6.0 OR (VersionNT64 = v5.2 AND ServicePackLevel >= 1)' evaluates to true.
    [0604:0848][2020-05-07T21:54:13]i199: Detect complete, result: 0x0
    [0604:04E8][2020-05-07T21:54:15]i000: Setting numeric variable 'EulaAcceptCheckbox' to value 1
    [0604:0848][2020-05-07T21:54:15]i200: Plan begin, 10 packages, action: Install
    [0604:0848][2020-05-07T21:54:15]i052: Condition 'VersionNT = v6.3 AND NOT VersionNT64' evaluates to false.
    [0604:0848][2020-05-07T21:54:15]w321: Skipping dependency registration on package with no dependency providers: Windows81_x86
    [0604:0848][2020-05-07T21:54:15]i052: Condition 'VersionNT = v6.3 AND VersionNT64' evaluates to false.
    [0604:0848][2020-05-07T21:54:15]w321: Skipping dependency registration on package with no dependency providers: Windows81_x64
    [0604:0848][2020-05-07T21:54:15]i052: Condition 'VersionNT = v6.2 AND NOT VersionNT64' evaluates to false.
    [0604:0848][2020-05-07T21:54:15]w321: Skipping dependency registration on package with no dependency providers: Windows8_x86
    [0604:0848][2020-05-07T21:54:15]i052: Condition 'VersionNT = v6.2 AND VersionNT64' evaluates to false.
    [0604:0848][2020-05-07T21:54:15]w321: Skipping dependency registration on package with no dependency providers: Windows8_x64
    [0604:0848][2020-05-07T21:54:15]i052: Condition 'VersionNT = v6.1 AND NOT VersionNT64' evaluates to false.
    [0604:0848][2020-05-07T21:54:15]w321: Skipping dependency registration on package with no dependency providers: Windows7_MSU_x86
    [0604:0848][2020-05-07T21:54:15]i052: Condition 'VersionNT = v6.1 AND VersionNT64' evaluates to true.
    [0604:0848][2020-05-07T21:54:15]w321: Skipping dependency registration on package with no dependency providers: Windows7_MSU_x64
    [0604:0848][2020-05-07T21:54:15]i052: Condition 'VersionNT = v6.0 AND NOT VersionNT64' evaluates to false.
    [0604:0848][2020-05-07T21:54:15]w321: Skipping dependency registration on package with no dependency providers: WindowsVista_MSU_x86
    [0604:0848][2020-05-07T21:54:15]i052: Condition 'VersionNT = v6.0 AND VersionNT64' evaluates to false.
    [0604:0848][2020-05-07T21:54:15]w321: Skipping dependency registration on package with no dependency providers: WindowsVista_MSU_x64
    [0604:0848][2020-05-07T21:54:15]i052: Condition '(VersionNT64)' evaluates to true.
    [0604:0848][2020-05-07T21:54:15]i000: Setting string variable 'WixBundleRollbackLog_vcRuntimeMinimum_x64' to value 'C:\Users\MUHAMM~1\AppData\Local\Temp\dd_vcredist_amd64_20200507215413_001_vcRuntimeMinimum_x64_rollback.log'
    [0604:0848][2020-05-07T21:54:15]i000: Setting string variable 'WixBundleLog_vcRuntimeMinimum_x64' to value 'C:\Users\MUHAMM~1\AppData\Local\Temp\dd_vcredist_amd64_20200507215413_001_vcRuntimeMinimum_x64.log'
    [0604:0848][2020-05-07T21:54:15]i052: Condition '(VersionNT64)' evaluates to true.
    [0604:0848][2020-05-07T21:54:15]i000: Setting string variable 'WixBundleRollbackLog_vcRuntimeAdditional_x64' to value 'C:\Users\MUHAMM~1\AppData\Local\Temp\dd_vcredist_amd64_20200507215413_002_vcRuntimeAdditional_x64_rollback.log'
    [0604:0848][2020-05-07T21:54:15]i000: Setting string variable 'WixBundleLog_vcRuntimeAdditional_x64' to value 'C:\Users\MUHAMM~1\AppData\Local\Temp\dd_vcredist_amd64_20200507215413_002_vcRuntimeAdditional_x64.log'
    [0604:0848][2020-05-07T21:54:15]i201: Planned package: Windows81_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
    [0604:0848][2020-05-07T21:54:15]i201: Planned package: Windows81_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
    [0604:0848][2020-05-07T21:54:15]i201: Planned package: Windows8_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
    [0604:0848][2020-05-07T21:54:15]i201: Planned package: Windows8_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
    [0604:0848][2020-05-07T21:54:15]i201: Planned package: Windows7_MSU_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
    [0604:0848][2020-05-07T21:54:15]i201: Planned package: Windows7_MSU_x64, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: None
    [0604:0848][2020-05-07T21:54:15]i201: Planned package: WindowsVista_MSU_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
    [0604:0848][2020-05-07T21:54:15]i201: Planned package: WindowsVista_MSU_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
    [0604:0848][2020-05-07T21:54:15]i201: Planned package: vcRuntimeMinimum_x64, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: Register
    [0604:0848][2020-05-07T21:54:15]i201: Planned package: vcRuntimeAdditional_x64, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: Register
    [0604:0848][2020-05-07T21:54:15]i299: Plan complete, result: 0x0
    [0604:0848][2020-05-07T21:54:15]i300: Apply begin
    [0604:0848][2020-05-07T21:54:15]i010: Launching elevated engine process.
    [0604:0848][2020-05-07T21:54:17]i011: Launched elevated engine process.
    [0604:0848][2020-05-07T21:54:17]i012: Connected to elevated engine.
    [0754:0528][2020-05-07T21:54:17]i358: Pausing automatic updates.
    [0754:0528][2020-05-07T21:54:17]i359: Paused automatic updates.
    [0754:0528][2020-05-07T21:54:17]i360: Creating a system restore point.
    [0754:0528][2020-05-07T21:54:32]i361: Created a system restore point.
    [0754:0528][2020-05-07T21:54:32]i370: Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{6913e92a-b64e-41c9-a5e6-cef39207fe89}, options: 0x7, disable resume: No
    [0754:0528][2020-05-07T21:54:32]i000: Caching bundle from: 'C:\Users\MUHAMM~1\AppData\Local\Temp\{44E53768-C6C9-4654-A312-33374FBEF2E6}\.be\VC_redist.x64.exe' to: 'C:\ProgramData\Package Cache\{6913e92a-b64e-41c9-a5e6-cef39207fe89}\VC_redist.x64.exe'
    [0754:0528][2020-05-07T21:54:32]i320: Registering bundle dependency provider: VC,redist.x64,amd64,14.25,bundle, version: 14.25.28508.3
    [0754:0528][2020-05-07T21:54:32]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{6913e92a-b64e-41c9-a5e6-cef39207fe89}, resume: Active, restart initiated: No, disable resume: No
    [0754:0ACC][2020-05-07T21:54:32]i304: Verified existing payload: Windows7_MSU_x64 at path: C:\ProgramData\Package Cache\54050A5F8AE7F0C56E553F0090146C17A1D2BF8D\packages\Patch\x64\Windows6.1-KB2999226-x64.msu.
    [0754:0ACC][2020-05-07T21:54:32]i304: Verified existing payload: vcRuntimeMinimum_x64 at path: C:\ProgramData\Package Cache\{EEA66967-97E2-4561-A999-5C22E3CDE428}v14.25.28508\packages\vcRuntimeMinimum_amd64\vc_runtimeMinimum_x64.msi.
    [0754:0ACC][2020-05-07T21:54:32]i304: Verified existing payload: cab5046A8AB272BF37297BB7928664C9503 at path: C:\ProgramData\Package Cache\{EEA66967-97E2-4561-A999-5C22E3CDE428}v14.25.28508\packages\vcRuntimeMinimum_amd64\cab1.cab.
    [0754:0ACC][2020-05-07T21:54:33]i304: Verified existing payload: vcRuntimeAdditional_x64 at path: C:\ProgramData\Package Cache\{7D0B74C2-C3F8-4AF1-940F-CD79AB4B2DCE}v14.25.28508\packages\vcRuntimeAdditional_amd64\vc_runtimeAdditional_x64.msi.
    [0754:0ACC][2020-05-07T21:54:33]i304: Verified existing payload: cab2C04DDC374BD96EB5C8EB8208F2C7C92 at path: C:\ProgramData\Package Cache\{7D0B74C2-C3F8-4AF1-940F-CD79AB4B2DCE}v14.25.28508\packages\vcRuntimeAdditional_amd64\cab1.cab.
    [0754:0528][2020-05-07T21:54:33]i301: Applying execute package: Windows7_MSU_x64, action: Install, path: C:\ProgramData\Package Cache\54050A5F8AE7F0C56E553F0090146C17A1D2BF8D\packages\Patch\x64\Windows6.1-KB2999226-x64.msu, arguments: '"C:\Windows\SysNative\wusa.exe" "C:\ProgramData\Package Cache\54050A5F8AE7F0C56E553F0090146C17A1D2BF8D\packages\Patch\x64\Windows6.1-KB2999226-x64.msu" /quiet /norestart'
    [0754:0528][2020-05-07T21:54:42]e000: Error 0x80240017: Failed to execute MSU package.
    [0604:0848][2020-05-07T21:54:42]e000: Error 0x80240017: Failed to configure per-machine MSU package.
    [0604:0848][2020-05-07T21:54:42]i319: Applied execute package: Windows7_MSU_x64, result: 0x80240017, restart: None
    [0604:0848][2020-05-07T21:54:42]e000: Error 0x80240017: Failed to execute MSU package.
    [0754:0528][2020-05-07T21:54:42]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{6913e92a-b64e-41c9-a5e6-cef39207fe89}, resume: None, restart: None, disable resume: No
    [0754:0528][2020-05-07T21:54:42]i330: Removed bundle dependency provider: VC,redist.x64,amd64,14.25,bundle
    [0754:0528][2020-05-07T21:54:42]i352: Removing cached bundle: {6913e92a-b64e-41c9-a5e6-cef39207fe89}, from path: C:\ProgramData\Package Cache\{6913e92a-b64e-41c9-a5e6-cef39207fe89}\
    [0754:0528][2020-05-07T21:54:42]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{6913e92a-b64e-41c9-a5e6-cef39207fe89}, resume: None, restart initiated: No, disable resume: No
    [0604:0848][2020-05-07T21:54:42]i399: Apply complete, result: 0x80240017, restart: None, ba requested restart:  No

    Thursday, May 7, 2020 5:05 PM

All replies

  • Hi,

    I noticed you are using Windows 7 device which is out of support since Jan.14 2020. Please upgrade your system version to latest Windows 10 system and use C++ on that system. 

    Also for more issue about visual C++, please go to Visual C++ support. 

    Bests, 


    " Please note that new questions regarding ‘Windows 10 Installation, Setup, and Deployment’ could NOT be posted in this forum anymore. This thread could be followed up until Mar-30th. We will be moving your thread to Microsoft Q&A if the deadline is missed. Register our new platform Microsoft Q&A (Preview)! for new questions or discussion. Check more details on sticky post.

    Friday, May 8, 2020 7:06 AM
    Moderator
  • Hi,

    If my redirection is useful for you, please mark it as answer.

    Bests, 


    " Please note that new questions regarding ‘Windows 10 Installation, Setup, and Deployment’ could NOT be posted in this forum anymore. This thread could be followed up until Mar-30th. We will be moving your thread to Microsoft Q&A if the deadline is missed. Register our new platform Microsoft Q&A (Preview)! for new questions or discussion. Check more details on sticky post.

    Monday, May 11, 2020 3:17 AM
    Moderator