You can then distribute this package of files and launch DirectSetup in silent mode or run dxsetup. Remember not to guard this package by any version checking of files, and make sure that your users cannot opt out of running the DirectX setup.
Either of these events creates a fallible installation process. However, we strongly recommend that you do not simply copy the released run-time DLLs because it is easy to forget to remove them for the final product. Instead, put the DirectX setup files in a shared folder and run the setup silently from the shared folder.
Alternatively, you can remove all such dependencies— see Developer guide for redistributable version of XAudio 2. Important The legacy DirectX SDK is at end-of-life, but it's still available in order to support old games, tutorials, and projects.
While ensuring that DLLs are installed on a system isn't as easy as simply linking to static libraries, some changes have been made to the DirectX SDK to address the pain of the DLL model: The DirectX redistributable can be configured to contain only those components that your application requires to minimize distribution and media sizes. Installing the SDK itself installs every possible optional component. A DirectX redistributable that contains all the optional components is available as both a Web-based installer and as a downloadable package; see the DirectX Developer Center DirectX for more information.
The following are the best practices for adding installation of DirectX to a game's installer: Term Description Install the redistributable components every time. A game's installation process should install the DirectX redistributable components during every single installation without allowing users to opt-out of it. If you allow opting-out, then some users will guess that they don't need it, and if they actually do, the game will not run.
Let the DirectX installer check for optional components. Do not assume that the latest optional components are already installed on a system, because Windows Update and Service Packs do not provide any of DirectX's optional components.
You must install the DirectX runtime either by running dxsetup. Set up silently. Windows 8. From Start, type dxdiag in the Search box, and then press enter. Tap or click on dxdiag from the results. Click Start, type dxdiag in the search box. To upgrade DirectX further, you will need to upgrade your operating system.
Need more help? Expand your skills. Get new features first. Was this information helpful? Yes No. Thank you! Any more feedback? The more you tell us the more we can help.
Can you help us improve? Resolved my issue. Details Version:. File Name:. Date Published:. File Size:. System Requirements Supported Operating System.
0コメント