[Solved-3 Solutions] DirectX SDK Installation Error Code S1023
Error Description:
Installation of DirectX goes well, but at the end we 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
Solution 1:
- 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 ##
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.
Solution 2:
- Remove the Visual C++ 2010 Redistributable Package version 10.0.40219 (Service Pack 1) from the system (both x86 and x64 if applicable). This can be easily done via a command-line with administrator rights:
MsiExec.exe /passive /X{F0C3E5D1-1ADE-321E-8167-68EF0DE699A5}
MsiExec.exe /passive /X{1D8E6291-B0D5-35EC-8441-6616F567A0F7}
- Install the DirectX SDK (June 2010)
- Reinstall the Visual C++ 2010 Redistributable Package version 10.0.40219 (Service Pack 1). On an x64 system, you should install both the x86 and x64 versions of the C++ REDIST. Be sure to install the most current version available, which at this point is the KB2565063 with a security fix.
Solution 3:
- Start regedit
- Go to HKEY_LOCAL_MACHINE-> SOFTWARE-> Wow6432Node-> Microsoft->DirectX
- If this DirectX folder doesn't exist, create it.
- If already here, make sure it's empty.
- Now right click in the empty window on the right and add this data (there will probably be at least a Default string value located here, just leave it):
- Reinstall using latest DXSDK installer. Runtime only option may work too but I didn't test it.