Install DirectX SDK (June 2010) failed with error code S1023

Environment: 64 bit, win7
Problem: Installing DirectX SDK (June 2010) failed
I was trying to install Direct SDK (June 2010), everything just fine, but when the installation started to do some post installation processes, it returned with an error like this:


Setup failed
Errors were accounted for during installation of redistributable packages Please close all open programs and try running setup again If problems persist, contact DirectX Developer Support
Error Code: S1023 I have tried looking in the log files in C: Windows Logs There are 2 log files, DirectX. log and DirectX_ SDK. log. I do not see any notifiable signs of "error" or "failure" of any kind
In fact, the very last line in DirectX. log is:
Dsetup32: Installation ended with value 0= Installation succeeded How the installation did fail When I re installed it for a second time, then finally found out that may have something to do with the VC 2010 redistributable runtime library So I uninstalled it. and redo the installation for a third time, it installed perfectly
So put it in a simple way, Solution for this issue:
Go to Control Panel> Program& Features and uninstall programs like this:
Microsoft Visual C++ 2010 x86/x64 redistributable – 10.0. (number over 30319)

The problem lies in Microsoft Visual C++ The version of the "redistributable -10.0.30319" library installed in 2010 is higher than the version of the library with the same name in the DX SDK, so the installation failed. You need to uninstall Microsoft Visual C++ Install this library in 2010, and then have DX install a lower version library with the same name to solve the problem.

Uninstall Control Panel -> Program -> Microsoft Visual C++ 2010 x86/x64 redistributable – 10.0.30319
No need to uninstall additional Microsoft Visual C++ 2010 x86 runtime, although very similar