Windows SDK failed with return code 5100 installation SymptomsInstall the Microsoft Windows SDK Windows 7 and. NET Framework 4 (Windows 7 SDK), and you may see the Installation Failed dialog box, which may contain the following information:
Install the "Microsoft Windows sdkfor Windows 7" product that has reported the following error:samples\setup\html\configdetails.htm documentation for more information, see.
The installation log file contains the following error message:
C:\Program Files\Microsoft Sdks\windows\v7.1\setup\sfx\vcredist_x86.exe installation failed with a return code of 5100
Or
C:\Program Files\Microsoft Sdks\windows\v7.1\setup\sfx\vcredist_x64.exe installation failed with return code 5100 Reason This issue occurs when the Windows 7 SDK is installed on a computer that has a newer version of the Visual C + + 2010 redistributable. the Windows 7 SDK installs the Visual C + + 2010 Redistributable 10.0.30319 release. Solution Solutions To resolve this issue, you must uninstall all versions of the Visual C + + 2010 Redistributable Before you install the Windows 7 SDK. You may have one or more of the following products installed:
- Microsoft Visual C + + x86 redistributable
- Microsoft Visual C + + x64 Redistributable
After you uninstall the Microsoft Visual C + + 2010 Redistributable Product, you can install the Windows 7 SDK. After you install the Windows 7 SDK, reinstall the newer version of the Visual C + + 2010 Redistributable Product to restore the Visual C + + 2010 Redistributable Product to its original state.
Windows SDK failed with return code 5100 installed