【记录坑】windows2012 R2、8.1提示Microsoft Visual C++ 2015 Runtime错误解决方法

环境win2012R2 64位 datacenter,为了安装Apache 2.4.12 Win64http://www.apachelounge.com/download/,需要安装这个 VC14 vcredist_x64/86.exe 

但安装失败,不知是什么原因,提示丢失 计算机中丢失api-ms-win-crt-string-l1-1-0.dll,apache无法启动
 

错误日记信息如下:

[mw_shl_code=css,true][0950:065C][2015-06-15T21:00:40]i001: Burn v3.7.3813.0, Windows v6.3 (Build 9600: Service Pack 0), path: d:\Users\Administrator\Desktop\vc_redist.x64.exe, cmdline: '-burn.unelevated BurnPipe.{DA51B656-E5EA-48AE-9A27-FDBE85CE46CF} {D7DC3032-DFBA-48A6-B32C-3DE730668C47} 2416'
[0950:065C][2015-06-15T21:00:40]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\ADMINI~1\AppData\Local\Temp\dd_vcredist_amd64_20150615210040.log'
[0950:065C][2015-06-15T21:00:40]i000: Setting string variable 'WixBundleOriginalSource' to value 'd:\Users\Administrator\Desktop\vc_redist.x64.exe'
[0950:065C][2015-06-15T21:00:40]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'd:\Users\Administrator\Desktop\'
[0950:065C][2015-06-15T21:00:40]i100: Detect begin, 10 packages
[0950:065C][2015-06-15T21:00:40]i101: Detected package: vcRuntimeMinimum_x64, state: Present, cached: Complete
[0950:065C][2015-06-15T21:00:40]i101: Detected package: vcRuntimeAdditional_x64, state: Present, cached: Complete
[0950:065C][2015-06-15T21:00:40]i101: Detected package: Windows81_x86, state: Absent, cached: None
[0950:065C][2015-06-15T21:00:40]i101: Detected package: Windows81_x64, state: Absent, cached: Complete
[0950:065C][2015-06-15T21:00:40]i101: Detected package: Windows8_x86, state: Absent, cached: None
[0950:065C][2015-06-15T21:00:40]i101: Detected package: Windows8_x64, state: Absent, cached: None
[0950:065C][2015-06-15T21:00:40]i101: Detected package: Windows7_MSU_x86, state: Absent, cached: None
[0950:065C][2015-06-15T21:00:40]i101: Detected package: Windows7_MSU_x64, state: Absent, cached: None
[0950:065C][2015-06-15T21:00:40]i101: Detected package: WindowsVista_MSU_x86, state: Absent, cached: None
[0950:065C][2015-06-15T21:00:40]i101: Detected package: WindowsVista_MSU_x64, state: Absent, cached: None
[0950:065C][2015-06-15T21:00:40]i052: Condition 'VersionNT64 >= v6.0 OR (VersionNT64 = v5.2 AND ServicePackLevel >= 1)' evaluates to true.
[0950:065C][2015-06-15T21:00:40]i199: Detect complete, result: 0x0
[0950:065C][2015-06-15T21:00:42]i200: Plan begin, 10 packages, action: Repair
[0950:065C][2015-06-15T21:00:42]i052: Condition '(VersionNT64)' evaluates to true.
[0950:065C][2015-06-15T21:00:42]i000: Setting string variable 'WixBundleLog_vcRuntimeMinimum_x64' to value 'C:\Users\ADMINI~1\AppData\Local\Temp\dd_vcredist_amd64_20150615210040_000_vcRuntimeMinimum_x64.log'
[0950:065C][2015-06-15T21:00:42]i052: Condition '(VersionNT64)' evaluates to true.
[0950:065C][2015-06-15T21:00:42]i000: Setting string variable 'WixBundleLog_vcRuntimeAdditional_x64' to value 'C:\Users\ADMINI~1\AppData\Local\Temp\dd_vcredist_amd64_20150615210040_001_vcRuntimeAdditional_x64.log'
[0950:065C][2015-06-15T21:00:42]i052: Condition 'VersionNT = v6.3 AND NOT VersionNT64' evaluates to false.
[0950:065C][2015-06-15T21:00:42]w321: Skipping dependency registration on package with no dependency providers: Windows81_x86
[0950:065C][2015-06-15T21:00:42]i052: Condition 'VersionNT = v6.3 AND VersionNT64' evaluates to true.
[0950:065C][2015-06-15T21:00:42]w321: Skipping dependency registration on package with no dependency providers: Windows81_x64
[0950:065C][2015-06-15T21:00:42]i052: Condition 'VersionNT = v6.2 AND NOT VersionNT64' evaluates to false.
[0950:065C][2015-06-15T21:00:42]w321: Skipping dependency registration on package with no dependency providers: Windows8_x86
[0950:065C][2015-06-15T21:00:42]i052: Condition 'VersionNT = v6.2 AND VersionNT64' evaluates to false.
[0950:065C][2015-06-15T21:00:42]w321: Skipping dependency registration on package with no dependency providers: Windows8_x64
[0950:065C][2015-06-15T21:00:42]i052: Condition 'VersionNT = v6.1 AND NOT VersionNT64' evaluates to false.
[0950:065C][2015-06-15T21:00:42]w321: Skipping dependency registration on package with no dependency providers: Windows7_MSU_x86
[0950:065C][2015-06-15T21:00:42]i052: Condition 'VersionNT = v6.1 AND VersionNT64' evaluates to false.
[0950:065C][2015-06-15T21:00:42]w321: Skipping dependency registration on package with no dependency providers: Windows7_MSU_x64
[0950:065C][2015-06-15T21:00:42]i052: Condition 'VersionNT = v6.0 AND NOT VersionNT64' evaluates to false.
[0950:065C][2015-06-15T21:00:42]w321: Skipping dependency registration on package with no dependency providers: WindowsVista_MSU_x86
[0950:065C][2015-06-15T21:00:42]i052: Condition 'VersionNT = v6.0 AND VersionNT64' evaluates to false.
[0950:065C][2015-06-15T21:00:42]w321: Skipping dependency registration on package with no dependency providers: WindowsVista_MSU_x64
[0950:065C][2015-06-15T21:00:42]i201: Planned package: vcRuntimeMinimum_x64, state: Present, default requested: Repair, ba requested: Repair, execute: Repair, rollback: None, cache: No, uncache: No, dependency: Register
[0950:065C][2015-06-15T21:00:42]i201: Planned package: vcRuntimeAdditional_x64, state: Present, default requested: Repair, ba requested: Repair, execute: Repair, rollback: None, cache: No, uncache: No, dependency: Register
[0950:065C][2015-06-15T21:00:42]i201: Planned package: Windows81_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0950:065C][2015-06-15T21:00:42]i201: Planned package: Windows81_x64, state: Absent, default requested: Repair, ba requested: Repair, execute: Install, rollback: None, cache: No, uncache: No, dependency: None
[0950:065C][2015-06-15T21:00:42]i201: Planned package: Windows8_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0950:065C][2015-06-15T21:00:42]i201: Planned package: Windows8_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0950:065C][2015-06-15T21:00:42]i201: Planned package: Windows7_MSU_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0950:065C][2015-06-15T21:00:42]i201: Planned package: Windows7_MSU_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0950:065C][2015-06-15T21:00:42]i201: Planned package: WindowsVista_MSU_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0950:065C][2015-06-15T21:00:42]i201: Planned package: WindowsVista_MSU_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0950:065C][2015-06-15T21:00:42]i299: Plan complete, result: 0x0
[0950:065C][2015-06-15T21:00:42]i300: Apply begin
[0970:10E4][2015-06-15T21:00:42]i360: Creating a system restore point.
[0970:10E4][2015-06-15T21:00:42]i362: System restore disabled, system restore point not created.
[0970:10E4][2015-06-15T21:00:42]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{734fc823-e9c9-42b9-b70c-88391e5d7f45}, resume: Active, restart initiated: No, disable resume: No
[0970:0580][2015-06-15T21:00:42]i304: Verified existing payload: vcRuntimeMinimum_x64 at path: C:\ProgramData\Package Cache\{0F518B57-008A-3D18-970E-38645BBDB5E6}v14.0.22816\packages\vcRuntimeMinimum_amd64\vc_runtimeMinimum_x64.msi.
[0970:0580][2015-06-15T21:00:42]i304: Verified existing payload: cab5046A8AB272BF37297BB7928664C9503 at path: C:\ProgramData\Package Cache\{0F518B57-008A-3D18-970E-38645BBDB5E6}v14.0.22816\packages\vcRuntimeMinimum_amd64\cab1.cab.
[0970:0580][2015-06-15T21:00:42]i304: Verified existing payload: vcRuntimeAdditional_x64 at path: C:\ProgramData\Package Cache\{A066AABA-5C85-3F9D-8DAA-3847EDCDA4F3}v14.0.22816\packages\vcRuntimeAdditional_amd64\vc_runtimeAdditional_x64.msi.
[0970:0580][2015-06-15T21:00:43]i304: Verified existing payload: cab2C04DDC374BD96EB5C8EB8208F2C7C92 at path: C:\ProgramData\Package Cache\{A066AABA-5C85-3F9D-8DAA-3847EDCDA4F3}v14.0.22816\packages\vcRuntimeAdditional_amd64\cab1.cab.
[0970:0580][2015-06-15T21:00:43]i304: Verified existing payload: Windows81_x64 at path: C:\ProgramData\Package Cache\469A82B09E217DDCF849181A586DF1C97C0C5C85\packages\Patch\amd64\Windows8.1-KB2999226-x64.msu.
[0970:10E4][2015-06-15T21:00:43]i301: Applying execute package: vcRuntimeMinimum_x64, action: Repair, path: C:\ProgramData\Package Cache\{0F518B57-008A-3D18-970E-38645BBDB5E6}v14.0.22816\packages\vcRuntimeMinimum_amd64\vc_runtimeMinimum_x64.msi, arguments: ' MSIFASTINSTALL="7" NOVSUI="1"'
[0950:065C][2015-06-15T21:00:45]i319: Applied execute package: vcRuntimeMinimum_x64, result: 0x0, restart: None
[0970:10E4][2015-06-15T21:00:45]i325: Registering dependency: {734fc823-e9c9-42b9-b70c-88391e5d7f45} on package provider: Microsoft.VS.VC_RuntimeMinimumVSU_amd64,v14, package: vcRuntimeMinimum_x64
[0970:10E4][2015-06-15T21:00:45]i301: Applying execute package: vcRuntimeAdditional_x64, action: Repair, path: C:\ProgramData\Package Cache\{A066AABA-5C85-3F9D-8DAA-3847EDCDA4F3}v14.0.22816\packages\vcRuntimeAdditional_amd64\vc_runtimeAdditional_x64.msi, arguments: ' MSIFASTINSTALL="7" NOVSUI="1"'
[0950:065C][2015-06-15T21:00:46]i319: Applied execute package: vcRuntimeAdditional_x64, result: 0x0, restart: None
[0970:10E4][2015-06-15T21:00:46]i325: Registering dependency: {734fc823-e9c9-42b9-b70c-88391e5d7f45} on package provider: Microsoft.VS.VC_RuntimeAdditionalVSU_amd64,v14, package: vcRuntimeAdditional_x64
[0970:10E4][2015-06-15T21:00:46]i301: Applying execute package: Windows81_x64, action: Install, path: C:\ProgramData\Package Cache\469A82B09E217DDCF849181A586DF1C97C0C5C85\packages\Patch\amd64\Windows8.1-KB2999226-x64.msu, arguments: '"C:\Windows\SysNative\wusa.exe" "C:\ProgramData\Package Cache\469A82B09E217DDCF849181A586DF1C97C0C5C85\packages\Patch\amd64\Windows8.1-KB2999226-x64.msu" /quiet /norestart'
[0970:10E4][2015-06-15T21:00:47]e000: Error 0x80240017: Failed to execute MSU package.
[0950:065C][2015-06-15T21:00:47]e000: Error 0x80240017: Failed to configure per-machine MSU package.
[0950:065C][2015-06-15T21:00:47]i319: Applied execute package: Windows81_x64, result: 0x80240017, restart: None
[0950:065C][2015-06-15T21:00:47]e000: Error 0x80240017: Failed to execute MSU package.
[0970:10E4][2015-06-15T21:00:47]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{734fc823-e9c9-42b9-b70c-88391e5d7f45}, resume: ARP, restart: None, disable resume: No
[0970:10E4][2015-06-15T21:00:47]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{734fc823-e9c9-42b9-b70c-88391e5d7f45}, resume: ARP, restart initiated: No, disable resume: No
[0950:065C][2015-06-15T21:00:48]i399: Apply complete, result: 0x80240017, restart: None, ba requested restart:  No

看了日志是Error 0x80240017: Failed to execute MSU package,重装了这个Microsoft Visual C++ 2015之后也没什么卵用,

坑之解决:

必须更新KB2999226 补丁

官方说明 https://support.microsoft.com/en-us/help/2999226/update-for-universal-c-runtime-in-windows

注意:

没有打过补丁的系统直接装此补丁会提示:此更新不适合此计算机

因为MS上面说明上写着很清楚,需要先装Update1才可以装这个。

我直接Update1(KB2919355)-> 再装Update3 解决问题,大家可以试试。

你可能感兴趣的:(【记录坑】windows2012 R2、8.1提示Microsoft Visual C++ 2015 Runtime错误解决方法)