I've run into an error when installing the Windows SDK that I've seen posted around the Internet, but none of the solutions are working for me. Here is the log I'm getting
9:43:37 AM Monday, October 14, 2013: SFX C:\Program Files\Microsoft SDKs\Windows\v7.1\Setup\SFX\vcredist_x64.exe installation started with log file C:\Users\clarkbd\AppData\Local\Temp\Microsoft Windows SDK for Windows 7_c3c42538-8a3e-439d-be39-aee3078ca098_SFX.log
9:43:43 AM Monday, October 14, 2013: C:\Program Files\Microsoft SDKs\Windows\v7.1\Setup\SFX\vcredist_x64.exe installation failed with return code 1603
9:43:53 AM Monday, October 14, 2013: [SDKSetup:Error] Config_Products_Install: Installation of Product Microsoft Windows SDK for Windows 7 (failed): Please refer to Samples\Setup\HTML\ConfigDetails.htm document for further information. Stack: at SDKSetup.Product.ConfigureRelatedSfx() at SDKSetup.Product.ConfigureNewProduct(ManualResetEvent CancelEvent)
9:43:53 AM Monday, October 14, 2013: [SDKSetup:Info] Config_Products_InstallNew: End installation of new product: Microsoft Windows SDK for Windows 7
9:43:53 AM Monday, October 14, 2013: [SDKSetup:Error] Config_Products_Install: 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. Stack: at SDKSetup.Product.ConfigureNewProduct(ManualResetEvent CancelEvent) at SDKSetup.Product.SetupProduct(TaskMode taskMode, ManualResetEvent CancelEvent) at SDKSetup.ProductCollection.SetupProducts(TaskMode taskMode, DownloadManager downloadManager, ManualResetEvent cancelEvent) at SDKSetup.ConfigProducts.DoCurrentTask(TaskMode Task)
When I try to run vcredist_x64 separately, I get this error:
MSI (s) (80:5C) [09:51:50:971]: Product: Microsoft Visual C++ 2010 x64 Redistributable - 10.0.30319 -- A later version of Microsoft Visual C++ 2010 x64 Redistributable - 10.0.30319 is already installed.
Now, as per every solution I've read about this online, I'd uninstall the redistributable and continue with the installation. The problem is that I don't have any VC++ 2010 redistributables installed (only 2005 and 2008). The only thing besides the main program is something called Microsoft Visual Studio 2010 Express Prerequisites x64 - ENU
. Uninstalling this has no effect on the errors I receive. There's something on my computer that's telling the SDK I have this redist installed, but I'm not sure what. Can anyone shed some light on this for me?
Edit: This problem persists even when I completely uninstall Visual C++ 2010. What else can I do to remove all traces of this software from my machine?
Edit 2: After searching the registry a bit, I've found that NI installs its own visual c++ 2010 redistributable with one of its programs, but it isn't included in the "Add or Remove Programs" list. I've uninstalled this and hopefully the sdk will install properly.
Edit 3: No luck, still getting the same error. I can find other 2010 redistributables in the registry, but trying to execute the uninstall string manually just tells me that I can only run it on installed packages. This would be much simpler if I knew how the vcredist finds currently installed redistributions.
You can use the Windows 10 SDK to write Windows desktop applications compatible with Windows 7 and up.
You can get the Windows SDK in two ways: install it from this page by selecting the download link or by selecting “Windows 11 SDK (10.0. 22621.0)” in the optional components of the Visual Studio 2022 Installer. Before you install this SDK: Review all system requirements.
It is not necessary if you limit yourself to what is possible with standard C++ (console-only output, using the C++ standard library, etc). If you don't know, but have in mind "I just want my applications to have a windows interface" then you need the windows SDK. Well, technically, you don't need the SDK.
This is a known issue http://support.microsoft.com/kb/2717426
CAUSE
This issue occurs when you install the Windows 7 SDK on a computer that has a newer version of the Visual C++ 2010 Redistributable installed.
RESOLUTION
To resolve this issue, you must uninstall all versions of the Visual C++ 2010 Redistributable before installing the Windows 7 SDK. You may have one or more of the following products installed:
- Microsoft Visual C++ 2010 x86 Redistributable
- Microsoft Visual C++ 2010 x64 Redistributable
After uninstalling the Microsoft Visual C++ 2010 Redistributable products, you may install the Windows 7 SDK. After installing the Windows 7 SDK, you may then reinstall the newer version of the Visual C++ 2010 Redistributable products, in order to restore the Visual C++ 2010 Redistributable products to their original state.
Success! I was able to purge the vc++ 2010 redistributables from my machine using Microsoft's Fix it utility: http://support.microsoft.com/mats/Program_Install_and_Uninstall
It was able to find both the x64 and x86 versions of the redistributable and uninstall it, removing ~120 entries from the registry and allowing the sdk installation to go forward. It had nothing to do with NI's version of the vc++ 2010 redistributable.
I struggled with Windows SDK web installer on Win7 Prof 64bit. Uninstalling/reinstalling VS 2010 redistributables didn't help. Only after downloading Windows SDK ISO file the installation completed successfully (the one for x64 is GRMSDKX_EN_DVD.iso).
My theory would be that web installer chose wrong architecture somehow causing installation to fail.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With