环境:64位,win7
问题:安装DirectX SDK (June 2010)失败
I was trying to install Direct SDK (June 2010), everything went just fine, but when the installation started to do some post installation processes, it returned with an error like this:
Setup failed.
Errors were encountered 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 noticeable 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
However the installation did fail. When I re-installed it for a second time, then finally found out that maybe has something to do with the VC 2010 redistributable run-time 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)
汉语就是:卸载控制面板->程序->Microsoft Visual C++ 2010 x86/x64 redistributable – 10.0.30319
不用卸载额外的Microsoft Visual C++ 2010 x86 Runtime,虽然很像
转自:http://rg4.net/archives/851.html