Objective:
Successfully installed Windows sdk7.1 and. NET Framework 4 on WINDOW10
Demand:
Support some older software written in Visual Studio-using Windows SDK 7.1
Step: First, uninstall the. NET Framework 4 or later
If the. NET Framework version above 4 is installed, you may experience problems installing. NET 4 even if the sdk7.1 installation is successful.
First uninstall and then install. NET 4, and then install the required. NET version, such as 4.5 or 4.6.
Ii. Uninstalling Microsoft Visual Studio C + + 2010
Applicable case One:
Solutions from:
Http://www.cnblogs.com/duanshuiliu/archive/2013/04/02/2994776.html
The following 4 components need to be uninstalled in particular:
Visual C + + x86 redistributable,
Visual C + + x64 Redistributable (64-bit Windows),
Microsoft Visual C + + Compilers X86 and X64 editions (some PCs may not be there.)
It is worth noting that the following two need to be found in the registry for the existence of a path of HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall,
Look for the display name "Microsoft Visual C + + Compilers standard-enu-x86" and "Microsoft Visual C + + Compilers -Enu-x64 "and then uninstall according to the link method described above.
Application Two:
Solutions 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 + + Redistributables from the control Panel
That is, to uninstall the Visual C + + 2010 related components, similar to the applicable situation above
Second, Download the corresponding Offline ISO image From the Windows SDK archive
The ISO image (https://www.microsoft.com/en-us/download/details.aspx?id=8442) is used here,
Choose a different image according to your situation
x86 ISO File Name:GRMSDK_EN_DVD.iso 32-bit system
x64 ISO File Name:GRMSDKX_EN_DVD.iso 64-bit system
Itanium ISO File Name:GRMSDKIAI_EN_DVD.iso
Finally, after mounting the image to a virtual disk (like Virtual clone Drive), open F:\Setup\SDKSetup.exe directly
Hang in the mirror and click Install. I didn't do it so well, there was always a bug.
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, the these components won't be installed. If you want to install these components, click Cancel and then install the. NET Framework 4 from https://go.microsof t.com/fwlink/? linkid=187668 and then rerun Setup. Click OK to continue. |
Click OK, not at all OK, where comes the pre-release version of. NET Framework4.
Originally in the WIN10 64bit system, still need to modify 2 registration entry:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\NET Framework Setup\NDP\v4\Full\VersionHKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\NET Framework Setup\NDP\v4\Client\Version
|
Find Them,
The value of version of both client and full is changed from 4.6.01586 (need to remember) to 4.0.30319, this modification requires permission.
How to modify the permissions, according to the following link self-modification, https://www.groovypost.com/howto/take-full-permissions-control-edit-protected-registry-keys/.
Due to privacy issues, this is a bad presentation. The basic content is to modify the owner first, and then add permission Entry (that is, select a principal)
After saving the changes have permission to modify, modified can also be installed smoothly.
Finally, return here and change back to the original value.
Third, test results
Set the default C compiler in my matlab2013a.
< p>>> mex-setup Welcome to mex-setup. This utility would help you set up A default com piler. for a list of supported compilers, see http://www.mathworks.com/support/compilers/ r2013a/win64.html Choose your compiler for building mex-files: Would you like MEX to locate installed C ompilers [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 yo ur choices: Compiler:microsoft software Development Kit (SDK) 7.1 Location:c:\program Files (x86) \ Microsoft Visual Studio 10.0 is these correct [y]/n? y Omit .... >> |
/tbody>
Postscript
If the C compiler in sdk7.1 is configured for matlab2013a in Win10 64bit, it is possible for someone to install visual studio2012 directly. But I'm using visual studio2015 and don't want to install a previous version. The diagram 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
Install Windows SDK 7.1 and on Windows 64-bit. NET4