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

news/2025/1/7 20:08:41/

环境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 解决问题,大家可以试试。


http://www.ppmy.cn/news/909055.html

相关文章

缺陷检测(图像处理部分)

论文一:工件表面微小缺陷的检测与识别方法 提出“基于像元搜索算法的微小缺陷检测方法”。 首先采用直方图均衡化提升背景与缺陷目标的对比度,利用中值和均值滤波对图像进行去噪,根据背景灰度分布,在目标分割过程中采用分块、按方…

ADS-B消息的算法及仿真

为了进行ADS-B报文防欺骗技术研究,首先需要深入了解报文的编译码方法:译码的实现可以深度挖掘报文中的特征参数,进行防欺骗研究;编码的实现可以为后续仿真实验产生符合要求的报文打下基础。 空中位置消息ME字段的编译算法与仿真 …

每日打卡day4

题目如下: 地图上有 N 个目标,用整数 Xi,Yi 表示目标在地图上的位置,每个目标都有一个价值 Wi。 注意:不同目标可能在同一位置。 现在有一种新型的激光炸弹,可以摧毁一个包含 RR 个位置的正方形内的所有目标。 激光…

C—数据的储存(下)

文章目录 前言🌟一、练习一下🌏1.例一🌏2.例二🌏3.例三🌏4.例四 🌟二、浮点型在内存中的储存🌏1.浮点数🌏2.浮点数存储💫(1).二进制浮点数&#x…

ubuntu16.04+惠普光影精灵+GTX960M+英伟达驱动安装

介绍两种方式: 1.通过自带的software&update安装。 ~找到software&update ~选择additional Drivers,选择英伟达驱动就可以了。 ~检验驱动是否安装成功。进入ubuntu图形界面并在命令行输入: cat …

光影精灵usb安装linux,惠普光影精灵台式机安装Ubuntu16.04

关闭win10的快速启动 开机按F10进BIOS,“安全”->“安全引导设置”-->禁用“安全引导” 重启按F9选择U盘启动,按照之前的博客安装Ubuntu16.04系统 进入系统后无限网无法使用,使用rfkill list发现是无限网卡驱动未安装,参考h…

C++11(1)——新增用法零碎总结

目录 1. C11简介 2. 统一的列表初始化 2.1 {}初始化 2.2 std::initializer_list std::initializer_list是什么类型: std::initializer_list使用场景: 让模拟实现的vector也支持{}初始化和赋值 1. C11简介 在2003年C标准委员会…