“Installation Failed” when installing Microsoft Windows SDK 7.1

5,613

I’ll just “quote” this answer on Stack Overflow. There are other relevant answers next to it, too.

Too clarify: In your case, there’s an “affected” version of the VC++ 2010 x64 Redistributable installed.


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.

uninstallation picture

Share:
5,613

Related videos on Youtube

Sepideh Abadpour
Author by

Sepideh Abadpour

Updated on September 18, 2022

Comments

  • Sepideh Abadpour
    Sepideh Abadpour about 1 year

    The operating system of my laptop is Windows7x64. Whenever I install MatlabR2013b on it, this message is shown at the end of installation process:

    Your installation may require additional configuration steps.

    1.The following products require a supported compiler :

    MATLAB Compiler 5.0

    MATLAB Builder NE 4.2

    MATLAB Builder JA 2.3

    MATLAB Builder EX 2.4

    Simulink Coder 8.5

    xPC Target 5.5

    MATLAB Coder 2.5

    2.To configure Real-Time Windows Target you must type rtwintgt -setup in a MATLAB command window.

    About the first part of the message above, I viewed the provided link and I understood that I should install Microsoft Windows SDK 7.1 and Java Development Kit (JDK) 1.7 for the above components to be executable.
    There's no problem with JDK installation but whenever I try to install SDK downloaded from here, it encounters the following error:

    enter image description here

    A problem occurred while installing selected Windows SDK components.

    Installation of the "Microsoft Windows SDK for Windows 7" product has reported the following error: Fatal error during installation.

    Please attempt to resolve the problem and then start Windows SDK setup again. If you continue to have problems with this issue, please visit the SDK team support page at http://go.microsoft.com/fwlink/?LinkId=130245.

    Click the View Log button to review the installation log.

    To exit, click Finish.

    What is the problem and what should I do?
    I have searched a little but I have neither Microsoft Visual Studio C++ 2010 SP1 (version greater than 10.0.30319) nor .NET Framework 4.5 (also bundled with Visual Studio 2012 or later) installed on my computer

    enter image description here

    Then what do you think my problem is?
    What should I do to fix it?

    About the second part I have asked another question.


    I tried to install it again. This time it produced the following error:
    enter image description here

    I've a shared the log file here. It's a text file but it is shown as an audio file when downloading. Please open it with Notepad.

  • Sepideh Abadpour
    Sepideh Abadpour about 8 years
    Regarding my other question and the fact that I have installed JDK, and I have VS2010 as a newer version of the supported compilers, I will have no problem in using MATLAB Product Family and Simulink Product Family and there's no need to uninstall VS 2010 and install SDK and then reinstall VS2010. Right?
  • Sepideh Abadpour
    Sepideh Abadpour about 8 years
    so why does matlab2013b produce the following error after installation? Because I've been struggling with this issue for about 1 year. Whenever I wanted to process MEX-files with matlab, I had to borrow my friends' laptop. This time I want to know the cause and solve the problem forever. So there's no action needed? Won't I have problem in using Matlab Features in the future if I don't install SDK7.1? (regarding that I have a newer version of it as VS2010)
  • Daniel B
    Daniel B about 8 years
    It’s not an error message (as far as I can tell) and it says “may”. I don’t have MATLAB, so I can’t help you with it. In this case, the Windows SDK is merely a means to get C++ compilers, which you already have. If MATLAB won’t work, you should contact their support.
  • Sepideh Abadpour
    Sepideh Abadpour about 8 years
    so for the time being no further action is needed
  • Sepideh Abadpour
    Sepideh Abadpour about 8 years
    Just one more question! As you see in the picture I have VC++ 2010 x64 Redistributable installed on my device but not VC++ 2010 x86 Redistributable. Should I install that seperately? I think they both are installed when installing VS2010 but I don't now why it is not installed on my device regarding the fact that I always check up all the options when installing VS2010? Anyway, maybe they have been uninstalled when uninstalling other programs in the computer!
  • Daniel B
    Daniel B about 8 years
    If a program requires a redistributable, it will install it. Well, it should, anyway. It won’t harm to install them by hand, but it’s usually not required.