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).
ivan_pozdeev
32.9k16 gold badges102 silver badges146 bronze badges
asked Jul 16, 2015 at 13:41
2
With Windows 10 x64, the setup is blocked by:
HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoftNET Framework SetupNDPv4FullVersion
HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoftNET Framework SetupNDPv4ClientVersion
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.
rogerdpack
60.3k35 gold badges258 silver badges379 bronze badges
answered Oct 21, 2015 at 13:02
10
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.
answered Aug 21, 2015 at 16:38
MandMMandM
3,2634 gold badges32 silver badges54 bronze badges
2
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.
answered Oct 1, 2015 at 22:46
EricSEricS
7851 gold badge8 silver badges20 bronze badges
7
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
- Uninstall Visual C++ and .NET 4.x version
- Remove register entries corresponding to these installations. I was having Windows 7, but deleted entries as suggested here
- Restarted Windows
- Tried installing SDK using web installer
- 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
- Once after the installation completes, close the Installation error UI [step 5] and reinvoke the installation of SDK.
- This time, UI screen option would change. Options that you can see is Change, Repair etc. Select Change and complete other component installation.
Krish Munot
1,0631 gold badge18 silver badges28 bronze badges
answered Jul 15, 2016 at 8:12
YashwanthYashwanth
1291 silver badge7 bronze badges
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…
answered May 13, 2018 at 4:43
- Remove From My Forums
-
Question
-
-
Moved by
Jack Zhang — AAA
Thursday, March 21, 2019 2:55 AM
-
Moved by
All replies
-
It is a well known problem and you can just ignore it. If the SDK isn’t installing as you expect, you should provide information as to how it is failing.
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. -
Hello,
Thanks for posting here.
For your case which is more related to VS general, I will move this thread to VS general forum for better support.
Thanks for your understanding and Cooperation.
Best Wishes,
Jack Zhang
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 omar,
Please check if the below link can help you.
https://stackoverflow.com/questions/31455926/windows-sdk-7-1-setup-failure
If the issue persists,please share more details with us, such as version of vs and SDK , how the issue occurs and etc. Look forward to your reply.
Best Regards,
Dylan
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-
Edited by
Dylan Zhu-MSFTMicrosoft contingent staff
Thursday, March 21, 2019 6:52 AM -
Proposed as answer by
Dylan Zhu-MSFTMicrosoft contingent staff
Monday, April 8, 2019 1:45 AM
-
Edited by
Issue
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).
Solution
With Windows 10 x64, the setup is blocked by:
HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoftNET Framework SetupNDPv4FullVersion
HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoftNET Framework SetupNDPv4ClientVersion
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.
Answered By – Torsten Hoffmann
This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0
please help… been stuck for 2 days It tells me to install .net 4.0 rtm but I’ve upgraded version installed
Accepted Answer
Now Matlab was able to set SDK 7.1 as C compiler. Hope it works for you as well.
More Answers (4)
WINDOWS SDK7.1 INSTALLATION IN WINDOWS 10 OS
Fisrt Uninstall the following softwares:
Microsoft Visual C++ 2010 SP1 (Express or Professional) and Microsoft Visual C++ 2010 redistributable packages (x64 and x86)if it’s installed.
Install the sdk_ setup for SDK7.1. During installation, press OK to continue with sdk7.1 installation even if it shows an error.
Under the «Installation Options» menu, UNCHECK the «Visual C++ Compilers» and «Microsoft Visual C++ 2010» components.
Install the SDK 7.1 patch from below link :
Reinstall the uninstalled softwares in step-1. (download from microsoft site)
All done.
Did you take the time to ask your favorite internet search engine already? You will find many useful hints for the terms «install sdk 7.1 on windows 10». It would not be efficient, if I copy a list of links and I do not know, how many of them you have tried before.
Please try it and mention specifically, what have failed.
I have seen no evidence yet that it is possible to install Windows SDK 7.1 on Windows 10. The people posting in the Question about installing MATLAB in Windows 10 have indicated that there is an incompatibility between the redistributables and Windows 10 and that Microsoft will need to resolve the problem.
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).
Answer
With Windows 10 x64, the setup is blocked by:
HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoftNET Framework SetupNDPv4FullVersion
HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoftNET Framework SetupNDPv4ClientVersion
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.
Attribution
Source : Link , Question Author : dngadelha , Answer Author : rogerdpack
purpose:
Successfully installed window sdk7.1 and .NET Framework 4 on window10
demand:
support some older software written in Visual Studio 2010 using Windows SDK 7.1
step:
1. Uninstall .NET Framework 4 or later
If .NET Framework 4 or later is installed, even if sdk7.1 is installed successfully, there may be problems installing .NET 4.
Uninstall first, then install .NET 4, and then install the required .NET version, such as 4.5 or 4.6.
Second, uninstall Microsoft Visual Studio C ++ 2010
Application one:
The solution comes from:
The following 4 components need to be uninstalled in particular:
Visual c++ 2010 x86 redistributable、
Visual c ++ 2010 x64 redistributable (64-bit windows),
Microsoft Visual C ++ Compilers 2010 X86 and X64 versions (some computers may not exist and need not be ignored).
It is worth noting that the latter two need to find the existence in the registry, the path is HKEY_LOCAL_MACHINE SOFTWARE Microsoft Windows CurrentVersion Uninstall,
Find the Display name as «Microsoft Visual C ++ Compilers 2010 Standard-enu-x86» and «Microsoft Visual C ++ Compilers 2010 Standard-enu-x64», and then uninstall according to the above link method.
Application two:
The solution comes from:
https://forum.openrobotino.org/forum/main-forum/software/211-matlab-64bit-compiler-problems-with-sdk-7-1-under-windows-10
First, Uninstall any Visual C ++ 2010 Redistributables from the control panel
That is to uninstall the related components of Visual C ++ 2010, similar to the above one
Second, Download the correspondingoffline ISO image from the Windows SDK archive
The iso image used here (https://www.microsoft.com/en-us/download/details.aspx?id=8442),
Choose different mirrors according to your situation
x86 ISO File Name:GRMSDK_EN_DVD.iso32-bit system
x64 ISO File Name:GRMSDKX_EN_DVD.iso64-bit system
Itanium ISO File Name:GRMSDKIAI_EN_DVD.iso
Finally, After mounting the image to an virtual disk (Like Virtual clone drive), open F: Setup SDKSetup.exe directly
Hang on the image and click install. When I did it, it didn’t go so smoothly, there was always an error message
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.
Click OK, not at all, where is the pre-release version of .NET Framework 4.
It turns out that in the win10 64bit system, two registration entries still need to be modified:
HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoftNET Framework SetupNDPv4FullVersion
HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoftNET Framework SetupNDPv4ClientVersion
Find them,
Change the value of the Version of Client and Full from 4.6.001586 (need to remember) to 4.0.30319, this modification requires permission.
How to modify the permissions, modify yourself according to the link below,https://www.groovypost.com/howto/take-full-permissions-control-edit-protected-registry-keys/。
Due to privacy issues, it is not easy to demonstrate here. The basic content is to modify the Owner first, and then add Permission Entry (that is, select a principal)
After saving the changes, you can modify the permissions, and the changes can be successfully installed.
Finally, go back here and change back to the original value.
3. Test results
Set the default C compiler in my Matlab2013a.
>> mex -setup
Welcome to mex -setup. This utility will help you set up
a default compiler. For a list of supported compilers, see
http://www.mathworks.com/support/compilers/R2013a/win64.html
Please choose your compiler for building MEX-files:
Would you like mex to locate installed compilers [y]/n? y
Select a compiler:
[1] Microsoft Software Development Kit (SDK) 7.1 in C:Program Files (x86)Microsoft Visual Studio 10.0
[0] None
Compiler: 1
Please verify your choices:
Compiler: Microsoft Software Development Kit (SDK) 7.1
Location: C:Program Files (x86)Microsoft Visual Studio 10.0
Are these correct [y]/n? y
omit….
>>
postscript
If you configure the C compiler in sdk7.1 for win10 64bit for matlab2013a, someone can install visual studio2012 directly. However, I use visual studio2015, do not want to install the previous version. The picture is simple, you can try it.
reference:
Questions
http://stackoverflow.com/questions/32091593/cannot-install-windows-sdk-7-1-on-windows-10
solutions
https://www.mathworks.com/matlabcentral/answers/101105-how-do-i-install-microsoft-windows-sdk-7-1
https://forum.openrobotino.org/forum/main-forum/software/211-matlab-64bit-compiler-problems-with-sdk-7-1-under-windows-10
http://stackoverflow.com/questions/31455926/windows-sdk-setup-failure
https://www.groovypost.com/howto/take-full-permissions-control-edit-protected-registry-keys/
resources
Microsoft Windows SDK for Windows 7 and .NET Framework 4 (ISO):
https://www.microsoft.com/en-us/download/details.aspx?id=8442
I’m a software developer with a Windows 10 PC. I have to support some older software written in Visual Studio 2010 using Windows SDK 7.1
In trying to set up the development environment, I have successfully installed VS2010, and come to install Windows SDK 7.1, however the installer gives the error:
Some components cannot be installed
Some Windows SDK components require the RTM .NET Framework 4. Setup detected a pre-release version of the .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 http://go.microsoft.com/fwlink/?LinkID=187668 and then rerun Setup.
However, Windows 10 comes with .NET 4.5, so as far as I can tell there is yet another version check problem.
This would not worry me so much, but in attempting to install the Visual Studio 2010 compiler update, this fails, saying
cannot install because windows sdk 7.1 is not found
Attempting to install .NET 4 fails because it detects a later version of .NET.
I stumbled across another workaround, which I’ve also posted on a msdn thread:
-
Uninstall any Visual C++ 2010 Redistributables from the control panel first.
-
Download the corresponding offline ISO image from the Windows SDK archive. This lists which ISO is which.
-
After mounting the image, open F:SetupSDKSetup.exe directly.
I just ran into this same problem. No idea how safe this actually is to do, but I was able to work around it by temporarily fooling the installer into thinking I had a different version of .NET 4.0 installed. I opened Process Monitor and used it to monitor everything that setup.exe was doing in order to find out how it was determining that I had a «pre-release» version of .NET 4.0.
It turns out that it looks at these two strings in the registry:
HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoftNET Framework SetupNDPv4ClientVersion
HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoftNET Framework SetupNDPv4FullVersion
On my Windows 10 machine, these currently are both 4.6.00079
. The installer doesn’t seem to like this value. I temporarily replaced both of them with the string 4.0.30319
in regedit to match the value from InstallPath, and that seemed to do the trick. And of course, when I was finished, I put them back the way they originally were.
However, I did not have permission to change those values, so it was a bit tricky. I right-clicked on the Client
key, chose Permissions, and clicked Advanced. Then I changed the owner to my user account instead of TrustedInstaller. This allowed me to add permissions for Full Control for myself so I could modify the Version
value. I repeated the same process on the Full
key. After the installer completed successfully, I put the original version values back in (4.6.00079
), deleted the permissions I added for myself, and restored the owner to TrustedInstaller (to do that, type NT SERVICETrustedInstaller
as the username).
There might be a safer/easier way of intercepting the registry reads than actually modifying the registry, but this was simple enough for me!