Windows SDK 7.1 Setup failure

.NetWindowsSdk.Net 4.0Installation

.Net Problem Overview


I am trying to install Windows SDK for Windows 7 with .NET Framework 4 but when I open the setup I receive an error:

> Some Windows SDK components require the RTM .NET Framework 4. Setup > detected a pre-release version of .NET Framework 4. If you continue > with Setup, these components will not be installed. If you want to > install these components, click Cancel, then install the .NET > Framework 4 from https://go.microsoft.com/fwlink/?LinkID=187668 and > then rerun Setup. > > Click OK to continue.

When I went to install the .NET Framework 4 it appears a message saying that there is already the .NET Framework 4 on my PC:

> The Microsoft .NET Framework 4 is already part of the operating > system. No need to install the .NET Framework 4 redistributable. More > information. > > An equal or higher version of the .NET Framework 4 has already been > installed on the computer.

I don't know what to do anymore. I am using Windows 10 Enterprise (x64).

.Net Solutions


Solution 1 - .Net

With Windows 10 x64, the setup is blocked by:

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\NET Framework Setup\NDP\v4\Full\Version
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\NET Framework Setup\NDP\v4\Client\Version

Change both values temporarily to 4.0.30319 and the setup will let you continue. Make sure you edit the registry with elevated privileges, otherwise you will not be allowed to change the values.

Solution 2 - .Net

I had to uninstall the following:

  • "Microsoft Visual C++ 2010 x64 Redistributable"
  • "Microsoft Visual C++ 2010 x86 Redistributable"

Before installing the Windows 7.1 SDK, and the install package reinstalls those two during installation.

Solution 3 - .Net

In order to deal with this problem, I uninstalled my .NET framework version 4.6 and installed 4. Then I installed the SDK, and the problem was gone.

Solution 4 - .Net

I was also facing exactly the same problem mentioned above. After so many attempts the suggestion mentioned in the below link helped

https://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/6e6c8a17-1666-42fa-9b5b-dfc21845d2f9/error-installing-windows-7-sdk-71-with-vs2008-vs2010-premium-on-win-7-32bit?forum=windowssdk

The steps executed by me are as follows

  1. Uninstall Visual C++ and .NET 4.x version
  2. Remove register entries corresponding to these installations. I was having Windows 7, but deleted entries as suggested here
  3. Restarted Windows
  4. Tried installing SDK using web installer
  5. This did not work. Later, invoked the SDK installation when the installation screen is still on [with the Installation Error msg] executed debug related msi [you can also install any extracted msi
  6. Once after the installation completes, close the Installation error UI [step 5] and reinvoke the installation of SDK.
  7. This time, UI screen option would change. Options that you can see is Change, Repair etc. Select Change and complete other component installation.

Solution 5 - .Net

I had an older version of .NET Framework and the C++ 2010 Redistributable x64 and x86 both. Uninstalling the 2010 allowed me to continue with no issues. I didn't uninstall the older version of .NET, but I did download and install the latest version FIRST.

The only component in the SDK I wanted to install was the Windows Performance Toolkit. I still got the warning at the start of the install. But it went through with anyway.

Maybe that adds a little thought in here...

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestiondngadelhaView Question on Stackoverflow
Solution 1 - .NetTorsten HoffmannView Answer on Stackoverflow
Solution 2 - .NetMandMView Answer on Stackoverflow
Solution 3 - .NetEricSView Answer on Stackoverflow
Solution 4 - .NetYashwanthView Answer on Stackoverflow
Solution 5 - .NetatomkeyView Answer on Stackoverflow