You may receive the "DirectX did not copy a required file" error message when you install DirectX 9.0 on a Windows XP Professional-based computer (891890)



The information in this article applies to:

  • Microsoft Windows XP Professional SP1
  • Microsoft Windows XP Professional

SYMPTOMS

When you run the Dxwebsetup.exe file to install Microsoft DirectX 9.0 on a Microsoft Windows XP Professional-based computer, you may receive the following error message during the setup process, and the setup process is not completed:
DirectX did not copy a required file
You may notice that the error message is displayed soon after the setup process copies the D3dref8.dll file to the computer. Additionally, you may notice that the D3dref8.dll file that was copied to the computer is not found on the computer.

CAUSE

This issue may occur if the Dxxpunp.inf file is present in your computer. The Dxxpunp.inf file is a DirectX debug component that contains a reference to the D3dref8.dll file. The Dxxpunp.inf file is located in the %SystemRoot%\System32\Dxxpdbg folder that contains all the DirectX debug components.

RESOLUTION

To resolve this issue, remove the Dxxpunp.inf file from the DirectX debug folder. Then run DirectX Setup. To remove the Dxxpunp.inf file, follow these steps:
  1. Click Start, click Run, type cmd.exe, and then click OK.
  2. At the command prompt, type cd %SystemRoot%\system32\dxxpdbg, and then press ENTER.

    Note In this command, %SystemRoot% represents the folder that contains the operating system files.
  3. At the command prompt, type dxxpunp.exe, and then press ENTER.
  4. At the command prompt, type exit, and then press ENTER to close the command prompt.

Modification Type:MajorLast Reviewed:2/17/2005
Keywords:kbtshoot KB891890 kbAudEndUser kbAudITPRO