I can’t install Microsoft Windows SDK for Windows 7 and .NET Framework 4
Thank you for writing to Microsoft Communities. From your problem description I understand that you are unable to install “Microsoft Windows SDK for Windows 7 and .NET Framework 4”, please correct me if I have misunderstood.
I understand how frustrating it could be when things do not work as expected. Please do not worry I will try my best to resolve it.
Please provide us with the information by answering few questions mentioned below, this will help us to troubleshoot better.
1. How are you trying to installing it? Either it’s from windows update or from Microsoft website?
2. What is the complete error message are you getting?
3. Are you able to install other updates?
If you are trying to install from windows update, then I would suggest you to follow the steps provided; this would help you to resolve the issue.
Method 2: If the issue persists then t ry to set your computer in Clean Boot state and then try to install windows update.
By setting your system in clean boot state helps in identifying if any third party applications or startup items are causing the issue.
How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7:
http://support.microsoft.com/kb/929135
Note: After clean boot troubleshooting step, follow Step 7 in the provided link to return your computer to Normal startup mode .
Please perform these recommended steps, review the additional information provided and post back if you are still experiencing the issue.
Unable to install Windows SDK 7.1
I have not been able to install Windows SDK 7.1 (the machine runs Win 7 Pro x64).
The error message shows up in a message box as:
«SDKSetup encountered an error: Input string was not in a correct format.»
By browsing to my %TEMP% directory, I find log files as mentioned at http://stackoverflow.com/questions/1901279/windows-7-sdk-installation-failure
16:52:06 Friday, 06 February 2015: ————————————————————————————————-
16:52:06 Friday, 06 February 2015: [SDKSetup:Info] Begin
16:52:06 Friday, 06 February 2015: [SDKSetup:Info] SDKSetup Version 7.1.7600.30111
16:52:09 Friday, 06 February 2015: [SDKSetup:Info] Beginning download of file http://download.microsoft.com/download/A/6/A/A6AC035D-DA3F-4F0C-ADA4-37C8E5D34E3D/setup\SDKSetup.cab to C:\Users\[username]\AppData\Local\Temp\SDKSetup\SDKSetup.cab
16:52:09 Friday, 06 February 2015: [SDKSetup:Info] Successfully downloaded the file http://download.microsoft.com/download/A/6/A/A6AC035D-DA3F-4F0C-ADA4-37C8E5D34E3D/setup\SDKSetup.cab to C:\Users\[username]\AppData\Local\Temp\SDKSetup\SDKSetup.cab
16:52:09 Friday, 06 February 2015: [SDKSetup:Error]: Input string was not in a correct format. Stack: at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) at System.String.System.IConvertible.ToInt32(IFormatProvider provider) at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider) at System.Data.XSDSchema.HandleElementColumn(XmlSchemaElement elem, DataTable table, Boolean isBase) at System.Data.XSDSchema.HandleParticle(XmlSchemaParticle pt, DataTable table, ArrayList tableChildren, Boolean isBase) at System.Data.XSDSchema.HandleComplexType(XmlSchemaComplexType ct, DataTable table, ArrayList tableChildren, Boolean isNillable) at System.Data.XSDSchema.InstantiateTable(XmlSchemaElement node, XmlSchemaComplexType typeNode, Boolean isRef) at System.Data.XSDSchema.HandleTable(XmlSchemaElement node) at System.Data.XSDSchema.HandleParticle(XmlSchemaParticle pt, DataTable table, ArrayList tableChildren, Boolean isBase) at System.Data.XSDSchema.HandleComplexType(XmlSchemaComplexType ct, DataTable table, ArrayList tableChildren, Boolean isNillable) at System.Data.XSDSchema.InstantiateTable(XmlSchemaElement node, XmlSchemaComplexType typeNode, Boolean isRef) at System.Data.XSDSchema.LoadSchema(XmlSchemaSet schemaSet, DataSet ds) at System.Data.DataSet.ReadXmlSchema(XmlReader reader, Boolean denyResolving) at SDKSetup.SDKSetupDll.LoadConfiguration() at SDKSetup.SDKSetupDll.Init(List`1 sourceFileLocations, Boolean quiet, Boolean showHiddenFeatures, InstallModeType installMode, List`1 featureParams, List`1 productParams) at SDKSetup.SDKSetupDll.RunSetup(List`1 sourceFileLocations, String logFileName, String loggingSwitches, Boolean quiet, Boolean showHiddenFeatures, InstallModeType installMode, List`1 featureParams, List`1 productParams, List`1 DisabledFeatures, Boolean sqmOptInFromCmd, String installLocation, String installLocationSamples, Boolean ignoreDependentProducts)
16:52:12 Friday, 06 February 2015: [SDKSetup:Info] End
16:52:12 Friday, 06 February 2015: ————————————————————————————————-
I tried both the web installer and the ISO image file (the x64 version), with the same result, except that the ISO file omits the downloading step in the log file.
I have one version of the Microsoft Visual C++ 2005 Redistributable (x64) installed, and one version of the Microsoft Visual C++ 2008 Redistributable (x64) installed. No 2010 (or later) version.
I then noticed it is required to have Microsoft .NET Framework installed, so I installed version 4.5.2.
This did not affect the results. I got the same error message, and the same logged events.
Windows SDK v7.1 won’t install on i7-3840QM Win 7 Pro 64bit
After installing .Net Framework 4 version 4.0.30319 I’ve been trying to install Windows SDK v7.1. I’ve tried installing from the Microsoft web interface multiple times as well as by downloading and burning 3 different CD’s from ISO images. I’ve also tried a clean boot and install through the web interface but had identical results. The first difference I see when comparing with a successful install I did on an i7-2500k processor is on line 11 of the SDKSetup_7.0.6918.0.log file. Lines 10-12 of the i7-2500k log file (successfully installed) read:
Config_Products_DetermineProductState_Begin: Product: Microsoft Windows SDK for Windows 7
Config_Products_DetermineMSIFeatureState_Begin: MSI Feature: WinSDK.1631
Config_Products_DetermineMSIFeatureState: MSI Feature: WinSDK.1631; Installed: Local; Request: Unknown;
and the log from this failed install on an i7-3840QM reads (differences underlined):
Config_Products_DetermineProductState_Begin: Product: Microsoft Windows SDK for Windows 7
Config_Products_DetermineProductState: Product: Microsoft Windows SDK for Windows 7; Installed: Unknown;
Windows Installer reported no registered source locations for the WinSDKproduct.
The final error message in the log is not very helpful since the file was not installed:
Windows SDK Setup (failed): Installation of the «Microsoft Windows SDK for Windows 7» product has reported the following error:
Please refer to Samples\Setup\HTML\ConfigDetails.htm document for further information.
The log file when installing from the GRMSDKX_EN_DVD.iso is essentially identical to the one generated by the web interface.
The log file when installing from either GRMSDK_EN_DVD.iso or GRMSDKIAI_EN_DVD.iso aborts quickly with the message:
Setup could not find the file WinSDK_amd64\WinSDK_amd64.msi at any of the specified source locations
I’m stumped. Is it just me or are others having problems installing on the new Ivy Bridge chips?
Unable to install windows sdk
This forum has migrated to Microsoft Q&A. Visit Microsoft Q&A to post new questions.
Answered by:
Question
I am not able to install Windows 10 SDK (14393) . I have tried several times the last three days from different desktops on different networks, so i am pretty sure that the problem is not related to poor network connections. I have tried installation through visual studion 2015 and visual studio 2017. And also by sdksetup, where i tried both installation and only downloading (to different locations).
The log indicate a problem with a specific file/cab:
[24F8:0EF4][2016-12-21T11:16:51]i000: payA059C4F9394E47AFD81C08AB201AB7C4
[24F8:0EF4][2016-12-21T11:16:51]i000: payA059C4F9394E47AFD81C08AB201AB7C4 to http://download.microsoft.com/download/6/3/B/63BADCE0-F2E6-44BD-B2F9-60F5F073038E/standalonesdk/Installers/77db8ab55a0b236db83c55ced6e8a9a3.cab
[24F8:0EF4][2016-12-21T11:16:51]i338: Acquiring package: package_WindowsSDKDesktopHeadersLibsMetadata_x86_en_us, payload: payA059C4F9394E47AFD81C08AB201AB7C4, download from: http://download.microsoft.com/download/6/3/B/63BADCE0-F2E6-44BD-B2F9-60F5F073038E/standalonesdk/Installers/77db8ab55a0b236db83c55ced6e8a9a3.cab
[2C08:0B7C][2016-12-21T11:17:00]e000: Error 0x80091007: Hash mismatch for path: C:\Users\npg\AppData\Local\Temp\
[2C08:0B7C][2016-12-21T11:17:00]e000: Error 0x80091007: Failed to verify payload hash: C:\Users\npg\Downloads\Windows Kits\10\StandaloneSDK\Installers\77db8ab55a0b236db83c55ced6e8a9a3.cab
[2C08:0B7C][2016-12-21T11:17:00]e000: Error 0x80091007: Failed to layout payload from cached payload: C:\Users\npg\Downloads\Windows Kits\10\StandaloneSDK\Installers\77db8ab55a0b236db83c55ced6e8a9a3.cab
[2C08:0B7C][2016-12-21T11:17:00]e000: Error 0x80091007: Failed to layout payload from: C:\Users\npg\AppData\Local\Temp\
[24F8:0EF4][2016-12-21T11:17:00]i000: ERROR: Failed to verify the integrity of payload [payA059C4F9394E47AFD81C08AB201AB7C4] for Package package_WindowsSDKDesktopHeadersLibsMetadata_x86_en_us
[24F8:0EF4][2016-12-21T11:17:00]i000: RetryManager: No more retry for cache verification error on payload [payA059C4F9394E47AFD81C08AB201AB7C4]
[24F8:0EF4][2016-12-21T11:17:00]e317: Failed to layout payload: payA059C4F9394E47AFD81C08AB201AB7C4 to layout directory: C:\Users\npg\Downloads\Windows Kits\10\StandaloneSDK\, error: 0x80091007.
I hope sombody can helping me find a solution
Answers
Thanks — however this did not help in my case, same SDK download/integrity failure errors were observed after I had uninstalled all versions of Windows SDKs from my machine, and exactly the same errors were seen when I tried installing standalone SDK on clean Windows installation, it does not look to be related to VS 2017 RC or to existing installations of Windows SDK.
However I found a workaround that solved my problem — I created Azure VM with region Japan East, and tried downloading SDK for offline installation, and that succeeded. I then copied over installation files from VM to my machine and successfully installed SDK. It seems to be something geographically-related, e.g. could be something with Microsoft download servers configured for region of Denmark, or something with Danish internet gateways.
// best regards
Vlad Nagorny
Thank you for your update.
Glad to hear you have had your issue resolved. And thanks for sharing us your result here.
You could mark Vlad’s reply and your reply as the answer, it will benefit to other community members who have the same issue. and be easier for them to search the solution.
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 MSDNFSF@microsoft.com.
All replies
Thank you for posting in MSDN forum.
For this issue, Let’s see the following error message:
>>Error 0x80091007: Hash mismatch for path: C:\Users\npg\AppData\Local\Temp\
The Hash mismatch means that the Win 10 SDK packages is not complete, some packages are missing or corrupted.
Firstly, please temporarily disable all the AV software and firewall during the setup process.
Then you may try the /layout option for the tools offline installation. It allows you to download the full set of files, please try the following steps:
1. Download from SDKSETUP .exe web installer from Windows 10 SDK
2. Run the following command at a command prompt: SDKSETUP.EXE /layout. After you run the command, you should be prompted for the download location. Enter the location, and then choose Download.
3. This command downloads all the packages for the installation. see as below:
4.When the package download is successful, you should see a Visual Studio screen that says Setup Successful as below:
5. In the file location that you specified, find the executable file and the package folder. This is everything you need to copy to a shared location or install media.
You can now run the installation from the file location or the install media.
If the error still persists after doing the above, please feel free to let me know, I will help you to analyze more.
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 MSDNFSF@microsoft.com.
Hi, Thanks for reply
I have already tried running sdksetup.exe with the layout option, and this also fails. I just repeated the setup as you described with my AV and firewall turned off. Unfortunately, the result is the same. The setup fails when downloading the package (payA059C4F9394E47AFD81C08AB201AB7C4) in Windows Software Development kit, after 10 retries.
Currently, the Windows 10 SDK (10.0.14393.0) does not install successfully on Windows 7.
You can install successfully on Windows 8.1 or Windows 10. Visual C++ projects that depend on an earlier Windows SDK,
such as Windows 10 SDK (10.0.10586.0) or the Windows 8.1 SDK can still be built.
From Programs and Features, select Windows Software Development Kit and click Change, or download and run the Windows 10 SDK (14393) installer.
In the Windows SDK installer, select the «Windows Software Development Kit» and «.NET Framework SDK» features.
Run Visual Studio Installer, click Modify, and then click Install. You do not need to change any feature selections.
In this situation, I need to check the logs to see what blocking this SDK downloading. please use http://aka.ms/vscollect to gather the installation logs. After using it, you will find vslogs.zip from %temp% folder. upload the file to https://onedrive.live.com/ and share the link here.
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 MSDNFSF@microsoft.com.
I am installing on windows 10, so that should not be the problem.
Here is the link to vslog: https://1drv.ms/u/s!AiyP17U_EmaKiYJ6qrbUqVo_TWhQiA
best regards and a merry christmas
Sorry for my delay reply and wish you all the blessings of a beautiful Christmas season.
I just checked your log, besides the error information about Win 10 SDK, also a Windows patch wrong update about KB3073097:
Error 1:
[2904:28F4][2016-12-23T16:25:53]i301: Applying execute package: Preparation_patch_KB3073097, action: Install, path: C:\ProgramData\Package Cache\C3F8321E-612C-3838-9E5B-FFC203B40D1F\packages\patch_KB3073097\Preparation.exe, arguments: ‘»C:\ProgramData\Package Cache\C3F8321E-612C-3838-9E5B-FFC203B40D1F\packages\patch_KB3073097\Preparation.exe» /l «C:\Users\npg\AppData\Local\Temp\dd_patch_KB3073097_20161223162550_001_Preparation_patch_KB3073097.log»‘
[2904:28F4][2016-12-23T16:27:24]e000: Error 0x8007064c: Process returned error: 0x8007064c
[2904:28F4][2016-12-23T16:27:24]e000: Error 0x8007064c: Failed to execute EXE package.
[28AC:28EC][2016-12-23T16:27:24]e000: Error 0x8007064c: Failed to configure per-machine EXE package.
Would you mind going to Settings > Update & security > Windows Update to check if you have installed all the patches? As we know, the prerequisite of installing VS and SDK well is to ensure the Windows update and patches up.
Error 2:
/skuSpecificHKLMHive Software\Microsoft\VisualStudio\14.0 /launchaction Modify /installitems Win10SDK_10.0.14393.33 /uninstallitems UWPStartPageVsix_1.0.0.0 /potentialcachecleanup UWPStartPageVsix_1.0.0.0 /Pipe
[1B3C:17D4][2016-12-23T16:17:48]i000: MUX: Finished connecting secondary installer pipe
[1B3C:27C8][2016-12-23T16:18:11]i000: MUX: Updating secondary installer progress display name: Outer=Windows 10 SDK (10.0.14393), Inner=
[1B3C:27C8][2016-12-23T16:20:04]i000: MUX: Updating secondary installer progress display name: Outer=Tools for Universal Windows Apps Getting Started Experience, Inner=
[2384:15B0][2016-12-23T16:20:56]e000: Error 0x80048646: Process returned error: 0x80048646
This error indicates that the Windows SDK or Windows Emulator setup invoked by Visual Studio setup has lost internet connectivity and cannot download necessary files. But you have mentioned that tried different desktop and it couldn’t be a network problem.
In this situation, I suggest you could use ISO which matches your VS 2015 (VS 2017 RC doesn’t have ISO image currently), to repair your VS first, then go to Program & Features, select Visual Studio 2015, and select Change. Click Modify, then select the features «Universal Windows App Development Tools» and/or «Emulators for Windows Mobile», and click Update.