Share via


Error 0x80240017: Failed to execute MSU package.

Question

Thursday, May 11, 2017 6:18 AM

So I have been trying to get the 2015 visual package to install, but I get the above error and am not sure how to proceed.

These are the logs:

[1128:1050][2017-05-11T01:01:28]i001: Burn v3.7.3813.0, Windows v6.1 (Build 7601: Service Pack 1), path: C:\Users\Dakotah\Downloads\vc_redist.x64 (1).exe, cmdline: ''
[1128:1050][2017-05-11T01:01:28]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\Dakotah\AppData\Local\Temp\dd_vcredist_amd64_20170511010128.log'
[1128:1050][2017-05-11T01:01:28]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\Dakotah\Downloads\vc_redist.x64 (1).exe'
[1128:1050][2017-05-11T01:01:28]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Users\Dakotah\Downloads\
[1128:1050][2017-05-11T01:01:28]i000: Setting string variable 'WixBundleName' to value 'Microsoft Visual C++ 2015 Redistributable (x64) - 14.0.24215'
[1128:1050][2017-05-11T01:01:28]i100: Detect begin, 10 packages
[1128:1050][2017-05-11T01:01:28]i000: File search: windows_uCRT_DetectKey, did not find path: C:\Windows\system32\ucrtbase.dll
[1128:1050][2017-05-11T01:01:28]i000: File search: windows_uCRT_DetectKeyExists, did not find path: C:\Windows\system32\ucrtbase.dll
[1128:1050][2017-05-11T01:01:28]i000: Setting numeric variable 'windows_uCRT_DetectKeyExists' to value 0
[1128:1050][2017-05-11T01:01:28]i052: Condition '(VersionNT = v6.3 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[1128:1050][2017-05-11T01:01:28]i052: Condition '(VersionNT = v6.3 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[1128:1050][2017-05-11T01:01:28]i052: Condition '(VersionNT = v6.2 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[1128:1050][2017-05-11T01:01:28]i052: Condition '(VersionNT = v6.2 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[1128:1050][2017-05-11T01:01:28]i052: Condition '(VersionNT = v6.1 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[1128:1050][2017-05-11T01:01:28]i052: Condition '(VersionNT = v6.1 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[1128:1050][2017-05-11T01:01:28]i052: Condition '(VersionNT = v6.0 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[1128:1050][2017-05-11T01:01:28]i052: Condition '(VersionNT = v6.0 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[1128:1050][2017-05-11T01:01:28]i101: Detected package: vcRuntimeMinimum_x64, state: Absent, cached: None
[1128:1050][2017-05-11T01:01:28]i101: Detected package: vcRuntimeAdditional_x64, state: Absent, cached: None
[1128:1050][2017-05-11T01:01:28]i101: Detected package: Windows81_x86, state: Absent, cached: None
[1128:1050][2017-05-11T01:01:28]i101: Detected package: Windows81_x64, state: Absent, cached: None
[1128:1050][2017-05-11T01:01:28]i101: Detected package: Windows8_x86, state: Absent, cached: None
[1128:1050][2017-05-11T01:01:28]i101: Detected package: Windows8_x64, state: Absent, cached: None
[1128:1050][2017-05-11T01:01:28]i101: Detected package: Windows7_MSU_x86, state: Absent, cached: None
[1128:1050][2017-05-11T01:01:28]i101: Detected package: Windows7_MSU_x64, state: Absent, cached: None
[1128:1050][2017-05-11T01:01:28]i101: Detected package: WindowsVista_MSU_x86, state: Absent, cached: None
[1128:1050][2017-05-11T01:01:28]i101: Detected package: WindowsVista_MSU_x64, state: Absent, cached: None
[1128:1050][2017-05-11T01:01:28]i052: Condition 'VersionNT64 >= v6.0 OR (VersionNT64 = v5.2 AND ServicePackLevel >= 1)' evaluates to true.
[1128:1050][2017-05-11T01:01:28]i199: Detect complete, result: 0x0
[1128:1050][2017-05-11T01:01:30]i200: Plan begin, 10 packages, action: Install
[1128:1050][2017-05-11T01:01:30]i052: Condition '(VersionNT64)' evaluates to true.
[1128:1050][2017-05-11T01:01:30]i000: Setting string variable 'WixBundleRollbackLog_vcRuntimeMinimum_x64' to value 'C:\Users\Dakotah\AppData\Local\Temp\dd_vcredist_amd64_20170511010128_000_vcRuntimeMinimum_x64_rollback.log'
[1128:1050][2017-05-11T01:01:30]i000: Setting string variable 'WixBundleLog_vcRuntimeMinimum_x64' to value 'C:\Users\Dakotah\AppData\Local\Temp\dd_vcredist_amd64_20170511010128_000_vcRuntimeMinimum_x64.log'
[1128:1050][2017-05-11T01:01:30]i052: Condition '(VersionNT64)' evaluates to true.
[1128:1050][2017-05-11T01:01:30]i000: Setting string variable 'WixBundleRollbackLog_vcRuntimeAdditional_x64' to value 'C:\Users\Dakotah\AppData\Local\Temp\dd_vcredist_amd64_20170511010128_001_vcRuntimeAdditional_x64_rollback.log'
[1128:1050][2017-05-11T01:01:30]i000: Setting string variable 'WixBundleLog_vcRuntimeAdditional_x64' to value 'C:\Users\Dakotah\AppData\Local\Temp\dd_vcredist_amd64_20170511010128_001_vcRuntimeAdditional_x64.log'
[1128:1050][2017-05-11T01:01:30]i052: Condition 'VersionNT = v6.3 AND NOT VersionNT64' evaluates to false.
[1128:1050][2017-05-11T01:01:30]w321: Skipping dependency registration on package with no dependency providers: Windows81_x86
[1128:1050][2017-05-11T01:01:30]i052: Condition 'VersionNT = v6.3 AND VersionNT64' evaluates to false.
[1128:1050][2017-05-11T01:01:30]w321: Skipping dependency registration on package with no dependency providers: Windows81_x64
[1128:1050][2017-05-11T01:01:30]i052: Condition 'VersionNT = v6.2 AND NOT VersionNT64' evaluates to false.
[1128:1050][2017-05-11T01:01:30]w321: Skipping dependency registration on package with no dependency providers: Windows8_x86
[1128:1050][2017-05-11T01:01:30]i052: Condition 'VersionNT = v6.2 AND VersionNT64' evaluates to false.
[1128:1050][2017-05-11T01:01:30]w321: Skipping dependency registration on package with no dependency providers: Windows8_x64
[1128:1050][2017-05-11T01:01:30]i052: Condition 'VersionNT = v6.1 AND NOT VersionNT64' evaluates to false.
[1128:1050][2017-05-11T01:01:30]w321: Skipping dependency registration on package with no dependency providers: Windows7_MSU_x86
[1128:1050][2017-05-11T01:01:30]i052: Condition 'VersionNT = v6.1 AND VersionNT64' evaluates to true.
[1128:1050][2017-05-11T01:01:30]w321: Skipping dependency registration on package with no dependency providers: Windows7_MSU_x64
[1128:1050][2017-05-11T01:01:30]i052: Condition 'VersionNT = v6.0 AND NOT VersionNT64' evaluates to false.
[1128:1050][2017-05-11T01:01:30]w321: Skipping dependency registration on package with no dependency providers: WindowsVista_MSU_x86
[1128:1050][2017-05-11T01:01:30]i052: Condition 'VersionNT = v6.0 AND VersionNT64' evaluates to false.
[1128:1050][2017-05-11T01:01:30]w321: Skipping dependency registration on package with no dependency providers: WindowsVista_MSU_x64
[1128:1050][2017-05-11T01:01:30]i201: Planned package: vcRuntimeMinimum_x64, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[1128:1050][2017-05-11T01:01:30]i201: Planned package: vcRuntimeAdditional_x64, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[1128:1050][2017-05-11T01:01:30]i201: Planned package: Windows81_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[1128:1050][2017-05-11T01:01:30]i201: Planned package: Windows81_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[1128:1050][2017-05-11T01:01:30]i201: Planned package: Windows8_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[1128:1050][2017-05-11T01:01:30]i201: Planned package: Windows8_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[1128:1050][2017-05-11T01:01:30]i201: Planned package: Windows7_MSU_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[1128:1050][2017-05-11T01:01:30]i201: Planned package: Windows7_MSU_x64, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: None
[1128:1050][2017-05-11T01:01:30]i201: Planned package: WindowsVista_MSU_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[1128:1050][2017-05-11T01:01:30]i201: Planned package: WindowsVista_MSU_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[1128:1050][2017-05-11T01:01:30]i299: Plan complete, result: 0x0
[1128:1050][2017-05-11T01:01:30]i300: Apply begin
[10BC:08F4][2017-05-11T01:01:32]i360: Creating a system restore point.
[10BC:08F4][2017-05-11T01:02:29]i361: Created a system restore point.
[10BC:08F4][2017-05-11T01:02:29]i370: Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\d992c12e-cab2-426f-bde3-fb8c53950b0d}, options: 0x7, disable resume: No
[10BC:08F4][2017-05-11T01:02:29]i000: Caching bundle from: 'C:\Users\Dakotah\AppData\Local\Temp\d992c12e-cab2-426f-bde3-fb8c53950b0d}\be\VC_redist.x64.exe' to: 'C:\ProgramData\Package Cache\d992c12e-cab2-426f-bde3-fb8c53950b0d}\VC_redist.x64.exe'
[10BC:08F4][2017-05-11T01:02:29]i320: Registering bundle dependency provider: {d992c12e-cab2-426f-bde3-fb8c53950b0d}, version: 14.0.24215.1
[10BC:08F4][2017-05-11T01:02:29]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\d992c12e-cab2-426f-bde3-fb8c53950b0d}, resume: Active, restart initiated: No, disable resume: No
[10BC:09EC][2017-05-11T01:02:30]i304: Verified existing payload: vcRuntimeMinimum_x64 at path: C:\ProgramData\Package Cache\unverified\vcRuntimeMinimum_x64.
[10BC:09EC][2017-05-11T01:02:30]i305: Verified acquired payload: vcRuntimeMinimum_x64 at path: C:\ProgramData\Package Cache\unverified\vcRuntimeMinimum_x64, moving to: C:\ProgramData\Package Cache\50A2BC33-C9CD-3BF1-A8FF-53C10A0B183C}v14.0.24215\packages\vcRuntimeMinimum_amd64\vc_runtimeMinimum_x64.msi.
[10BC:09EC][2017-05-11T01:02:30]i304: Verified existing payload: cab5046A8AB272BF37297BB7928664C9503 at path: C:\ProgramData\Package Cache\unverified\cab5046A8AB272BF37297BB7928664C9503.
[10BC:09EC][2017-05-11T01:02:30]i305: Verified acquired payload: cab5046A8AB272BF37297BB7928664C9503 at path: C:\ProgramData\Package Cache\unverified\cab5046A8AB272BF37297BB7928664C9503, moving to: C:\ProgramData\Package Cache\50A2BC33-C9CD-3BF1-A8FF-53C10A0B183C}v14.0.24215\packages\vcRuntimeMinimum_amd64\cab1.cab.
[10BC:09EC][2017-05-11T01:02:30]i304: Verified existing payload: vcRuntimeAdditional_x64 at path: C:\ProgramData\Package Cache\unverified\vcRuntimeAdditional_x64.
[10BC:09EC][2017-05-11T01:02:30]i305: Verified acquired payload: vcRuntimeAdditional_x64 at path: C:\ProgramData\Package Cache\unverified\vcRuntimeAdditional_x64, moving to: C:\ProgramData\Package Cache\EF1EC6A9-17DE-3DA9-B040-686A1E8A8B04}v14.0.24215\packages\vcRuntimeAdditional_amd64\vc_runtimeAdditional_x64.msi.
[10BC:09EC][2017-05-11T01:02:30]i304: Verified existing payload: cab2C04DDC374BD96EB5C8EB8208F2C7C92 at path: C:\ProgramData\Package Cache\unverified\cab2C04DDC374BD96EB5C8EB8208F2C7C92.
[10BC:09EC][2017-05-11T01:02:30]i305: Verified acquired payload: cab2C04DDC374BD96EB5C8EB8208F2C7C92 at path: C:\ProgramData\Package Cache\unverified\cab2C04DDC374BD96EB5C8EB8208F2C7C92, moving to: C:\ProgramData\Package Cache\EF1EC6A9-17DE-3DA9-B040-686A1E8A8B04}v14.0.24215\packages\vcRuntimeAdditional_amd64\cab1.cab.
[10BC:09EC][2017-05-11T01:02:30]i304: Verified existing payload: Windows7_MSU_x64 at path: C:\ProgramData\Package Cache\unverified\Windows7_MSU_x64.
[10BC:09EC][2017-05-11T01:02:30]i305: Verified acquired payload: Windows7_MSU_x64 at path: C:\ProgramData\Package Cache\unverified\Windows7_MSU_x64, moving to: C:\ProgramData\Package Cache\54050A5F8AE7F0C56E553F0090146C17A1D2BF8D\packages\Patch\x64\Windows6.1-KB2999226-x64.msu.
[10BC:08F4][2017-05-11T01:02:30]i301: Applying execute package: vcRuntimeMinimum_x64, action: Install, path: C:\ProgramData\Package Cache\50A2BC33-C9CD-3BF1-A8FF-53C10A0B183C}v14.0.24215\packages\vcRuntimeMinimum_amd64\vc_runtimeMinimum_x64.msi, arguments: ' MSIFASTINSTALL="7" NOVSUI="1"'
[1128:1050][2017-05-11T01:02:33]i319: Applied execute package: vcRuntimeMinimum_x64, result: 0x0, restart: None
[10BC:08F4][2017-05-11T01:02:33]i325: Registering dependency: {d992c12e-cab2-426f-bde3-fb8c53950b0d} on package provider: Microsoft.VS.VC_RuntimeMinimumVSU_amd64,v14, package: vcRuntimeMinimum_x64
[10BC:08F4][2017-05-11T01:02:33]i301: Applying execute package: vcRuntimeAdditional_x64, action: Install, path: C:\ProgramData\Package Cache\EF1EC6A9-17DE-3DA9-B040-686A1E8A8B04}v14.0.24215\packages\vcRuntimeAdditional_amd64\vc_runtimeAdditional_x64.msi, arguments: ' MSIFASTINSTALL="7" NOVSUI="1"'
[1128:1050][2017-05-11T01:02:35]i319: Applied execute package: vcRuntimeAdditional_x64, result: 0x0, restart: None
[10BC:08F4][2017-05-11T01:02:35]i325: Registering dependency: {d992c12e-cab2-426f-bde3-fb8c53950b0d} on package provider: Microsoft.VS.VC_RuntimeAdditionalVSU_amd64,v14, package: vcRuntimeAdditional_x64
[10BC:08F4][2017-05-11T01:02:35]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'
[10BC:08F4][2017-05-11T01:03:52]e000: Error 0x80240017: Failed to execute MSU package.
[1128:1050][2017-05-11T01:03:52]e000: Error 0x80240017: Failed to configure per-machine MSU package.
[1128:1050][2017-05-11T01:03:52]i319: Applied execute package: Windows7_MSU_x64, result: 0x80240017, restart: None
[1128:1050][2017-05-11T01:03:52]e000: Error 0x80240017: Failed to execute MSU package.
[10BC:08F4][2017-05-11T01:03:52]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\d992c12e-cab2-426f-bde3-fb8c53950b0d}, resume: ARP, restart: None, disable resume: No
[10BC:08F4][2017-05-11T01:03:52]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\d992c12e-cab2-426f-bde3-fb8c53950b0d}, resume: ARP, restart initiated: No, disable resume: No
[1128:1050][2017-05-11T01:03:52]i399: Apply complete, result: 0x80240017, restart: None, ba requested restart:  No

Sorry if that is too much.

Any and all help is appreciated!

All replies (2)

Thursday, May 11, 2017 8:58 AM

Hi Dakotah8675,

thanks for posting here.

This forum is about c++ development. For your case, I will move it to vs setup and installation forum for better support.

Your understanding and cooperation will be grateful.

Best Regards,

Sera Yu

MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected].


Friday, May 12, 2017 8:24 AM

Hi Dakotah8675,

Thank you for posting in MSDN forum.

It looks like the OS failed to install the required update Windows8.1-KB2999226-x64.msu, you can install it by extracting that update to a folder, and execute the specific cmdlet. Please have a look at:

http://stackoverflow.com/questions/31536606/while-installing-vc-redist-x64-exe-getting-error-failed-to-configure-per-machi

Soman Dubey:

1. Find the Windows8.1-KB2999226-x64.msu from the folder C:\ProgramData\Package Cache\FC6260C33678BB17FB8B88536C476B4015B7C5E9\packages\Patch\x64

2. Create a folder XXXX in that and execute following commands from Admin command prompt

3. wusa.exe Windows8.1-KB2999226-x64.msu /extract:XXXX

4. DISM.exe /Online /Add-Package /PackagePath:XXXX\Windows8.1-KB2999226-x64.cab

5. vc_redist.x64.exe /repair

Best regards,

MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected].