DirectX安装目录 [英] DirectX Install Directory

查看:327
本文介绍了DirectX安装目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因此,我尝试安装Microsoft DirectX 2010,当我在安装程序中设置目录时,将其放置在所需的错误目录中。现在,每次打开安装程序时,它都没有更改目录的选项,它只是说继续并安装。如果有人对此有很好的解决方案。

So, I tried installing Microsoft DirectX 2010, when I was setting the directory of in the installer I put it to the wrong directory that I wanted it in. Now, every time I open the installer, it doesn't give me an option to change the directory, it just says continue and install. If anyone has a solution to this that would be really nice.

编辑:还忘了注意,当我将其安装在D:驱动器上时(应该在C:)我收到错误代码S1023

Also forgot to note that when I installed it on my D: drive (its supposed to be on C: ) I get the error code S1023

推荐答案

S1023问题在这篇文章。由于安装完全失败,并且它是基于古老的MSI之前的技术构建的,因此您需要手动清除旧安装。

The S1023 issue is detailed in this post. Because the setup just outright failed, and it's built on ancient pre-MSI technology, you need to clean out the old installation manually.


  • 删除失败的安装目录

  • Delete the failed install directory

使用 regedit 删除 HKCU\ \软件\Microsoft\DirectX SDK HKLM\软件\Microsoft\DirectX SDK 。如果您使用的是x64系统(希望如此),还请删除 HKLM\SOFTWARE\WOW6432Node\Microsoft\DirectX SDK

Using regedit to delete HKCU\Software\Microsoft\DirectX SDK, HKLM\Software\Microsoft\DirectX SDK. If you are on a x64 system (which I hope you are), also delete HKLM\SOFTWARE\WOW6432Node\Microsoft\DirectX SDK.

编辑系统环境变量,并删除 DXSDK_DIR 的条目。

Edit your system environment variables and remove the entry for DXSDK_DIR.

不推荐使用DirectX SDK。如果您使用的是VS 2012或更高版本-或-Windows 8.0 SDK或更高版本,并且您正在使用DirectX 11或DirectX 12,则不需要它。请参见 MSDN

The DirectX SDK is deprecated. If you are using VS 2012 or later -or- the Windows 8.0 SDK or later, and you are using DirectX 11 or DirectX 12, then you don't need it. See MSDN.


在某些情况下,仍然可以使用 Zombie DirectX SDK ,但在大多数情况下,您应避免将其用于新项目。

There are a few cases where it's still legitimate to use the legacy DirectX SDK as covered in The Zombie DirectX SDK, but for the most part you should avoid using it for new projects.

如果您尝试使用旧游戏,请尝试安装最新的 DXSETUP / DXWSETUP ,但请记住,它实际上并没有安装DirectX。请参见不太直接安装

If you are trying to get an old game to work, try installing the latest DXSETUP/DXWSETUP but keep in mind that it doesn't actually install DirectX at all. See Not So Direct Setup

这篇关于DirectX安装目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆