Share via


Error 0x80070642 when installing Visual C++ Redistributable for Visual Studio 2015

Question

Friday, March 24, 2017 2:23 AM

When I run an executable file , it shows missing of api-ms-win-crt-runtime-I1-1-0.dll. 

Most of the answer from internet shows it needs to update Visual C++ Redistributable for Visual Studio 2015.

However, when I install it, it get stuck.

Here is the log

[2250:2254][2017-03-23T10:05:44]i001: Burn v3.7.3813.0, Windows v6.1 (Build 7601: Service Pack 1), path: C:\Users\User\Downloads\vc_redist.x64 (1).exe, cmdline: ''
[2250:2254][2017-03-23T10:05:44]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\User\AppData\Local\Temp\dd_vcredist_amd64_20170323100544.log'
[2250:2254][2017-03-23T10:05:44]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\User\Downloads\vc_redist.x64 (1).exe'
[2250:2254][2017-03-23T10:05:44]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Users\User\Downloads\
[2250:2254][2017-03-23T10:05:44]i100: Detect begin, 10 packages
[2250:2254][2017-03-23T10:05:44]i000: File search: windows_uCRT_DetectKey, did not find path: C:\windows\system32\ucrtbase.dll
[2250:2254][2017-03-23T10:05:44]i000: File search: windows_uCRT_DetectKeyExists, did not find path: C:\windows\system32\ucrtbase.dll
[2250:2254][2017-03-23T10:05:44]i000: Setting numeric variable 'windows_uCRT_DetectKeyExists' to value 0
[2250:2254][2017-03-23T10:05:44]i052: Condition '(VersionNT = v6.3 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[2250:2254][2017-03-23T10:05:44]i052: Condition '(VersionNT = v6.3 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[2250:2254][2017-03-23T10:05:44]i052: Condition '(VersionNT = v6.2 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[2250:2254][2017-03-23T10:05:44]i052: Condition '(VersionNT = v6.2 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[2250:2254][2017-03-23T10:05:44]i052: Condition '(VersionNT = v6.1 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[2250:2254][2017-03-23T10:05:44]i052: Condition '(VersionNT = v6.1 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[2250:2254][2017-03-23T10:05:44]i052: Condition '(VersionNT = v6.0 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[2250:2254][2017-03-23T10:05:44]i052: Condition '(VersionNT = v6.0 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[2250:2254][2017-03-23T10:05:44]i101: Detected package: vcRuntimeMinimum_x64, state: Present, cached: Complete
[2250:2254][2017-03-23T10:05:44]i101: Detected package: vcRuntimeAdditional_x64, state: Present, cached: Complete
[2250:2254][2017-03-23T10:05:44]i101: Detected package: Windows81_x86, state: Absent, cached: None
[2250:2254][2017-03-23T10:05:44]i101: Detected package: Windows81_x64, state: Absent, cached: None
[2250:2254][2017-03-23T10:05:44]i101: Detected package: Windows8_x86, state: Absent, cached: None
[2250:2254][2017-03-23T10:05:44]i101: Detected package: Windows8_x64, state: Absent, cached: None
[2250:2254][2017-03-23T10:05:44]i101: Detected package: Windows7_MSU_x86, state: Absent, cached: None
[2250:2254][2017-03-23T10:05:44]i101: Detected package: Windows7_MSU_x64, state: Absent, cached: Complete
[2250:2254][2017-03-23T10:05:44]i101: Detected package: WindowsVista_MSU_x86, state: Absent, cached: None
[2250:2254][2017-03-23T10:05:44]i101: Detected package: WindowsVista_MSU_x64, state: Absent, cached: None
[2250:2254][2017-03-23T10:05:44]i052: Condition 'VersionNT64 >= v6.0 OR (VersionNT64 = v5.2 AND ServicePackLevel >= 1)' evaluates to true.
[2250:2254][2017-03-23T10:05:44]i199: Detect complete, result: 0x0
[2250:2254][2017-03-23T10:05:48]i200: Plan begin, 10 packages, action: Repair
[2250:2254][2017-03-23T10:05:48]i052: Condition '(VersionNT64)' evaluates to true.
[2250:2254][2017-03-23T10:05:48]i000: Setting string variable 'WixBundleLog_vcRuntimeMinimum_x64' to value 'C:\Users\User\AppData\Local\Temp\dd_vcredist_amd64_20170323100544_000_vcRuntimeMinimum_x64.log'
[2250:2254][2017-03-23T10:05:48]i052: Condition '(VersionNT64)' evaluates to true.
[2250:2254][2017-03-23T10:05:48]i000: Setting string variable 'WixBundleLog_vcRuntimeAdditional_x64' to value 'C:\Users\User\AppData\Local\Temp\dd_vcredist_amd64_20170323100544_001_vcRuntimeAdditional_x64.log'
[2250:2254][2017-03-23T10:05:48]i052: Condition 'VersionNT = v6.3 AND NOT VersionNT64' evaluates to false.
[2250:2254][2017-03-23T10:05:48]w321: Skipping dependency registration on package with no dependency providers: Windows81_x86
[2250:2254][2017-03-23T10:05:48]i052: Condition 'VersionNT = v6.3 AND VersionNT64' evaluates to false.
[2250:2254][2017-03-23T10:05:48]w321: Skipping dependency registration on package with no dependency providers: Windows81_x64
[2250:2254][2017-03-23T10:05:48]i052: Condition 'VersionNT = v6.2 AND NOT VersionNT64' evaluates to false.
[2250:2254][2017-03-23T10:05:48]w321: Skipping dependency registration on package with no dependency providers: Windows8_x86
[2250:2254][2017-03-23T10:05:48]i052: Condition 'VersionNT = v6.2 AND VersionNT64' evaluates to false.
[2250:2254][2017-03-23T10:05:48]w321: Skipping dependency registration on package with no dependency providers: Windows8_x64
[2250:2254][2017-03-23T10:05:48]i052: Condition 'VersionNT = v6.1 AND NOT VersionNT64' evaluates to false.
[2250:2254][2017-03-23T10:05:48]w321: Skipping dependency registration on package with no dependency providers: Windows7_MSU_x86
[2250:2254][2017-03-23T10:05:48]i052: Condition 'VersionNT = v6.1 AND VersionNT64' evaluates to true.
[2250:2254][2017-03-23T10:05:48]w321: Skipping dependency registration on package with no dependency providers: Windows7_MSU_x64
[2250:2254][2017-03-23T10:05:48]i052: Condition 'VersionNT = v6.0 AND NOT VersionNT64' evaluates to false.
[2250:2254][2017-03-23T10:05:48]w321: Skipping dependency registration on package with no dependency providers: WindowsVista_MSU_x86
[2250:2254][2017-03-23T10:05:48]i052: Condition 'VersionNT = v6.0 AND VersionNT64' evaluates to false.
[2250:2254][2017-03-23T10:05:48]w321: Skipping dependency registration on package with no dependency providers: WindowsVista_MSU_x64
[2250:2254][2017-03-23T10:05:48]i201: Planned package: vcRuntimeMinimum_x64, state: Present, default requested: Repair, ba requested: Repair, execute: Repair, rollback: None, cache: No, uncache: No, dependency: Register
[2250:2254][2017-03-23T10:05:48]i201: Planned package: vcRuntimeAdditional_x64, state: Present, default requested: Repair, ba requested: Repair, execute: Repair, rollback: None, cache: No, uncache: No, dependency: Register
[2250:2254][2017-03-23T10:05:48]i201: Planned package: Windows81_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[2250:2254][2017-03-23T10:05:48]i201: Planned package: Windows81_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[2250:2254][2017-03-23T10:05:48]i201: Planned package: Windows8_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[2250:2254][2017-03-23T10:05:48]i201: Planned package: Windows8_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[2250:2254][2017-03-23T10:05:48]i201: Planned package: Windows7_MSU_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[2250:2254][2017-03-23T10:05:48]i201: Planned package: Windows7_MSU_x64, state: Absent, default requested: Repair, ba requested: Repair, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: None
[2250:2254][2017-03-23T10:05:48]i201: Planned package: WindowsVista_MSU_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[2250:2254][2017-03-23T10:05:48]i201: Planned package: WindowsVista_MSU_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[2250:2254][2017-03-23T10:05:48]i299: Plan complete, result: 0x0
[2250:2254][2017-03-23T10:05:48]i300: Apply begin
[2320:2324][2017-03-23T10:05:50]i360: Creating a system restore point.
[2320:2324][2017-03-23T10:06:14]i361: Created a system restore point.
[2320:2324][2017-03-23T10:06:14]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\dab68466-3a7d-41a8-a5cf-415e3ff8ef71}, resume: Active, restart initiated: No, disable resume: No
[2320:2334][2017-03-23T10:06:14]i304: Verified existing payload: vcRuntimeMinimum_x64 at path: C:\ProgramData\Package Cache\7B50D081-E670-3B43-A460-0E2CDB5CE984}v14.0.23918\packages\vcRuntimeMinimum_amd64\vc_runtimeMinimum_x64.msi.
[2320:2334][2017-03-23T10:06:14]i304: Verified existing payload: cab5046A8AB272BF37297BB7928664C9503 at path: C:\ProgramData\Package Cache\7B50D081-E670-3B43-A460-0E2CDB5CE984}v14.0.23918\packages\vcRuntimeMinimum_amd64\cab1.cab.
[2320:2334][2017-03-23T10:06:14]i304: Verified existing payload: vcRuntimeAdditional_x64 at path: C:\ProgramData\Package Cache\DFFEB619-5455-3697-B145-243D936DB95B}v14.0.23918\packages\vcRuntimeAdditional_amd64\vc_runtimeAdditional_x64.msi.
[2320:2334][2017-03-23T10:06:15]i304: Verified existing payload: cab2C04DDC374BD96EB5C8EB8208F2C7C92 at path: C:\ProgramData\Package Cache\DFFEB619-5455-3697-B145-243D936DB95B}v14.0.23918\packages\vcRuntimeAdditional_amd64\cab1.cab.
[2320:2334][2017-03-23T10:06:15]i304: Verified existing payload: Windows7_MSU_x64 at path: C:\ProgramData\Package Cache\54050A5F8AE7F0C56E553F0090146C17A1D2BF8D\packages\Patch\x64\Windows6.1-KB2999226-x64.msu.
[2320:2324][2017-03-23T10:06:15]i301: Applying execute package: vcRuntimeMinimum_x64, action: Repair, path: C:\ProgramData\Package Cache\7B50D081-E670-3B43-A460-0E2CDB5CE984}v14.0.23918\packages\vcRuntimeMinimum_amd64\vc_runtimeMinimum_x64.msi, arguments: ' MSIFASTINSTALL="7" NOVSUI="1"'
[2250:2254][2017-03-23T10:06:19]i319: Applied execute package: vcRuntimeMinimum_x64, result: 0x0, restart: None
[2320:2324][2017-03-23T10:06:19]i325: Registering dependency: {dab68466-3a7d-41a8-a5cf-415e3ff8ef71} on package provider: Microsoft.VS.VC_RuntimeMinimumVSU_amd64,v14, package: vcRuntimeMinimum_x64
[2320:2324][2017-03-23T10:06:19]i301: Applying execute package: vcRuntimeAdditional_x64, action: Repair, path: C:\ProgramData\Package Cache\DFFEB619-5455-3697-B145-243D936DB95B}v14.0.23918\packages\vcRuntimeAdditional_amd64\vc_runtimeAdditional_x64.msi, arguments: ' MSIFASTINSTALL="7" NOVSUI="1"'
[2250:2254][2017-03-23T10:06:24]i319: Applied execute package: vcRuntimeAdditional_x64, result: 0x0, restart: None
[2320:2324][2017-03-23T10:06:24]i325: Registering dependency: {dab68466-3a7d-41a8-a5cf-415e3ff8ef71} on package provider: Microsoft.VS.VC_RuntimeAdditionalVSU_amd64,v14, package: vcRuntimeAdditional_x64
[2320:2324][2017-03-23T10:06:24]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'
[2320:2324][2017-03-23T10:23:54]e000: Error 0x80070642: Bootstrapper application aborted during MSU progress.
[2320:2324][2017-03-23T10:23:54]e000: Error 0x80070642: Failed to execute MSU package.
[2250:2254][2017-03-23T10:23:54]e000: Error 0x80070642: Failed to configure per-machine MSU package.
[2250:2254][2017-03-23T10:23:54]i319: Applied execute package: Windows7_MSU_x64, result: 0x80070642, restart: None
[2250:2254][2017-03-23T10:23:54]e000: Error 0x80070642: Failed to execute MSU package.
[2320:2324][2017-03-23T10:23:54]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\dab68466-3a7d-41a8-a5cf-415e3ff8ef71}, resume: ARP, restart: None, disable resume: No
[2320:2324][2017-03-23T10:23:54]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\dab68466-3a7d-41a8-a5cf-415e3ff8ef71}, resume: ARP, restart initiated: No, disable resume: No
[2250:2254][2017-03-23T10:23:54]i399: Apply complete, result: 0x80070642, restart: None, ba requested restart:  No

.

All replies (1)

Tuesday, March 28, 2017 3:11 AM

Hi KK__,

Thank you for posting in MSDN forum.

Before installing the Visual C++ redistributable packages, you need to download KB2999226 from:

https://www.microsoft.com/en-us/download/details.aspx?id=49077

And the Update for Universal C Runtime in Windows from:

https://www.microsoft.com/en-us/download/details.aspx?id=48234

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].