DirectX: How to Reinstall DirectX and Replace All DirectX Files

ID: q191598


The information in this article applies to:
  • Microsoft Windows 95
  • Microsoft Windows 98


SUMMARY

This article describes how to reinstall Microsoft DirectX and replace all DirectX files.


MORE INFORMATION

To reinstall DirectX and replace all DirectX files:

  1. Note the location of the Microsoft Windows Temp folder. To do this:


    1. Click Start, and then click Run.


    2. In the Open box, type temp, and then click OK.


    3. On the View menu, click Options or Folder Options.


    4. On the View tab, click to select the Display the full MS-DOS path in the title bar check box, and then click OK.


    5. Note the path to the Temp folder in the title bar.


    6. Repeat this step to clear the Display the full MS-DOS path in the title bar check box.


  2. Minimize the Temp window.


  3. Click the appropriate link for your version of Microsoft Windows on the following Microsoft Web site:
    http://www.microsoft.com/directx/homeuser/downloads/default.asp
    Follow the instructions on the screen to download the DirectX 7.0 self-extracting file (Dx70eng.exe), and then save the file to the desktop.


  4. On the desktop, right-click the Dx70eng.exe file, and then click Create Shortcut.


  5. Right-click Shortcut To Dx70eng.exe, and then click Properties.


  6. In the Target box on the Shortcut tab, press END, press the SPACEBAR, and then type the following line
    /c /t:temp\directx
    where temp is the path to the Temp folder you noted in step 1. The text in the Target box should be similar to the following line:


  7. "C:\Windows\Desktop\Dx70eng.exe" /c /t:c:\windows\temp\directx
  8. Click OK.


  9. Double-click Shortcut To Dx70eng.exe to extract the DirectX 7.0 files.


  10. Click the Temp button on the taskbar.


  11. Double-click the Directx folder, and then double-click Dxsetup.exe.


  12. Click Reinstall DirectX, and then follow the instructions on the screen.

    NOTE: When you are finished reinstalling DirectX, you can delete the Directx folder in the Windows\Temp folder.



REFERENCES

For additional information about how to download and install DirectX, click the article number below to view the article in the Microsoft Knowledge Base:

Q179113 How to Download and Install DirectX
For additional information about DirectX Setup, click the article number below to view the article in the Microsoft Knowledge Base:
Q186460 Setup Displays Completed Message But DirectX Is Not Installed
For more information about how to resolve issues related to DirectX, please see the DirectX Home Troubleshooter at the following Microsoft Web site:
http://support.microsoft.com/support/directx/directx_7.0/tshooter/default.asp

Additional query words: direct-x dx7 dx7.0 win95x win98x overwrite restore

Keywords : kbsetup kbimu msgame KbDirectX
Version : WINDOWS:95
Platform : WINDOWS
Issue type : kbhowto


Last Reviewed: November 18, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.