Download WinDriver™ USB User`s Manual

Transcript
11.2 Windows Driver Distribution
107
• Preliminary Steps:
– To avoid reboot, before attempting to install the driver make sure that
there are no open handles to the windrvr6.sys service. This includes
verifying that there are no open applications that use this service and
that there are no connected Plug-and-Play devices that are registered to
work with windrvr6.sys – i.e., no INF files that point to this driver are
currently installed for any of the Plug-and-Play devices connected to the
PC, or the INF file is installed but the device is disabled. This may be
relevant, for example, when upgrading a driver developed with an earlier
version of WinDriver (version 6.0 and later only, since previous versions
used a different module name).
You should therefore either disable or uninstall all Plug-and-Play
devices that are registered to work with WinDriver from the Device
Manager (Properties | Uninstall, Properties | Disable or Remove –
on Win98/Me), or otherwise disconnect the device(s) from the PC. If
you do not do this, attempts to install the new driver using wdreg will
produce a message that instructs the user to either uninstall all devices
currently registered to work with WinDriver, or reboot the PC in order to
successfully execute the installation command.
– On Windows 2000, remove any INF file(s) previously installed for your
device (such as files created with an earlier version of WinDriver) from
the %windir%\inf directory before installing the new INF file that you
created for the device. This will prevent Windows from automatically
detecting and installing an obsolete file. You can search the INF directory
for the device’s vendor ID and device/product ID to locate the file(s)
associated with the device.