Device information (INF) files are text files that provide information used by the Plug-and-Play mechanism in Windows 98/Me/2000/XP/Server 2003/Vista to install software that supports a given hardware device. INF files are required for hardware that identifies itself, such as USB and PCI. An INF file includes all necessary information about a device and the files to be installed. When hardware manufacturers introduce new products, they must create INF files to explicitly define the resources and files required for each class of device.
In some cases, the INF file for your specific device is supplied by the operating system. In other cases, you will need to create an INF file for your device. WinDriver's DriverWizard can generate a specific INF file for your device. The INF file is used to notify the operating system that WinDriver now handles the selected device.
You can use the DriverWizard to generate the INF file on the development machine - as explained in section 4.2 of the manual - and then install the INF file on any machine to which you distribute the driver, as explained in the following sections.
****************************************************************************************
| NOTE | |
| You must have administrative privileges in order to install an INF file on Windows 98/Me/2000/XP/Server 2003/Vista. |
On Windows 2000/XP/Server 2003/Vista you can use the wdreg utility
with the install command to automatically install the INF
file:
wdreg -inf <path to the INF file> install
(for more information, refer to section 13.2.2 of the
manual).
On the development PC, you can have the INF file automatically installed when selecting to generate the INF file with the DriverWizard, by checking the Automatically Install the INF file option in the DriverWizard's INF generation window (see section 4.2).
It is also possible to install the INF file manually on Windows 2000/XP/Server 2003/Vista, using either of the following methods:
In all the manual installation methods above you will need to point
Windows to the location of the relevant INF file during the
installation.
We recommend using the wdreg utility to install the INF
file automatically, instead of installing it manually.
On Windows 98/Me you need to install the INF file for your PCI/PCMCIA device manually, either via Windows Add New Hardware Wizard or Upgrade Device Driver Wizard, as explained below:
****************************************************************************************
| NOTE | |
| This method can be used if no other driver is currently installed for the device or if the user first uninstalls (removes) the current driver for the device. Otherwise, Windows New Hardware Found Wizard, which activates the Add New Hardware Wizard, will not appear for this device. |
****************************************************************************************
| NOTE | |
| You must have administrative privileges in order to replace a driver on Windows 98/Me/2000/XP/Server 2003/Vista. |
You can use the wdreg utility with the
install command to automatically install the INF file on
Windows 2000/XP/Server 2003/Vista:
wdreg -inf <path to INF file> install
(for more information, refer to section 13.2.2 of
the manual).
On the development PC, you can have the INF file automatically installed when selecting to generate the INF file with the DriverWizard, by checking the Automatically Install the INF file option in the DriverWizard's INF generation window (see section 4.2).
It is also possible to install the INF file manually on Windows 2000/XP/Server 2003/Vista, using either of the following methods:
In the manual installation methods above you will need to point Windows to the location of the relevant INF file during the installation. If the installation wizard offers to install an INF file other than the one you have generated, select Install one of the other drivers and choose your specific INF file from the list.
We recommend using the wdreg utility to install the INF file automatically, instead of installing it manually.
****************************************************************************************
| NOTE | |
| This method can be used if no other driver is currently installed for the device or if the user first uninstalls (removes) the current driver for the device. Otherwise, the Windows Found New Hardware Wizard, which activates the Add New Hardware Wizard, will not appear for this device. |