在Win7上面安装DirectX(June 2010)版本的时候,到了最后,遇到了一个情况,就是出现了Setup错误,错误代码是S1023,搜索了一下,得到如下的结果:
按照以下步骤来解决,就可以确保安装不会出现该问题
(1) 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}
(2) Install the DirectX SDK (June 2010)
(3) 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