![vc_redist.x86.exe 安装失败:0x80240017 未指定的错误](https://linux22.com/image/1467748/vc_redist.x86.exe%20%E5%AE%89%E8%A3%85%E5%A4%B1%E8%B4%A5%EF%BC%9A0x80240017%20%E6%9C%AA%E6%8C%87%E5%AE%9A%E7%9A%84%E9%94%99%E8%AF%AF.png)
安装程序告诉我我需要先安装Visual C++ Redistributable Packages for Visual Studio 2013
并提供了链接https://www.microsoft.com/en-US/download/details.aspx?id=40784
不幸的是,经过几个选择步骤后,该链接不会下载任何内容,因此我不得不vc_redist.x86.exe
从软件百科(尽管我不喜欢从非官方网站获取文件)。
无论如何,当我尝试在 Windows 7 Professional 32 位上安装它时vc_redist.x86.exe
,出现此错误:
这是日志文件:
[06F0:0A94][2015-09-29T15:56:39]i001: Burn v3.7.3813.0, Windows v6.1 (Build 7600: Service Pack 0), path: C:\Users\win7pro32bit\Downloads\vc_redist.x86.exe, cmdline: '-burn.unelevated BurnPipe.{666EA247-11E9-45A0-9D2B-9A7A9C20DE60} {C41C0D3B-3441-414E-8CCD-D5E0E8CB8745} 3584'
[06F0:0A94][2015-09-29T15:56:40]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\WIN7PR~1\AppData\Local\Temp\dd_vcredist_x86_20150929155640.log'
[06F0:0A94][2015-09-29T15:56:40]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\win7pro32bit\Downloads\vc_redist.x86.exe'
[06F0:0A94][2015-09-29T15:56:40]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Users\win7pro32bit\Downloads\'
[06F0:0A94][2015-09-29T15:56:40]i000: Setting string variable 'WixBundleName' to value 'Microsoft Visual C++ 2015 Redistributable (x86) - 14.0.23026'
[06F0:0A94][2015-09-29T15:56:40]i100: Detect begin, 10 packages
[06F0:0A94][2015-09-29T15:56:40]i000: File search: windows_uCRT_DetectKey, did not find path: C:\Windows\system32\api-ms-win-crt-runtime-l1-1-0.dll
[06F0:0A94][2015-09-29T15:56:40]i000: File search: windows_uCRT_DetectKeyExists, did not find path: C:\Windows\system32\api-ms-win-crt-runtime-l1-1-0.dll
[06F0:0A94][2015-09-29T15:56:40]i000: Setting numeric variable 'windows_uCRT_DetectKeyExists' to value 0
[06F0:0A94][2015-09-29T15:56:41]i052: Condition '(windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10137.0)' evaluates to false.
[06F0:0A94][2015-09-29T15:56:41]i052: Condition '(windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10137.0)' evaluates to false.
[06F0:0A94][2015-09-29T15:56:41]i052: Condition '(windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10137.0)' evaluates to false.
[06F0:0A94][2015-09-29T15:56:41]i052: Condition '(windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10137.0)' evaluates to false.
[06F0:0A94][2015-09-29T15:56:41]i052: Condition '(windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10137.0)' evaluates to false.
[06F0:0A94][2015-09-29T15:56:41]i052: Condition '(windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10137.0)' evaluates to false.
[06F0:0A94][2015-09-29T15:56:41]i052: Condition '(windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10137.0)' evaluates to false.
[06F0:0A94][2015-09-29T15:56:41]i052: Condition '(windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10137.0)' evaluates to false.
[06F0:0A94][2015-09-29T15:56:41]i101: Detected package: vcRuntimeMinimum_x86, state: Absent, cached: None
[06F0:0A94][2015-09-29T15:56:41]i101: Detected package: vcRuntimeAdditional_x86, state: Absent, cached: None
[06F0:0A94][2015-09-29T15:56:41]i101: Detected package: Windows81_x86, state: Absent, cached: None
[06F0:0A94][2015-09-29T15:56:41]i101: Detected package: Windows81_x64, state: Absent, cached: None
[06F0:0A94][2015-09-29T15:56:41]i101: Detected package: Windows8_x86, state: Absent, cached: None
[06F0:0A94][2015-09-29T15:56:41]i101: Detected package: Windows8_x64, state: Absent, cached: None
[06F0:0A94][2015-09-29T15:56:41]i101: Detected package: Windows7_MSU_x86, state: Absent, cached: None
[06F0:0A94][2015-09-29T15:56:41]i101: Detected package: Windows7_MSU_x64, state: Absent, cached: None
[06F0:0A94][2015-09-29T15:56:41]i101: Detected package: WindowsVista_MSU_x86, state: Absent, cached: None
[06F0:0A94][2015-09-29T15:56:41]i101: Detected package: WindowsVista_MSU_x64, state: Absent, cached: None
[06F0:0A94][2015-09-29T15:56:41]i052: Condition 'VersionNT >= v6.0 OR (VersionNT = v5.1 AND ServicePackLevel >= 2) OR (VersionNT = v5.2 AND ServicePackLevel >= 1)' evaluates to true.
[06F0:0A94][2015-09-29T15:56:41]i199: Detect complete, result: 0x0
[06F0:0A94][2015-09-29T15:56:44]i200: Plan begin, 10 packages, action: Install
[06F0:0A94][2015-09-29T15:56:44]i000: Setting string variable 'WixBundleRollbackLog_vcRuntimeMinimum_x86' to value 'C:\Users\WIN7PR~1\AppData\Local\Temp\dd_vcredist_x86_20150929155640_000_vcRuntimeMinimum_x86_rollback.log'
[06F0:0A94][2015-09-29T15:56:44]i000: Setting string variable 'WixBundleLog_vcRuntimeMinimum_x86' to value 'C:\Users\WIN7PR~1\AppData\Local\Temp\dd_vcredist_x86_20150929155640_000_vcRuntimeMinimum_x86.log'
[06F0:0A94][2015-09-29T15:56:44]i000: Setting string variable 'WixBundleRollbackLog_vcRuntimeAdditional_x86' to value 'C:\Users\WIN7PR~1\AppData\Local\Temp\dd_vcredist_x86_20150929155640_001_vcRuntimeAdditional_x86_rollback.log'
[06F0:0A94][2015-09-29T15:56:44]i000: Setting string variable 'WixBundleLog_vcRuntimeAdditional_x86' to value 'C:\Users\WIN7PR~1\AppData\Local\Temp\dd_vcredist_x86_20150929155640_001_vcRuntimeAdditional_x86.log'
[06F0:0A94][2015-09-29T15:56:44]i052: Condition 'VersionNT = v6.3 AND NOT VersionNT64' evaluates to false.
[06F0:0A94][2015-09-29T15:56:44]w321: Skipping dependency registration on package with no dependency providers: Windows81_x86
[06F0:0A94][2015-09-29T15:56:44]i052: Condition 'VersionNT = v6.3 AND VersionNT64' evaluates to false.
[06F0:0A94][2015-09-29T15:56:44]w321: Skipping dependency registration on package with no dependency providers: Windows81_x64
[06F0:0A94][2015-09-29T15:56:44]i052: Condition 'VersionNT = v6.2 AND NOT VersionNT64' evaluates to false.
[06F0:0A94][2015-09-29T15:56:44]w321: Skipping dependency registration on package with no dependency providers: Windows8_x86
[06F0:0A94][2015-09-29T15:56:44]i052: Condition 'VersionNT = v6.2 AND VersionNT64' evaluates to false.
[06F0:0A94][2015-09-29T15:56:44]w321: Skipping dependency registration on package with no dependency providers: Windows8_x64
[06F0:0A94][2015-09-29T15:56:44]i052: Condition 'VersionNT = v6.1 AND NOT VersionNT64' evaluates to true.
[06F0:0A94][2015-09-29T15:56:44]w321: Skipping dependency registration on package with no dependency providers: Windows7_MSU_x86
[06F0:0A94][2015-09-29T15:56:44]i052: Condition 'VersionNT = v6.1 AND VersionNT64' evaluates to false.
[06F0:0A94][2015-09-29T15:56:44]w321: Skipping dependency registration on package with no dependency providers: Windows7_MSU_x64
[06F0:0A94][2015-09-29T15:56:44]i052: Condition 'VersionNT = v6.0 AND NOT VersionNT64' evaluates to false.
[06F0:0A94][2015-09-29T15:56:44]w321: Skipping dependency registration on package with no dependency providers: WindowsVista_MSU_x86
[06F0:0A94][2015-09-29T15:56:44]i052: Condition 'VersionNT = v6.0 AND VersionNT64' evaluates to false.
[06F0:0A94][2015-09-29T15:56:44]w321: Skipping dependency registration on package with no dependency providers: WindowsVista_MSU_x64
[06F0:0A94][2015-09-29T15:56:44]i201: Planned package: vcRuntimeMinimum_x86, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[06F0:0A94][2015-09-29T15:56:44]i201: Planned package: vcRuntimeAdditional_x86, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[06F0:0A94][2015-09-29T15:56:44]i201: Planned package: Windows81_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[06F0:0A94][2015-09-29T15:56:44]i201: Planned package: Windows81_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[06F0:0A94][2015-09-29T15:56:44]i201: Planned package: Windows8_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[06F0:0A94][2015-09-29T15:56:44]i201: Planned package: Windows8_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[06F0:0A94][2015-09-29T15:56:44]i201: Planned package: Windows7_MSU_x86, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: None
[06F0:0A94][2015-09-29T15:56:44]i201: Planned package: Windows7_MSU_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[06F0:0A94][2015-09-29T15:56:44]i201: Planned package: WindowsVista_MSU_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[06F0:0A94][2015-09-29T15:56:44]i201: Planned package: WindowsVista_MSU_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[06F0:0A94][2015-09-29T15:56:44]i299: Plan complete, result: 0x0
[06F0:0A94][2015-09-29T15:56:44]i300: Apply begin
[0E00:0BA0][2015-09-29T15:56:45]i360: Creating a system restore point.
[0E00:0BA0][2015-09-29T15:57:42]i361: Created a system restore point.
[0E00:0BA0][2015-09-29T15:57:42]i370: Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{74d0e5db-b326-4dae-a6b2-445b9de1836e}, options: 0x7, disable resume: No
[0E00:0BA0][2015-09-29T15:57:43]i000: Caching bundle from: 'C:\Users\WIN7PR~1\AppData\Local\Temp\{74d0e5db-b326-4dae-a6b2-445b9de1836e}\.be\VC_redist.x86.exe' to: 'C:\ProgramData\Package Cache\{74d0e5db-b326-4dae-a6b2-445b9de1836e}\VC_redist.x86.exe'
[0E00:0BA0][2015-09-29T15:57:43]i320: Registering bundle dependency provider: {74d0e5db-b326-4dae-a6b2-445b9de1836e}, version: 14.0.23026.0
[0E00:0BA0][2015-09-29T15:57:43]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{74d0e5db-b326-4dae-a6b2-445b9de1836e}, resume: Active, restart initiated: No, disable resume: No
[0E00:0D3C][2015-09-29T15:57:49]i304: Verified existing payload: vcRuntimeMinimum_x86 at path: C:\ProgramData\Package Cache\.unverified\vcRuntimeMinimum_x86.
[0E00:0D3C][2015-09-29T15:57:49]i305: Verified acquired payload: vcRuntimeMinimum_x86 at path: C:\ProgramData\Package Cache\.unverified\vcRuntimeMinimum_x86, moving to: C:\ProgramData\Package Cache\{A2563E55-3BEC-3828-8D67-E5E8B9E8B675}v14.0.23026\packages\vcRuntimeMinimum_x86\vc_runtimeMinimum_x86.msi.
[0E00:0D3C][2015-09-29T15:57:49]i304: Verified existing payload: cab54A5CABBE7274D8A22EB58060AAB7623 at path: C:\ProgramData\Package Cache\.unverified\cab54A5CABBE7274D8A22EB58060AAB7623.
[0E00:0D3C][2015-09-29T15:57:49]i305: Verified acquired payload: cab54A5CABBE7274D8A22EB58060AAB7623 at path: C:\ProgramData\Package Cache\.unverified\cab54A5CABBE7274D8A22EB58060AAB7623, moving to: C:\ProgramData\Package Cache\{A2563E55-3BEC-3828-8D67-E5E8B9E8B675}v14.0.23026\packages\vcRuntimeMinimum_x86\cab1.cab.
[0E00:0D3C][2015-09-29T15:57:49]i304: Verified existing payload: vcRuntimeAdditional_x86 at path: C:\ProgramData\Package Cache\.unverified\vcRuntimeAdditional_x86.
[0E00:0D3C][2015-09-29T15:57:49]i305: Verified acquired payload: vcRuntimeAdditional_x86 at path: C:\ProgramData\Package Cache\.unverified\vcRuntimeAdditional_x86, moving to: C:\ProgramData\Package Cache\{BE960C1C-7BAD-3DE6-8B1A-2616FE532845}v14.0.23026\packages\vcRuntimeAdditional_x86\vc_runtimeAdditional_x86.msi.
[0E00:0D3C][2015-09-29T15:57:49]i304: Verified existing payload: cabB3E1576D1FEFBB979E13B1A5379E0B16 at path: C:\ProgramData\Package Cache\.unverified\cabB3E1576D1FEFBB979E13B1A5379E0B16.
[0E00:0D3C][2015-09-29T15:57:49]i305: Verified acquired payload: cabB3E1576D1FEFBB979E13B1A5379E0B16 at path: C:\ProgramData\Package Cache\.unverified\cabB3E1576D1FEFBB979E13B1A5379E0B16, moving to: C:\ProgramData\Package Cache\{BE960C1C-7BAD-3DE6-8B1A-2616FE532845}v14.0.23026\packages\vcRuntimeAdditional_x86\cab1.cab.
[0E00:0D3C][2015-09-29T15:57:50]i304: Verified existing payload: Windows7_MSU_x86 at path: C:\ProgramData\Package Cache\.unverified\Windows7_MSU_x86.
[0E00:0D3C][2015-09-29T15:57:50]i305: Verified acquired payload: Windows7_MSU_x86 at path: C:\ProgramData\Package Cache\.unverified\Windows7_MSU_x86, moving to: C:\ProgramData\Package Cache\D4036846864773E3D647F421DFE7F6CA536E307B\packages\Patch\x86\Windows6.1-KB2999226-x86.msu.
[0E00:0BA0][2015-09-29T15:57:50]i301: Applying execute package: vcRuntimeMinimum_x86, action: Install, path: C:\ProgramData\Package Cache\{A2563E55-3BEC-3828-8D67-E5E8B9E8B675}v14.0.23026\packages\vcRuntimeMinimum_x86\vc_runtimeMinimum_x86.msi, arguments: ' MSIFASTINSTALL="7" NOVSUI="1"'
[06F0:0A94][2015-09-29T15:58:03]i319: Applied execute package: vcRuntimeMinimum_x86, result: 0x0, restart: None
[0E00:0BA0][2015-09-29T15:58:03]i325: Registering dependency: {74d0e5db-b326-4dae-a6b2-445b9de1836e} on package provider: Microsoft.VS.VC_RuntimeMinimumVSU_x86,v14, package: vcRuntimeMinimum_x86
[0E00:0BA0][2015-09-29T15:58:03]i301: Applying execute package: vcRuntimeAdditional_x86, action: Install, path: C:\ProgramData\Package Cache\{BE960C1C-7BAD-3DE6-8B1A-2616FE532845}v14.0.23026\packages\vcRuntimeAdditional_x86\vc_runtimeAdditional_x86.msi, arguments: ' MSIFASTINSTALL="7" NOVSUI="1"'
[06F0:0A94][2015-09-29T15:58:09]i319: Applied execute package: vcRuntimeAdditional_x86, result: 0x0, restart: None
[0E00:0BA0][2015-09-29T15:58:09]i325: Registering dependency: {74d0e5db-b326-4dae-a6b2-445b9de1836e} on package provider: Microsoft.VS.VC_RuntimeAdditionalVSU_x86,v14, package: vcRuntimeAdditional_x86
[0E00:0BA0][2015-09-29T15:58:09]i301: Applying execute package: Windows7_MSU_x86, action: Install, path: C:\ProgramData\Package Cache\D4036846864773E3D647F421DFE7F6CA536E307B\packages\Patch\x86\Windows6.1-KB2999226-x86.msu, arguments: '"C:\Windows\system32\wusa.exe" "C:\ProgramData\Package Cache\D4036846864773E3D647F421DFE7F6CA536E307B\packages\Patch\x86\Windows6.1-KB2999226-x86.msu" /quiet /norestart'
[0E00:0BA0][2015-09-29T15:58:38]e000: Error 0x80240017: Failed to execute MSU package.
[06F0:0A94][2015-09-29T15:58:38]e000: Error 0x80240017: Failed to configure per-machine MSU package.
[06F0:0A94][2015-09-29T15:58:38]i319: Applied execute package: Windows7_MSU_x86, result: 0x80240017, restart: None
[06F0:0A94][2015-09-29T15:58:38]e000: Error 0x80240017: Failed to execute MSU package.
[0E00:0BA0][2015-09-29T15:58:38]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{74d0e5db-b326-4dae-a6b2-445b9de1836e}, resume: ARP, restart: None, disable resume: No
[0E00:0BA0][2015-09-29T15:58:38]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{74d0e5db-b326-4dae-a6b2-445b9de1836e}, resume: ARP, restart initiated: No, disable resume: No
[06F0:0A94][2015-09-29T15:58:38]i399: Apply complete, result: 0x80240017, restart: None, ba requested restart: No
我做错了什么?
答案1
我按照此处的帖子安装了 Windows 7 Service Pack 1:https://www.reddit.com/r/techsupport/comments/464swn/microsoft_visual_c_2015_redistributable_setup/并解决了错误。
安装 SP1 使我能够成功运行 Visual C++ Redistributable,从而放置依赖项 api....dll 并允许我的程序运行。
我从这里下载了 SP1 的 .iso 文件:https://www.microsoft.com/en-us/download/details.aspx?id=5842
答案2
答案3
点击页面click here to download manually
上的下载Choose the files that didnt download
。
或者
Microsoft Visual C++ 2015 可再发行更新 3 链接:
64 位:虚拟机红名单.exe
32位: 虚拟机红名单