DirectX SDK (June 2010) Installation Problems: Error Code S1023

James picture James · Nov 5, 2010 · Viewed 153.3k times · Source

I seem to be having some problems installing the DirectX SDK. Everything seems to be going well during the install, but at the end I get the message:

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

Well, I have tried closing all open programs and installing again but I get the same error. What is error code S1023? I tried Googling, but found many different responses for how to deal with it and I'm not sure what to do.

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:

11/04/10 18:36:27: dsetup32: Installation ended with value 0 = Installation succeeded

Could anyone please help? I am running Vista (x64).

Answer

Ugo Robain picture Ugo Robain · Jun 8, 2011

I had the same problem and for me it was because the vc2010 redist x86 was too recent.

Check your temp folder (C:\Users\\AppData\Local\Temp) for the most recent file named

Microsoft Visual C++ 2010 x64 Redistributable Setup_20110608_xxx.html ##

and check if you have the following error

Installation Blockers:

A newer version of Microsoft Visual C++ 2010 Redistributable has been detected on the machine.

Final Result: Installation failed with error code: (0x000013EC), "A StopBlock was hit or a System >Requirement was not met." (Elapsed time: 0 00:00:00).

then go to Control Panel>Program & Features and uninstall all the

Microsoft Visual C++ 2010 x86/x64 redistributable - 10.0.(number over 30319)

After successful installation of DXSDK, simply run Windows Update and it will update the redistributables back to the latest version.