Description of DirectX 5.0 Setup Error Codes

Last reviewed: January 2, 1998
Article ID: Q177430
The information in this article applies to:
  • Microsoft Windows 95
  • Microsoft Windows NT Workstation version 4.0
  • Microsoft Windows NT Server version 4.0
  • Microsoft Windows NT Server Enterprise Edition version 4.0

SUMMARY

This article describes the error messages you might encounter as you install DirectX 5.0. DirectX 5.0 is the latest version of a suite of components that enhance performance by accessing hardware features directly.

MORE INFORMATION

DirectX 5.0 uses Dsetup.dll to control the installation of DirectX 5.0. If there is a problem during installation, you can use the following error codes to begin to diagnose the problem. For some error messages, suggestions for troubleshooting are provided.

1

(SETUP_SUCCESS-RESTART) Setup of DirectX 5.0 was successful and Setup prompts for a restart of the computer. This message should not be displayed.

0

(SETUP_SUCCESS) Setup of DirectX 5.0 was successful. This message should not be displayed.

-1

(BADWINDOWSVERSION) DirectX cannot be run on this version of Windows. This version of Windows is either Windows 3.x or a version of Windows NT that does not support this version of DirectX. Please do not attempt to install DirectX except in these operating systems.

DirectX is designed to work with Windows 95 or later and Windows NT 4.0 and later only.

This error message can also occur if the computer hardware is incompatible with this version of DirectX. For example, the NEC PC-98 is supported by DirectX 5.0, but the PC-98 drivers folder is required for installation.

-2

(SOURCEFILENOTFOUND) Setup could not find one of the DirectX files it is trying to install in its source folder.

This error message may occur if you remove the CD-ROM containing the DirectX Setup files. Replace the CD-ROM and restart the installation of DirectX.

-3

(BADSOURCESIZE) Setup detected a file it was attempting to install with a different size from the file shipped with DirectX 5.0.

A file may be damaged. Check with the provider of DirectX (such as the game manufacturer if DirectX came on a CD-ROM). If you downloaded DirectX, download the DirectX files again. You can download DirectX from Microsoft for free from the following Web site:

   http://www.microsoft.com/directx/download.asp

Run Setup again.

-4

(BADSOURCETIME) Setup detected a file it was attempting to install with a different date from the file shipped with DirectX 5.0.

A file may be damaged. Check with the provider of DirectX (such as the game manufacturer if DirectX came on a CD-ROM). If you downloaded DirectX, download the DirectX files again. You can download DirectX from Microsoft for free from the following Web site:

   http://www.microsoft.com/directx/download.asp

Run Setup again.

-5

(NOCOPY) Setup was unable to copy a file.

The DirectX source disk may not be available. A file may be damaged. Run Setup again.

-6

(OUTOFDISKSPACE) Setup detected there was not enough disk space to install DirectX 5.0.

Attempt to install to a different drive, or clear space from your destination drive and run DirectX Setup again.

-7

(CANTFINDINF) Setup could not find one of the .inf files used to install DirectX 5.0 (for example, the Directx.inf or Ddraw.inf file).

The DirectX source disk may not be available. A file may be damaged. Run Setup again.

-8

(CANTFINDDIR) Setup could not find a folder needed to install DirectX 5.0.

Verify that the source folder still exists and is available for the DirectX installation files. If not, download DirectX and Run Setup again.

-9

(INTERNAL) Setup detected an internal error. There are only two situations known to cause this error message:

  • Dsetup.dll could not load the Dsetup32.dll and Dsetup16.dll files.
  • Setup attempted to call a unicode version of Setup Advanced Programming Interfaces (APIs), which are not implemented.

If you receive this error message, rename the Dsetup16.dll and Dsetup32.dll files. To do so, follow these steps:

  1. Click Start, point to Find, and then click Files Or Folders.

  2. Type the following line in the Named box, and then click Find Now:

          dsetup16.dll
    

  3. Click the file, and then click Rename on the File menu.

  4. Change the name to a .dxx extension. The file name should read as follows:

          Dsetup16.dxx
    

  5. Repeat steps 2-4 for the Dsetup32.dll file.

  6. Reinstall DirectX.

-13

(NOTPREINSTALLEDONNT) Setup detected that it could not install DirectX in Windows NT because it did not detect an earlier version previously installed. Setup checks the version of Windows NT, and if it detects Windows NT 4.0 or later, it expects an earlier version of DirectX to be previously installed.


Additional query words: corrupt winnt 4.00
Keywords : win95 winnt kbsetup
Version : WINDOWS:95; WINNT:4.0
Platform : WINDOWS
Issue type : kbinfo


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: January 2, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.