This chapter is from the book
Installing the DirectX Runtime
You also need the DirectX 9 runtime if it isn’t already on your machine. To get started, follow these steps:
- Run the dxwebsetup.exe file from Microsoft’s website. This can be found by clicking the DirectX Runtime Web Installer link at the bottom of the XNA Creators Club Online – Downloads web page (http://creators.xna.com/en-US/downloads). This file contains the redistribution package of the February 2007 version of DirectX 9. You will need to be connected to the Internet so it can completely install the application.
- You are greeted with the End-User License Agreement. Handle with care.
- The next screen is a dialog box asking where you would like the installation files to be stored. You can pick any directory you want as long as you remember it so you can actually install the runtime—you are simply extracting the files needed to install the runtime.
- Click OK to continue.
- You will be prompted to create that directory if the directory entered doesn’t exist. Click Yes to continue.
- Wait for the dialog box with the progress bar to finish unpacking the files.
Now you can actually install the runtime by following these steps:
- Browse to the folder where you installed the files and run the dxsetup.exe file to actually install DirectX 9 onto your machine.
- The welcome screen you see includes the End-User License Agreement. Select the appropriate radio button to continue.
- Following the agreement is a screen stating that it will install DirectX. Click Next.
- Once it finishes installing (a progress bar will be visible while the files are being installed), you will be presented with the Installation Complete screen.
- Simply click Finish to exit the setup.
Now we can move on to installing XNA Game Studio.