我在 Windows 8.1 中安装了 xampp。但是当我启动它的控制面板时,它显示“api-ms-win-crt-runtime-l1-1-0.dll missing”。我尝试安装
vc_redist.x64.exe
但安装不正确。它显示以下日志文件:
[0C14:06D4][2017-07-15T18:06:17]i001: Burn v3.7.3813.0, Windows v6.3 (Build 9600: Service Pack 0), path: C:\Users\Suzan\Downloads\Programs\vc_redist.x64.exe, cmdline: ''
[0C14:06D4][2017-07-15T18:06:18]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\Suzan\AppData\Local\Temp\dd_vcredist_amd64_20170715180618.log'
[0C14:06D4][2017-07-15T18:06:18]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\Suzan\Downloads\Programs\vc_redist.x64.exe'
[0C14:06D4][2017-07-15T18:06:18]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Users\Suzan\Downloads\Programs\'
[0C14:06D4][2017-07-15T18:06:18]i100: Detect begin, 10 packages
[0C14:06D4][2017-07-15T18:06:18]i000: File search: windows_uCRT_DetectKey, did not find path: C:\Windows\system32\ucrtbase.dll
[0C14:06D4][2017-07-15T18:06:18]i000: File search: windows_uCRT_DetectKeyExists, did not find path: C:\Windows\system32\ucrtbase.dll
[0C14:06D4][2017-07-15T18:06:18]i000: Setting numeric variable 'windows_uCRT_DetectKeyExists' to value 0
[0C14:06D4][2017-07-15T18:06:18]i052: Condition '(VersionNT = v6.3 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[0C14:06D4][2017-07-15T18:06:18]i052: Condition '(VersionNT = v6.3 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[0C14:06D4][2017-07-15T18:06:18]i052: Condition '(VersionNT = v6.2 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[0C14:06D4][2017-07-15T18:06:18]i052: Condition '(VersionNT = v6.2 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[0C14:06D4][2017-07-15T18:06:18]i052: Condition '(VersionNT = v6.1 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[0C14:06D4][2017-07-15T18:06:18]i052: Condition '(VersionNT = v6.1 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[0C14:06D4][2017-07-15T18:06:18]i052: Condition '(VersionNT = v6.0 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[0C14:06D4][2017-07-15T18:06:18]i052: Condition '(VersionNT = v6.0 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[0C14:06D4][2017-07-15T18:06:18]i101: Detected package: vcRuntimeMinimum_x64, state: Present, cached: Complete
[0C14:06D4][2017-07-15T18:06:18]i101: Detected package: vcRuntimeAdditional_x64, state: Present, cached: Complete
[0C14:06D4][2017-07-15T18:06:18]i101: Detected package: Windows81_x86, state: Absent, cached: None
[0C14:06D4][2017-07-15T18:06:18]i101: Detected package: Windows81_x64, state: Absent, cached: Complete
[0C14:06D4][2017-07-15T18:06:18]i101: Detected package: Windows8_x86, state: Absent, cached: None
[0C14:06D4][2017-07-15T18:06:18]i101: Detected package: Windows8_x64, state: Absent, cached: None
[0C14:06D4][2017-07-15T18:06:18]i101: Detected package: Windows7_MSU_x86, state: Absent, cached: None
[0C14:06D4][2017-07-15T18:06:18]i101: Detected package: Windows7_MSU_x64, state: Absent, cached: None
[0C14:06D4][2017-07-15T18:06:18]i101: Detected package: WindowsVista_MSU_x86, state: Absent, cached: None
[0C14:06D4][2017-07-15T18:06:18]i101: Detected package: WindowsVista_MSU_x64, state: Absent, cached: None
[0C14:06D4][2017-07-15T18:06:18]i052: Condition 'VersionNT64 >= v6.0 OR (VersionNT64 = v5.2 AND ServicePackLevel >= 1)' evaluates to true.
[0C14:06D4][2017-07-15T18:06:18]i199: Detect complete, result: 0x0
[0C14:06D4][2017-07-15T18:06:20]i200: Plan begin, 10 packages, action: Repair
[0C14:06D4][2017-07-15T18:06:20]i052: Condition '(VersionNT64)' evaluates to true.
[0C14:06D4][2017-07-15T18:06:20]i000: Setting string variable 'WixBundleLog_vcRuntimeMinimum_x64' to value 'C:\Users\Suzan\AppData\Local\Temp\dd_vcredist_amd64_20170715180618_000_vcRuntimeMinimum_x64.log'
[0C14:06D4][2017-07-15T18:06:20]i052: Condition '(VersionNT64)' evaluates to true.
[0C14:06D4][2017-07-15T18:06:20]i000: Setting string variable 'WixBundleLog_vcRuntimeAdditional_x64' to value 'C:\Users\Suzan\AppData\Local\Temp\dd_vcredist_amd64_20170715180618_001_vcRuntimeAdditional_x64.log'
[0C14:06D4][2017-07-15T18:06:20]i052: Condition 'VersionNT = v6.3 AND NOT VersionNT64' evaluates to false.
[0C14:06D4][2017-07-15T18:06:20]w321: Skipping dependency registration on package with no dependency providers: Windows81_x86
[0C14:06D4][2017-07-15T18:06:20]i052: Condition 'VersionNT = v6.3 AND VersionNT64' evaluates to true.
[0C14:06D4][2017-07-15T18:06:20]w321: Skipping dependency registration on package with no dependency providers: Windows81_x64
[0C14:06D4][2017-07-15T18:06:20]i052: Condition 'VersionNT = v6.2 AND NOT VersionNT64' evaluates to false.
[0C14:06D4][2017-07-15T18:06:20]w321: Skipping dependency registration on package with no dependency providers: Windows8_x86
[0C14:06D4][2017-07-15T18:06:20]i052: Condition 'VersionNT = v6.2 AND VersionNT64' evaluates to false.
[0C14:06D4][2017-07-15T18:06:20]w321: Skipping dependency registration on package with no dependency providers: Windows8_x64
[0C14:06D4][2017-07-15T18:06:20]i052: Condition 'VersionNT = v6.1 AND NOT VersionNT64' evaluates to false.
[0C14:06D4][2017-07-15T18:06:20]w321: Skipping dependency registration on package with no dependency providers: Windows7_MSU_x86
[0C14:06D4][2017-07-15T18:06:20]i052: Condition 'VersionNT = v6.1 AND VersionNT64' evaluates to false.
[0C14:06D4][2017-07-15T18:06:20]w321: Skipping dependency registration on package with no dependency providers: Windows7_MSU_x64
[0C14:06D4][2017-07-15T18:06:20]i052: Condition 'VersionNT = v6.0 AND NOT VersionNT64' evaluates to false.
[0C14:06D4][2017-07-15T18:06:20]w321: Skipping dependency registration on package with no dependency providers: WindowsVista_MSU_x86
[0C14:06D4][2017-07-15T18:06:20]i052: Condition 'VersionNT = v6.0 AND VersionNT64' evaluates to false.
[0C14:06D4][2017-07-15T18:06:20]w321: Skipping dependency registration on package with no dependency providers: WindowsVista_MSU_x64
[0C14:06D4][2017-07-15T18:06:20]i201: Planned package: vcRuntimeMinimum_x64, state: Present, default requested: Repair, ba requested: Repair, execute: Repair, rollback: None, cache: No, uncache: No, dependency: Register
[0C14:06D4][2017-07-15T18:06:20]i201: Planned package: vcRuntimeAdditional_x64, state: Present, default requested: Repair, ba requested: Repair, execute: Repair, rollback: None, cache: No, uncache: No, dependency: Register
[0C14:06D4][2017-07-15T18:06:20]i201: Planned package: Windows81_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0C14:06D4][2017-07-15T18:06:20]i201: Planned package: Windows81_x64, state: Absent, default requested: Repair, ba requested: Repair, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: None
[0C14:06D4][2017-07-15T18:06:20]i201: Planned package: Windows8_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0C14:06D4][2017-07-15T18:06:20]i201: Planned package: Windows8_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0C14:06D4][2017-07-15T18:06:20]i201: Planned package: Windows7_MSU_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0C14:06D4][2017-07-15T18:06:20]i201: Planned package: Windows7_MSU_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0C14:06D4][2017-07-15T18:06:20]i201: Planned package: WindowsVista_MSU_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0C14:06D4][2017-07-15T18:06:20]i201: Planned package: WindowsVista_MSU_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0C14:06D4][2017-07-15T18:06:20]i299: Plan complete, result: 0x0
[0C14:06D4][2017-07-15T18:06:20]i300: Apply begin
[0964:0C48][2017-07-15T18:06:22]i360: Creating a system restore point.
[0964:0C48][2017-07-15T18:06:22]i361: Created a system restore point.
[0964:0C48][2017-07-15T18:06:22]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{e9d78d68-c26c-4da7-9158-99355d8ef3ad}, resume: Active, restart initiated: No, disable resume: No
[0964:0C7C][2017-07-15T18:06:22]i304: Verified existing payload: vcRuntimeMinimum_x64 at path: C:\ProgramData\Package Cache\{8D4F7A6D-6B81-3DC8-9C21-6008E4866727}v14.10.25017\packages\vcRuntimeMinimum_amd64\vc_runtimeMinimum_x64.msi.
[0964:0C7C][2017-07-15T18:06:22]i304: Verified existing payload: cab5046A8AB272BF37297BB7928664C9503 at path: C:\ProgramData\Package Cache\{8D4F7A6D-6B81-3DC8-9C21-6008E4866727}v14.10.25017\packages\vcRuntimeMinimum_amd64\cab1.cab.
[0964:0C7C][2017-07-15T18:06:22]i304: Verified existing payload: vcRuntimeAdditional_x64 at path: C:\ProgramData\Package Cache\{E512788E-C50B-3858-A4B9-73AD5F3F9E93}v14.10.25017\packages\vcRuntimeAdditional_amd64\vc_runtimeAdditional_x64.msi.
[0964:0C7C][2017-07-15T18:06:22]i304: Verified existing payload: cab2C04DDC374BD96EB5C8EB8208F2C7C92 at path: C:\ProgramData\Package Cache\{E512788E-C50B-3858-A4B9-73AD5F3F9E93}v14.10.25017\packages\vcRuntimeAdditional_amd64\cab1.cab.
[0964:0C7C][2017-07-15T18:06:23]i304: Verified existing payload: Windows81_x64 at path: C:\ProgramData\Package Cache\3ACBF3890FC9C8A6F3D2155ECF106028E5F55164\packages\Patch\x64\Windows8.1-KB2999226-x64.msu.
[0964:0C48][2017-07-15T18:06:23]i301: Applying execute package: vcRuntimeMinimum_x64, action: Repair, path: C:\ProgramData\Package Cache\{8D4F7A6D-6B81-3DC8-9C21-6008E4866727}v14.10.25017\packages\vcRuntimeMinimum_amd64\vc_runtimeMinimum_x64.msi, arguments: ' MSIFASTINSTALL="7" NOVSUI="1"'
[0C14:06D4][2017-07-15T18:06:23]i319: Applied execute package: vcRuntimeMinimum_x64, result: 0x0, restart: None
[0964:0C48][2017-07-15T18:06:23]i325: Registering dependency: {e9d78d68-c26c-4da7-9158-99355d8ef3ad} on package provider: Microsoft.VS.VC_RuntimeMinimumVSU_amd64,v14, package: vcRuntimeMinimum_x64
[0964:0C48][2017-07-15T18:06:23]i301: Applying execute package: vcRuntimeAdditional_x64, action: Repair, path: C:\ProgramData\Package Cache\{E512788E-C50B-3858-A4B9-73AD5F3F9E93}v14.10.25017\packages\vcRuntimeAdditional_amd64\vc_runtimeAdditional_x64.msi, arguments: ' MSIFASTINSTALL="7" NOVSUI="1"'
[0C14:06D4][2017-07-15T18:06:24]i319: Applied execute package: vcRuntimeAdditional_x64, result: 0x0, restart: None
[0964:0C48][2017-07-15T18:06:24]i325: Registering dependency: {e9d78d68-c26c-4da7-9158-99355d8ef3ad} on package provider: Microsoft.VS.VC_RuntimeAdditionalVSU_amd64,v14, package: vcRuntimeAdditional_x64
[0964:0C48][2017-07-15T18:06:24]i301: Applying execute package: Windows81_x64, action: Install, path: C:\ProgramData\Package Cache\3ACBF3890FC9C8A6F3D2155ECF106028E5F55164\packages\Patch\x64\Windows8.1-KB2999226-x64.msu, arguments: '"C:\Windows\SysNative\wusa.exe" "C:\ProgramData\Package Cache\3ACBF3890FC9C8A6F3D2155ECF106028E5F55164\packages\Patch\x64\Windows8.1-KB2999226-x64.msu" /quiet /norestart'
[0964:0C48][2017-07-15T18:06:26]e000: Error 0x80240017: Failed to execute MSU package.
[0C14:06D4][2017-07-15T18:06:26]e000: Error 0x80240017: Failed to configure per-machine MSU package.
[0C14:06D4][2017-07-15T18:06:26]i319: Applied execute package: Windows81_x64, result: 0x80240017, restart: None
[0C14:06D4][2017-07-15T18:06:26]e000: Error 0x80240017: Failed to execute MSU package.
[0964:0C48][2017-07-15T18:06:26]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{e9d78d68-c26c-4da7-9158-99355d8ef3ad}, resume: ARP, restart: None, disable resume: No
[0964:0C48][2017-07-15T18:06:26]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{e9d78d68-c26c-4da7-9158-99355d8ef3ad}, resume: ARP, restart initiated: No, disable resume: No
[0C14:06D4][2017-07-15T18:06:26]i399: Apply complete, result: 0x80240017, restart: None, ba requested restart: No
我也尝试在 Windows 中安装所有更新。我该如何解决这个问题?谢谢 :)
答案1
解决这个问题似乎有两种策略:
显然,缺失的“api-ms-win-crt-runtime-l1-1-0.dll”通常是通过 Windows 更新安装的,尤其是对于 Windows 10 之前的计算机。根据互联网,要解决此问题,您可能希望下载并安装Microsoft 针对 Windows 中的通用 C 运行时进行更新(假设 Windows 没有执行其需要执行的操作)。
如果你比较确定自己有此更新,但又犹豫不决,或者仍然遇到问题,你可能需要选择最新的 Visual C++ 可再发行组件并自行手动更新。这可能尤其适用于您的情况,因为您尝试的过程似乎不合作。
这是直接链接最新的 VS 2015 Update 3 可再发行版本,包括 64 位和 32 位版本。
关于可再发行组件,您收到的错误可能是由 VS 2015 和 VS 2017 引起的,因此您可能需要为这两者安装可再发行组件。
此外,虽然我会对此小心一点,但如果您可以选择在运行安装程序时卸载可再发行组件(以便您可以随后重新安装它们),这通常比“修复”它们更好。