Technical Document #90

Technical Document #90        [Product Version: 4.2.0–5.0.5]
Installing an INF file for PCI/USB devices on Windows Plug and Play systems in WinDriver versions 4.20–5.05

When using version 4.2.0–5.0.5 of WinDriver to install a PCI/USB driver on a Plug and Play (PnP) system (Windows 98/Me/2000/XP), two driver files are required for the installation:

  1. windrvr.sys/vxd, found in the WinDriver\redist\register / WinDriver\redist\eval directory. This driver implements WinDriver's kernel module and should be installed using the wdreg.exe installation utility. [windrvr.sys (or windrvr.vxd — on Win95) is automatically installed on the development machine when installing the WinDriver tool-kit].

  2. wdpnp.sys (or wdusb.sys — in versions 4.2.0–4.3.2), which is located in the WinDriver\redist directory. This driver should be installed via the installation of an INF file.

    You can use the DriverWizard to generate an INF file for your device.
    After generating the INF file, you need to update the driver for the device, using Windows' Device Manager or the "Found New Hardware" wizard — as explained in the dialog box that pops up when you finish generating the INF file with the DriverWizard and in the Driver Distribution chapter in the manual for versions 4.2.0–5.0.5.

    To install the INF file from the Device Manager, follow these steps:

    1. Open Window's Device Manager and locate your device (from the Menu select 'View' --> 'Devices by connection', and look for your device under the PCI bus / PCI bus -> USB Host Controller -> USB Root Hub). For USB devices, please be sure to select the node for your device that appears directly under the USB hub.

    2. Right-click the mouse on the device's node and select 'Properties', then select the 'Driver' tab and click on 'Update driver...'.

    3. In the 'Upgrade Device Driver Wizard' first installation window select 'Next', then choose 'Search for a suitable driver for my device' from the 'Install Hardware Device Drivers' window and click 'Next'.

    4. In the 'Locate Driver Files' window choose 'Specify a location' then click 'Next'.

    5. In the 'Upgrade Device Driver Wizard' window that will be displayed, specify the location of the .INF file (you can use the 'Browse...' option to locate the file) then click 'Next'.
      If asked to specify the driver for the device, point to the location of the wdpnp.sys file.
      At the end, click 'Finish'.

    6. Reboot (not always required).

    To somewhat automate the installation you can copy both the generated INF file and wdpnp.sys to Windows' inf' directory, when the device is disconnected, then plug-in the device.
    At this point, the OS should automatically identify the INF file for your device and install it. However, you may still be prompted to direct the OS to the location of the wdpnp.sys driver file.

    At the end of the installation, verify that wdpnp.sys has been installed successfully by locating your device in the Device Manager and selecting 'Properties' --> 'Driver' --> Driver Details...'.

    If wdpnp.sys is not indicated as the driver after the installation of the INF file, please erase all oem*.inf and corresponding *.pnf files from Windows' 'inf' directory (for Windows 98/Me, look under inf\other), and then attempt to reinstall the INF file — in order to ensure that Windows is not inadvertently installing the wrong INF file for your device, by , and then try to reinstall the INF file.