Share via


Microsoft Visual C++ 2017 Setup Failed

Question

Monday, August 13, 2018 6:58 PM

Hello

As the title says, Windows 7 fails to install MV C++ 2017 with an 'Unspecified error' (0x80240017)

Here is the log, hoping that someone is willing to help me :

[115C:1358][2018-08-14T20:51:20]i001: Burn v3.7.3813.0, Windows v6.1 (Build 7600: Service Pack 0), path: C:\Users\Téo\Downloads\VC_redist.x64.exe, cmdline: ''
[115C:1358][2018-08-14T20:51:20]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\TO269E~1\AppData\Local\Temp\dd_vcredist_amd64_20180814205120.log'
[115C:1358][2018-08-14T20:51:20]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\Téo\Downloads\VC_redist.x64.exe'
[115C:1358][2018-08-14T20:51:20]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Users\Téo\Downloads\
[115C:1358][2018-08-14T20:51:20]i000: Setting string variable 'WixBundleName' to value 'Microsoft Visual C++ 2017 Redistributable (x64) - 14.14.26429'
[115C:1358][2018-08-14T20:51:20]i100: Detect begin, 10 packages
[115C:1358][2018-08-14T20:51:20]i000: File search: windows_uCRT_DetectKey, did not find path: C:\Windows\system32\ucrtbase.dll
[115C:1358][2018-08-14T20:51:20]i000: File search: windows_uCRT_DetectKeyExists, did not find path: C:\Windows\system32\ucrtbase.dll
[115C:1358][2018-08-14T20:51:20]i000: Setting numeric variable 'windows_uCRT_DetectKeyExists' to value 0
[115C:1358][2018-08-14T20:51:20]i052: Condition '(VersionNT = v6.3 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[115C:1358][2018-08-14T20:51:20]i052: Condition '(VersionNT = v6.3 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[115C:1358][2018-08-14T20:51:20]i052: Condition '(VersionNT = v6.2 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[115C:1358][2018-08-14T20:51:20]i052: Condition '(VersionNT = v6.2 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[115C:1358][2018-08-14T20:51:20]i052: Condition '(VersionNT = v6.1 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[115C:1358][2018-08-14T20:51:20]i052: Condition '(VersionNT = v6.1 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[115C:1358][2018-08-14T20:51:20]i052: Condition '(VersionNT = v6.0 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[115C:1358][2018-08-14T20:51:20]i052: Condition '(VersionNT = v6.0 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[115C:1358][2018-08-14T20:51:20]i101: Detected package: Windows81_x86, state: Absent, cached: None
[115C:1358][2018-08-14T20:51:20]i101: Detected package: Windows81_x64, state: Absent, cached: None
[115C:1358][2018-08-14T20:51:20]i101: Detected package: Windows8_x86, state: Absent, cached: None
[115C:1358][2018-08-14T20:51:20]i101: Detected package: Windows8_x64, state: Absent, cached: None
[115C:1358][2018-08-14T20:51:20]i101: Detected package: Windows7_MSU_x86, state: Absent, cached: None
[115C:1358][2018-08-14T20:51:20]i101: Detected package: Windows7_MSU_x64, state: Absent, cached: Complete
[115C:1358][2018-08-14T20:51:20]i101: Detected package: WindowsVista_MSU_x86, state: Absent, cached: None
[115C:1358][2018-08-14T20:51:20]i101: Detected package: WindowsVista_MSU_x64, state: Absent, cached: None
[115C:1358][2018-08-14T20:51:20]i101: Detected package: vcRuntimeMinimum_x64, state: Absent, cached: None
[115C:1358][2018-08-14T20:51:20]i101: Detected package: vcRuntimeAdditional_x64, state: Absent, cached: None
[115C:1358][2018-08-14T20:51:20]i052: Condition 'VersionNT64 >= v6.0 OR (VersionNT64 = v5.2 AND ServicePackLevel >= 1)' evaluates to true.
[115C:1358][2018-08-14T20:51:20]i199: Detect complete, result: 0x0
[115C:1358][2018-08-14T20:51:23]i200: Plan begin, 10 packages, action: Install
[115C:1358][2018-08-14T20:51:23]i052: Condition 'VersionNT = v6.3 AND NOT VersionNT64' evaluates to false.
[115C:1358][2018-08-14T20:51:23]w321: Skipping dependency registration on package with no dependency providers: Windows81_x86
[115C:1358][2018-08-14T20:51:23]i052: Condition 'VersionNT = v6.3 AND VersionNT64' evaluates to false.
[115C:1358][2018-08-14T20:51:23]w321: Skipping dependency registration on package with no dependency providers: Windows81_x64
[115C:1358][2018-08-14T20:51:23]i052: Condition 'VersionNT = v6.2 AND NOT VersionNT64' evaluates to false.
[115C:1358][2018-08-14T20:51:23]w321: Skipping dependency registration on package with no dependency providers: Windows8_x86
[115C:1358][2018-08-14T20:51:23]i052: Condition 'VersionNT = v6.2 AND VersionNT64' evaluates to false.
[115C:1358][2018-08-14T20:51:23]w321: Skipping dependency registration on package with no dependency providers: Windows8_x64
[115C:1358][2018-08-14T20:51:23]i052: Condition 'VersionNT = v6.1 AND NOT VersionNT64' evaluates to false.
[115C:1358][2018-08-14T20:51:23]w321: Skipping dependency registration on package with no dependency providers: Windows7_MSU_x86
[115C:1358][2018-08-14T20:51:23]i052: Condition 'VersionNT = v6.1 AND VersionNT64' evaluates to true.
[115C:1358][2018-08-14T20:51:23]w321: Skipping dependency registration on package with no dependency providers: Windows7_MSU_x64
[115C:1358][2018-08-14T20:51:23]i052: Condition 'VersionNT = v6.0 AND NOT VersionNT64' evaluates to false.
[115C:1358][2018-08-14T20:51:23]w321: Skipping dependency registration on package with no dependency providers: WindowsVista_MSU_x86
[115C:1358][2018-08-14T20:51:23]i052: Condition 'VersionNT = v6.0 AND VersionNT64' evaluates to false.
[115C:1358][2018-08-14T20:51:23]w321: Skipping dependency registration on package with no dependency providers: WindowsVista_MSU_x64
[115C:1358][2018-08-14T20:51:23]i052: Condition '(VersionNT64)' evaluates to true.
[115C:1358][2018-08-14T20:51:23]i000: Setting string variable 'WixBundleRollbackLog_vcRuntimeMinimum_x64' to value 'C:\Users\TO269E~1\AppData\Local\Temp\dd_vcredist_amd64_20180814205120_001_vcRuntimeMinimum_x64_rollback.log'
[115C:1358][2018-08-14T20:51:23]i000: Setting string variable 'WixBundleLog_vcRuntimeMinimum_x64' to value 'C:\Users\TO269E~1\AppData\Local\Temp\dd_vcredist_amd64_20180814205120_001_vcRuntimeMinimum_x64.log'
[115C:1358][2018-08-14T20:51:23]i052: Condition '(VersionNT64)' evaluates to true.
[115C:1358][2018-08-14T20:51:23]i000: Setting string variable 'WixBundleRollbackLog_vcRuntimeAdditional_x64' to value 'C:\Users\TO269E~1\AppData\Local\Temp\dd_vcredist_amd64_20180814205120_002_vcRuntimeAdditional_x64_rollback.log'
[115C:1358][2018-08-14T20:51:23]i000: Setting string variable 'WixBundleLog_vcRuntimeAdditional_x64' to value 'C:\Users\TO269E~1\AppData\Local\Temp\dd_vcredist_amd64_20180814205120_002_vcRuntimeAdditional_x64.log'
[115C:1358][2018-08-14T20:51:23]i201: Planned package: Windows81_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[115C:1358][2018-08-14T20:51:23]i201: Planned package: Windows81_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[115C:1358][2018-08-14T20:51:23]i201: Planned package: Windows8_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[115C:1358][2018-08-14T20:51:23]i201: Planned package: Windows8_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[115C:1358][2018-08-14T20:51:23]i201: Planned package: Windows7_MSU_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[115C:1358][2018-08-14T20:51:23]i201: Planned package: Windows7_MSU_x64, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: None
[115C:1358][2018-08-14T20:51:23]i201: Planned package: WindowsVista_MSU_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[115C:1358][2018-08-14T20:51:23]i201: Planned package: WindowsVista_MSU_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[115C:1358][2018-08-14T20:51:23]i201: Planned package: vcRuntimeMinimum_x64, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[115C:1358][2018-08-14T20:51:23]i201: Planned package: vcRuntimeAdditional_x64, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[115C:1358][2018-08-14T20:51:23]i299: Plan complete, result: 0x0
[115C:1358][2018-08-14T20:51:23]i300: Apply begin
[0EA8:11AC][2018-08-14T20:51:26]i360: Creating a system restore point.
[0EA8:11AC][2018-08-14T20:51:32]i361: Created a system restore point.
[0EA8:11AC][2018-08-14T20:51:32]i370: Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\80586c77-db42-44bb-bfc8-7aebbb220c00}, options: 0x7, disable resume: No
[0EA8:11AC][2018-08-14T20:51:32]i000: Caching bundle from: 'C:\Users\TO269E~1\AppData\Local\Temp\80586c77-db42-44bb-bfc8-7aebbb220c00}\be\VC_redist.x64.exe' to: 'C:\ProgramData\Package Cache\80586c77-db42-44bb-bfc8-7aebbb220c00}\VC_redist.x64.exe'
[0EA8:11AC][2018-08-14T20:51:32]i320: Registering bundle dependency provider: ,,amd64,14.0,bundle, version: 14.14.26429.4
[0EA8:11AC][2018-08-14T20:51:32]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\80586c77-db42-44bb-bfc8-7aebbb220c00}, resume: Active, restart initiated: No, disable resume: No
[0EA8:1164][2018-08-14T20:51:32]i304: Verified existing payload: Windows7_MSU_x64 at path: C:\ProgramData\Package Cache\54050A5F8AE7F0C56E553F0090146C17A1D2BF8D\packages\Patch\x64\Windows6.1-KB2999226-x64.msu.
[0EA8:1164][2018-08-14T20:51:32]e000: Error 0x80070002: Failed to find payload: vcRuntimeMinimum_x64 in working path: C:\Users\TO269E~1\AppData\Local\Temp\80586c77-db42-44bb-bfc8-7aebbb220c00}\vcRuntimeMinimum_x64 and unverified path: C:\ProgramData\Package Cache\unverified\vcRuntimeMinimum_x64
[0EA8:1164][2018-08-14T20:51:32]e000: Error 0x80070002: Failed to cache payload: vcRuntimeMinimum_x64
[115C:0C80][2018-08-14T20:51:32]e314: Failed to cache payload: vcRuntimeMinimum_x64 from working path: C:\Users\TO269E~1\AppData\Local\Temp\80586c77-db42-44bb-bfc8-7aebbb220c00}\vcRuntimeMinimum_x64, error: 0x80070002.
[115C:0C80][2018-08-14T20:51:32]e349: Application requested retry of payload: vcRuntimeMinimum_x64, encountered error: 0x80070002. Retrying...
[0EA8:1164][2018-08-14T20:51:34]i304: Verified existing payload: vcRuntimeMinimum_x64 at path: C:\ProgramData\Package Cache\unverified\vcRuntimeMinimum_x64.
[0EA8:1164][2018-08-14T20:51:34]i305: Verified acquired payload: vcRuntimeMinimum_x64 at path: C:\ProgramData\Package Cache\unverified\vcRuntimeMinimum_x64, moving to: C:\ProgramData\Package Cache\03EBF679-E886-38AD-8E70-28658449F7F9}v14.14.26429\packages\vcRuntimeMinimum_amd64\vc_runtimeMinimum_x64.msi.
[0EA8:1164][2018-08-14T20:51:34]i304: Verified existing payload: cab5046A8AB272BF37297BB7928664C9503 at path: C:\ProgramData\Package Cache\unverified\cab5046A8AB272BF37297BB7928664C9503.
[0EA8:1164][2018-08-14T20:51:34]i305: Verified acquired payload: cab5046A8AB272BF37297BB7928664C9503 at path: C:\ProgramData\Package Cache\unverified\cab5046A8AB272BF37297BB7928664C9503, moving to: C:\ProgramData\Package Cache\03EBF679-E886-38AD-8E70-28658449F7F9}v14.14.26429\packages\vcRuntimeMinimum_amd64\cab1.cab.
[0EA8:1164][2018-08-14T20:51:34]e000: Error 0x80070002: Failed to find payload: vcRuntimeAdditional_x64 in working path: C:\Users\TO269E~1\AppData\Local\Temp\80586c77-db42-44bb-bfc8-7aebbb220c00}\vcRuntimeAdditional_x64 and unverified path: C:\ProgramData\Package Cache\unverified\vcRuntimeAdditional_x64
[0EA8:1164][2018-08-14T20:51:34]e000: Error 0x80070002: Failed to cache payload: vcRuntimeAdditional_x64
[115C:0C80][2018-08-14T20:51:34]e314: Failed to cache payload: vcRuntimeAdditional_x64 from working path: C:\Users\TO269E~1\AppData\Local\Temp\80586c77-db42-44bb-bfc8-7aebbb220c00}\vcRuntimeAdditional_x64, error: 0x80070002.
[115C:0C80][2018-08-14T20:51:34]e349: Application requested retry of payload: vcRuntimeAdditional_x64, encountered error: 0x80070002. Retrying...
[0EA8:1164][2018-08-14T20:51:34]i304: Verified existing payload: vcRuntimeAdditional_x64 at path: C:\ProgramData\Package Cache\unverified\vcRuntimeAdditional_x64.
[0EA8:1164][2018-08-14T20:51:34]i305: Verified acquired payload: vcRuntimeAdditional_x64 at path: C:\ProgramData\Package Cache\unverified\vcRuntimeAdditional_x64, moving to: C:\ProgramData\Package Cache\B12F584A-DE7A-3EE3-8EC4-8A64DBC0F2A7}v14.14.26429\packages\vcRuntimeAdditional_amd64\vc_runtimeAdditional_x64.msi.
[0EA8:1164][2018-08-14T20:51:34]i304: Verified existing payload: cab2C04DDC374BD96EB5C8EB8208F2C7C92 at path: C:\ProgramData\Package Cache\unverified\cab2C04DDC374BD96EB5C8EB8208F2C7C92.
[0EA8:1164][2018-08-14T20:51:34]i305: Verified acquired payload: cab2C04DDC374BD96EB5C8EB8208F2C7C92 at path: C:\ProgramData\Package Cache\unverified\cab2C04DDC374BD96EB5C8EB8208F2C7C92, moving to: C:\ProgramData\Package Cache\B12F584A-DE7A-3EE3-8EC4-8A64DBC0F2A7}v14.14.26429\packages\vcRuntimeAdditional_amd64\cab1.cab.
[0EA8:11AC][2018-08-14T20:51:34]i301: Applying execute package: Windows7_MSU_x64, action: Install, path: C:\ProgramData\Package Cache\54050A5F8AE7F0C56E553F0090146C17A1D2BF8D\packages\Patch\x64\Windows6.1-KB2999226-x64.msu, arguments: '"C:\Windows\SysNative\wusa.exe" "C:\ProgramData\Package Cache\54050A5F8AE7F0C56E553F0090146C17A1D2BF8D\packages\Patch\x64\Windows6.1-KB2999226-x64.msu" /quiet /norestart'
[0EA8:11AC][2018-08-14T20:51:42]e000: Error 0x80240017: Failed to execute MSU package.
[115C:1358][2018-08-14T20:51:42]e000: Error 0x80240017: Failed to configure per-machine MSU package.
[115C:1358][2018-08-14T20:51:42]i319: Applied execute package: Windows7_MSU_x64, result: 0x80240017, restart: None
[115C:1358][2018-08-14T20:51:42]e000: Error 0x80240017: Failed to execute MSU package.
[0EA8:11AC][2018-08-14T20:51:42]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\80586c77-db42-44bb-bfc8-7aebbb220c00}, resume: None, restart: None, disable resume: No
[0EA8:11AC][2018-08-14T20:51:42]i330: Removed bundle dependency provider: ,,amd64,14.0,bundle
[0EA8:11AC][2018-08-14T20:51:42]i352: Removing cached bundle: {80586c77-db42-44bb-bfc8-7aebbb220c00}, from path: C:\ProgramData\Package Cache\80586c77-db42-44bb-bfc8-7aebbb220c00}\
[0EA8:11AC][2018-08-14T20:51:42]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\80586c77-db42-44bb-bfc8-7aebbb220c00}, resume: None, restart initiated: No, disable resume: No
[115C:1358][2018-08-14T20:51:42]i399: Apply complete, result: 0x80240017, restart: None, ba requested restart:  No

Thank you in advance

All replies (2)

Tuesday, August 14, 2018 8:05 AM

Hi Fantii644,

Thank you for posting in MSDN forum!

According this log, it failed to install the required update Windows6.1-KB2999226-x64.msu.

Following these steps to troubleshoot your issue:

1. Manually install the “Windows6.1-KB2999226-x64.msu” from “C:\ProgramData\Package Cache\54050A5F8AE7F0C56E553F0090146C17A1D2BF8D\packages\Patch\x64” and run it.

2.  Check this similar issue and find Windows6.1-KB2999226-x64.msu in C:\ProgramData\Package Cache\54050A5F8AE7F0C56E553F0090146C17A1D2BF8D\packages\Patch\x64. Copy this file to any folder and named XXX, Open command prompt in admin mode, manually executed the following commands:

            > wusa.exe Windows6.1-KB2999226-x64.msu /extract:XXXX.

            > DISM.exe /Online /Add-Package /PackagePath:XXXX\Windows6.1-KB2999226-x64.msu.cab

            > vc_redist.x64.exe /repair

3.  Run the vc_redist2017 installer but selected "Uninstall" to return the installation process. After uninstalling and rebooting, trying installing the vc_redist.exe again.

4.  Make sure you have updated to Win7 SP1. then install KB2999226 from this link: https://www.microsoft.com/en-us/download/details.aspx?id=49093 .

            

Best Regards,

Sara

MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected]


Wednesday, August 15, 2018 2:11 AM

I notice from the log:

"[115C:1358][2018-08-14T20:51:20]i001: Burn v3.7.3813.0, Windows v6.1 (Build 7600: Service Pack 0), path: C:\Users\Téo\Downloads\VC_redist.x64.exe, cmdline: ''"

that you are trying to install this on Windows 7 without any service packs.

The thing which failed to install is the UCRT package. If you look at the KB2999226 page, it lists:

This update applies to the following operating systems:

  • Windows Server 2012 R2
  • Windows 8.1
  • Windows RT 8.1
  • Windows Server 2012
  • Windows 8
  • Windows RT
  • Windows Server 2008 R2 Service Pack 1 (SP1)
  • Windows 7 SP1
  • Windows Server 2008 Service Pack 2 (SP2)
  • Windows Vista SP2

so Windows 7 without the service pack doesn't meet the requirement for this update.

The Visual Studio 2017 System Requirements also give Windows 7 SP1 as the minimum for the redistributable.

So you need to update to Windows 7 SP1 and update it fully for the redistributable to be supported.

This is a signature. Any samples given are not meant to have error checking or show best practices. They are meant to just illustrate a point. I may also give inefficient code or introduce some problems to discourage copy/paste coding. This is because the major point of my posts is to aid in the learning process.