Visual C ++ 2015 Redistributable Setup失败[0x80240017] - 未指定错误

时间:2017-06-02 06:08:33

标签: windows visual-studio windows-7-x64 windows-update

我正在尝试安装Visual C ++ 2015 x64 -14.0.23026软件包因为我无法安装photoshop并且根据在线说明我应该安装此软件包。但是当我尝试安装软件包时出现错误。

这是我的日志文件。任何帮助,将不胜感激。

[1648:1B88][2017-06-02T11:29:22]i001: Burn v3.7.3813.0, Windows v6.1 (Build 7600: Service Pack 0), path: C:\Users\dell\Downloads\vc_redist.x64.exe, cmdline: ''
[1648:1B88][2017-06-02T11:29:22]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\dell\AppData\Local\Temp\dd_vcredist_amd64_20170602112922.log'
[1648:1B88][2017-06-02T11:29:22]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\dell\Downloads\vc_redist.x64.exe'
[1648:1B88][2017-06-02T11:29:22]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Users\dell\Downloads\'
[1648:1B88][2017-06-02T11:29:22]i000: Setting string variable 'WixBundleName' to value 'Microsoft Visual C++ 2015 Redistributable (x64) - 14.0.23026'
[1648:1B88][2017-06-02T11:29:22]i100: Detect begin, 10 packages
[1648:1B88][2017-06-02T11:29:22]i000: File search: windows_uCRT_DetectKey, did not find path: C:\Windows\system32\api-ms-win-crt-runtime-l1-1-0.dll
[1648:1B88][2017-06-02T11:29:22]i000: File search: windows_uCRT_DetectKeyExists, did not find path: C:\Windows\system32\api-ms-win-crt-runtime-l1-1-0.dll
[1648:1B88][2017-06-02T11:29:22]i000: Setting numeric variable 'windows_uCRT_DetectKeyExists' to value 0
[1648:1B88][2017-06-02T11:29:22]i052: Condition '(windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10137.0)' evaluates to false.
[1648:1B88][2017-06-02T11:29:22]i052: Condition '(windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10137.0)' evaluates to false.
[1648:1B88][2017-06-02T11:29:22]i052: Condition '(windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10137.0)' evaluates to false.
[1648:1B88][2017-06-02T11:29:22]i052: Condition '(windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10137.0)' evaluates to false.
[1648:1B88][2017-06-02T11:29:22]i052: Condition '(windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10137.0)' evaluates to false.
[1648:1B88][2017-06-02T11:29:22]i052: Condition '(windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10137.0)' evaluates to false.
[1648:1B88][2017-06-02T11:29:22]i052: Condition '(windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10137.0)' evaluates to false.
[1648:1B88][2017-06-02T11:29:22]i052: Condition '(windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10137.0)' evaluates to false.
[1648:1B88][2017-06-02T11:29:22]i101: Detected package: vcRuntimeMinimum_x64, state: Absent, cached: None
[1648:1B88][2017-06-02T11:29:22]i101: Detected package: vcRuntimeAdditional_x64, state: Absent, cached: None
[1648:1B88][2017-06-02T11:29:22]i101: Detected package: Windows81_x86, state: Absent, cached: None
[1648:1B88][2017-06-02T11:29:22]i101: Detected package: Windows81_x64, state: Absent, cached: None
[1648:1B88][2017-06-02T11:29:22]i101: Detected package: Windows8_x86, state: Absent, cached: None
[1648:1B88][2017-06-02T11:29:22]i101: Detected package: Windows8_x64, state: Absent, cached: None
[1648:1B88][2017-06-02T11:29:22]i101: Detected package: Windows7_MSU_x86, state: Absent, cached: None
[1648:1B88][2017-06-02T11:29:22]i101: Detected package: Windows7_MSU_x64, state: Absent, cached: None
[1648:1B88][2017-06-02T11:29:22]i101: Detected package: WindowsVista_MSU_x86, state: Absent, cached: None
[1648:1B88][2017-06-02T11:29:22]i101: Detected package: WindowsVista_MSU_x64, state: Absent, cached: None
[1648:1B88][2017-06-02T11:29:22]i052: Condition 'VersionNT64 >= v6.0 OR (VersionNT64 = v5.2 AND ServicePackLevel >= 1)' evaluates to true.
[1648:1B88][2017-06-02T11:29:22]i199: Detect complete, result: 0x0
[1648:1B88][2017-06-02T11:29:26]i200: Plan begin, 10 packages, action: Install
[1648:1B88][2017-06-02T11:29:26]i052: Condition '(VersionNT64)' evaluates to true.
[1648:1B88][2017-06-02T11:29:26]i000: Setting string variable 'WixBundleRollbackLog_vcRuntimeMinimum_x64' to value 'C:\Users\dell\AppData\Local\Temp\dd_vcredist_amd64_20170602112922_000_vcRuntimeMinimum_x64_rollback.log'
[1648:1B88][2017-06-02T11:29:26]i000: Setting string variable 'WixBundleLog_vcRuntimeMinimum_x64' to value 'C:\Users\dell\AppData\Local\Temp\dd_vcredist_amd64_20170602112922_000_vcRuntimeMinimum_x64.log'
[1648:1B88][2017-06-02T11:29:26]i052: Condition '(VersionNT64)' evaluates to true.
[1648:1B88][2017-06-02T11:29:26]i000: Setting string variable 'WixBundleRollbackLog_vcRuntimeAdditional_x64' to value 'C:\Users\dell\AppData\Local\Temp\dd_vcredist_amd64_20170602112922_001_vcRuntimeAdditional_x64_rollback.log'
[1648:1B88][2017-06-02T11:29:26]i000: Setting string variable 'WixBundleLog_vcRuntimeAdditional_x64' to value 'C:\Users\dell\AppData\Local\Temp\dd_vcredist_amd64_20170602112922_001_vcRuntimeAdditional_x64.log'
[1648:1B88][2017-06-02T11:29:26]i052: Condition 'VersionNT = v6.3 AND NOT VersionNT64' evaluates to false.
[1648:1B88][2017-06-02T11:29:26]w321: Skipping dependency registration on package with no dependency providers: Windows81_x86
[1648:1B88][2017-06-02T11:29:26]i052: Condition 'VersionNT = v6.3 AND VersionNT64' evaluates to false.
[1648:1B88][2017-06-02T11:29:26]w321: Skipping dependency registration on package with no dependency providers: Windows81_x64
[1648:1B88][2017-06-02T11:29:26]i052: Condition 'VersionNT = v6.2 AND NOT VersionNT64' evaluates to false.
[1648:1B88][2017-06-02T11:29:26]w321: Skipping dependency registration on package with no dependency providers: Windows8_x86
[1648:1B88][2017-06-02T11:29:26]i052: Condition 'VersionNT = v6.2 AND VersionNT64' evaluates to false.
[1648:1B88][2017-06-02T11:29:26]w321: Skipping dependency registration on package with no dependency providers: Windows8_x64
[1648:1B88][2017-06-02T11:29:26]i052: Condition 'VersionNT = v6.1 AND NOT VersionNT64' evaluates to false.
[1648:1B88][2017-06-02T11:29:26]w321: Skipping dependency registration on package with no dependency providers: Windows7_MSU_x86
[1648:1B88][2017-06-02T11:29:26]i052: Condition 'VersionNT = v6.1 AND VersionNT64' evaluates to true.
[1648:1B88][2017-06-02T11:29:26]w321: Skipping dependency registration on package with no dependency providers: Windows7_MSU_x64
[1648:1B88][2017-06-02T11:29:26]i052: Condition 'VersionNT = v6.0 AND NOT VersionNT64' evaluates to false.
[1648:1B88][2017-06-02T11:29:26]w321: Skipping dependency registration on package with no dependency providers: WindowsVista_MSU_x86
[1648:1B88][2017-06-02T11:29:26]i052: Condition 'VersionNT = v6.0 AND VersionNT64' evaluates to false.
[1648:1B88][2017-06-02T11:29:26]w321: Skipping dependency registration on package with no dependency providers: WindowsVista_MSU_x64
[1648:1B88][2017-06-02T11:29:26]i201: Planned package: vcRuntimeMinimum_x64, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[1648:1B88][2017-06-02T11:29:26]i201: Planned package: vcRuntimeAdditional_x64, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[1648:1B88][2017-06-02T11:29:26]i201: Planned package: Windows81_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[1648:1B88][2017-06-02T11:29:26]i201: Planned package: Windows81_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[1648:1B88][2017-06-02T11:29:26]i201: Planned package: Windows8_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[1648:1B88][2017-06-02T11:29:26]i201: Planned package: Windows8_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[1648:1B88][2017-06-02T11:29:26]i201: Planned package: Windows7_MSU_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[1648:1B88][2017-06-02T11:29:26]i201: Planned package: Windows7_MSU_x64, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: None
[1648:1B88][2017-06-02T11:29:26]i201: Planned package: WindowsVista_MSU_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[1648:1B88][2017-06-02T11:29:26]i201: Planned package: WindowsVista_MSU_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[1648:1B88][2017-06-02T11:29:26]i299: Plan complete, result: 0x0
[1648:1B88][2017-06-02T11:29:26]i300: Apply begin
[0150:1918][2017-06-02T11:29:28]i360: Creating a system restore point.
[0150:1918][2017-06-02T11:29:41]i361: Created a system restore point.
[0150:1918][2017-06-02T11:29:41]i370: Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{e46eca4f-393b-40df-9f49-076faf788d83}, options: 0x7, disable resume: No
[0150:1918][2017-06-02T11:29:41]i000: Caching bundle from: 'C:\Users\dell\AppData\Local\Temp\{e46eca4f-393b-40df-9f49-076faf788d83}\.be\VC_redist.x64.exe' to: 'C:\ProgramData\Package Cache\{e46eca4f-393b-40df-9f49-076faf788d83}\VC_redist.x64.exe'
[0150:1918][2017-06-02T11:29:41]i320: Registering bundle dependency provider: {e46eca4f-393b-40df-9f49-076faf788d83}, version: 14.0.23026.0
[0150:1918][2017-06-02T11:29:41]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{e46eca4f-393b-40df-9f49-076faf788d83}, resume: Active, restart initiated: No, disable resume: No
[0150:01B0][2017-06-02T11:29:41]i304: Verified existing payload: vcRuntimeMinimum_x64 at path: C:\ProgramData\Package Cache\.unverified\vcRuntimeMinimum_x64.
[0150:01B0][2017-06-02T11:29:41]i305: Verified acquired payload: vcRuntimeMinimum_x64 at path: C:\ProgramData\Package Cache\.unverified\vcRuntimeMinimum_x64, moving to: C:\ProgramData\Package Cache\{0D3E9E15-DE7A-300B-96F1-B4AF12B96488}v14.0.23026\packages\vcRuntimeMinimum_amd64\vc_runtimeMinimum_x64.msi.
[0150:01B0][2017-06-02T11:29:41]i304: Verified existing payload: cab5046A8AB272BF37297BB7928664C9503 at path: C:\ProgramData\Package Cache\.unverified\cab5046A8AB272BF37297BB7928664C9503.
[0150:01B0][2017-06-02T11:29:41]i305: Verified acquired payload: cab5046A8AB272BF37297BB7928664C9503 at path: C:\ProgramData\Package Cache\.unverified\cab5046A8AB272BF37297BB7928664C9503, moving to: C:\ProgramData\Package Cache\{0D3E9E15-DE7A-300B-96F1-B4AF12B96488}v14.0.23026\packages\vcRuntimeMinimum_amd64\cab1.cab.
[0150:01B0][2017-06-02T11:29:41]i304: Verified existing payload: vcRuntimeAdditional_x64 at path: C:\ProgramData\Package Cache\.unverified\vcRuntimeAdditional_x64.
[0150:01B0][2017-06-02T11:29:41]i305: Verified acquired payload: vcRuntimeAdditional_x64 at path: C:\ProgramData\Package Cache\.unverified\vcRuntimeAdditional_x64, moving to: C:\ProgramData\Package Cache\{BC958BD2-5DAC-3862-BB1A-C1BE0790438D}v14.0.23026\packages\vcRuntimeAdditional_amd64\vc_runtimeAdditional_x64.msi.
[0150:01B0][2017-06-02T11:29:41]i304: Verified existing payload: cab2C04DDC374BD96EB5C8EB8208F2C7C92 at path: C:\ProgramData\Package Cache\.unverified\cab2C04DDC374BD96EB5C8EB8208F2C7C92.
[0150:01B0][2017-06-02T11:29:41]i305: Verified acquired payload: cab2C04DDC374BD96EB5C8EB8208F2C7C92 at path: C:\ProgramData\Package Cache\.unverified\cab2C04DDC374BD96EB5C8EB8208F2C7C92, moving to: C:\ProgramData\Package Cache\{BC958BD2-5DAC-3862-BB1A-C1BE0790438D}v14.0.23026\packages\vcRuntimeAdditional_amd64\cab1.cab.
[0150:01B0][2017-06-02T11:29:41]i304: Verified existing payload: Windows7_MSU_x64 at path: C:\ProgramData\Package Cache\.unverified\Windows7_MSU_x64.
[0150:01B0][2017-06-02T11:29:41]i305: Verified acquired payload: Windows7_MSU_x64 at path: C:\ProgramData\Package Cache\.unverified\Windows7_MSU_x64, moving to: C:\ProgramData\Package Cache\42D5BEC7DDFBD49E76467529CBC2868987BF8460\packages\Patch\x64\Windows6.1-KB2999226-x64.msu.
[0150:1918][2017-06-02T11:29:41]i301: Applying execute package: vcRuntimeMinimum_x64, action: Install, path: C:\ProgramData\Package Cache\{0D3E9E15-DE7A-300B-96F1-B4AF12B96488}v14.0.23026\packages\vcRuntimeMinimum_amd64\vc_runtimeMinimum_x64.msi, arguments: ' MSIFASTINSTALL="7" NOVSUI="1"'
[1648:1B88][2017-06-02T11:29:45]i319: Applied execute package: vcRuntimeMinimum_x64, result: 0x0, restart: None
[0150:1918][2017-06-02T11:29:45]i325: Registering dependency: {e46eca4f-393b-40df-9f49-076faf788d83} on package provider: Microsoft.VS.VC_RuntimeMinimumVSU_amd64,v14, package: vcRuntimeMinimum_x64
[0150:1918][2017-06-02T11:29:45]i301: Applying execute package: vcRuntimeAdditional_x64, action: Install, path: C:\ProgramData\Package Cache\{BC958BD2-5DAC-3862-BB1A-C1BE0790438D}v14.0.23026\packages\vcRuntimeAdditional_amd64\vc_runtimeAdditional_x64.msi, arguments: ' MSIFASTINSTALL="7" NOVSUI="1"'
[1648:1B88][2017-06-02T11:29:49]i319: Applied execute package: vcRuntimeAdditional_x64, result: 0x0, restart: None
[0150:1918][2017-06-02T11:29:49]i325: Registering dependency: {e46eca4f-393b-40df-9f49-076faf788d83} on package provider: Microsoft.VS.VC_RuntimeAdditionalVSU_amd64,v14, package: vcRuntimeAdditional_x64
[0150:1918][2017-06-02T11:29:49]i301: Applying execute package: Windows7_MSU_x64, action: Install, path: C:\ProgramData\Package Cache\42D5BEC7DDFBD49E76467529CBC2868987BF8460\packages\Patch\x64\Windows6.1-KB2999226-x64.msu, arguments: '"C:\Windows\SysNative\wusa.exe" "C:\ProgramData\Package Cache\42D5BEC7DDFBD49E76467529CBC2868987BF8460\packages\Patch\x64\Windows6.1-KB2999226-x64.msu" /quiet /norestart'
[0150:1918][2017-06-02T11:29:52]e000: Error 0x80240017: Failed to execute MSU package.
[1648:1B88][2017-06-02T11:29:52]e000: Error 0x80240017: Failed to configure per-machine MSU package.
[1648:1B88][2017-06-02T11:29:52]i319: Applied execute package: Windows7_MSU_x64, result: 0x80240017, restart: None
[1648:1B88][2017-06-02T11:29:52]e000: Error 0x80240017: Failed to execute MSU package.
[0150:1918][2017-06-02T11:29:52]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{e46eca4f-393b-40df-9f49-076faf788d83}, resume: ARP, restart: None, disable resume: No
[0150:1918][2017-06-02T11:29:52]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{e46eca4f-393b-40df-9f49-076faf788d83}, resume: ARP, restart initiated: No, disable resume: No
[1648:1B88][2017-06-02T11:29:52]i399: Apply complete, result: 0x80240017, restart: None, ba requested restart:  No

3 个答案:

答案 0 :(得分:2)

任何人仍然遇到此错误。这是一个解决方案;

它可能是以下文件: C:\ ProgramData \ Package Cache \ FC6260C33678BB17FB8B88536C476B4015B7C5E9 \ packages \ Patch \ x64 \ 所谓: Windows8.1-KB2999226-x64.msu程序。 您可以手动安装它。只需以管理员身份打开命令提示符即可:

c:
mkdir tmp
mkdir tmp\tmp

现在你应该在C:驱动器中拥有那个tmp \ tmp文件夹。现在最小化cmd,因为我们将再次需要它,只需从C:\ProgramData\Package Cache\FC6260C33678BB17FB8B88536C476B4015B7C5E9\packages\Patch\x64\Windows8.1-KB2999226-x64.msu复制并粘贴文件并将其粘贴到C:\tmp<第一级不是内部的tmp。然后再次返回cmd并输入以下内容:

expand -F:* c:\tmp\Windows8.1-KB2999226-x64.msu c:\tmp\tmp

然后     dism / online / add-package /packagepath:c:\tmp\tmp\Windows8.1-KB2999226-x64.cab

尝试重新安装它应安装的Visual C ++,这次没有任何问题。

答案 1 :(得分:0)

完全取消安装Visual C ++:

enter image description here

安装Windows更新

enter image description here

尝试重新安装

答案 2 :(得分:0)

将上述解决方案更新为Bat文件。

Rem To run: Run command prompt as admin
Rem Bat file name "Path of the msu exe"
Rem Example VC_fix.bat "C:\ProgramData\Package Cache\3ACBF3890FC9C8A6F3D2155ECF106028E5F55164\packages\Patch\x64\Windows8.1-KB2999226-x64.msu"
cd \
mkdir tmp\tmp
xcopy %1 C:\tmp
expand -F:* c:\tmp\Windows8.1-KB2999226-x64.msu c:\tmp\tmp
dism /online /add-package /packagepath:c:\tmp\tmp\Windows8.1-KB2999226-x64.cab

将以上代码另存为VC_fix.bat并执行以下步骤

  1. 以管理员身份运行命令提示符
  2. 将msu文件路径作为参数运行。

示例 VC_fix.bat“ C:\ ProgramData \ Package Cache \ 3ACBF3890FC9C8A6F3D2155ECF106028E5F55164 \ packages \ Patch \ x64 \ Windows8.1-KB2999226-x64。 msu”

  1. 再次运行Visual C ++安装程序。

这次设置将成功。