Direct3D Samples Prerequisites

Windows Development:

Common Install Errors

While installing the DirectX SDK, near end of install you may get the following error dialog:

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

This error may occur because you have an existing, newer version of the Microsoft Visual C++ 2010 Redistributable installed on your computer when you go to install the June 2010 DirectX SDK.

To resolve this issue, you must first uninstall all versions of the Visual C++ 2010 Redistributable before attempting to install the DirectX SDK. You can use one of the two methods to uninstall:

  1. Use "Add or Remove Programs" in Control Panel to uninstall the products. You may have one or both of the following:
  2. Or you can run the following commands from an administrator-level command prompt:
    MsiExec.exe /passive /X{F0C3E5D1-1ADE-321E-8167-68EF0DE699A5}
    MsiExec.exe /passive /X{1D8E6291-B0D5-35EC-8441-6616F567A0F7}

After uninstalling the VC2010 redist products, you may then safely install the DirectX SDK. Once the DirectX SDK install is completed, you can then reinstall the latest Visual C++ 2010 Redistributable package.

For more information and related issues, see the Microsoft Blog posting on DXSDK install error, which also notes similar Windows SDK install issues, as well as Windows 7/8 compatibility issues with the D3D debug layers.



NVIDIA® GameWorks™ Documentation Rev. 1.0.220830 ©2014-2022. NVIDIA Corporation and affiliates. All Rights Reserved.