|
|
Home Connectivity Software
Support
WinDriver Support
Technical Documents
Technical Document #112
| Doc ID: |
112 |
| Product: |
WinDriver |
| Version: |
5.1X |
WinDriver USB for Windows NT 4.0 (version 5.1x) - Distributing Your Driver
|
In order to distribute your WinDriver based driver to a target Windows machine (which does not have the WinDriver software installed), when using version 5.1x of WinDriver (which supports the USB bus on Windows NT 4.0), follow the instructions below:
- Copy windrvr.sys, wdusbd.sys and your Kernel PlugIn driver (if you have created such a driver) to the target computer's drivers directory - WINNT\system32\drivers.
When copying the file/s, take care not to overwrite a newer version of the file with an older one.
windrvr.sys is found under the WinDriver\redist\register directory on the development machine (registered driver). wdusbd.sys is found under the WinDriver\redist directory.
- Copy wdreg.exe from the WinDriver\util directory on the development machine to the target machine.
- Remove the current windrvr.sys and wdusbd.sys services (if they exist) using wdreg.exe with the remove command before installing the new driver:
   
wdreg.exe -name wdusbd remove
   
wdreg.exe remove
- Install windrvr.sys using wdreg.exe by running:
   
wdreg.exe install
- Install wdusbd.sys using wdreg.exe by running:
   
wdreg.exe -name wdusbd install
- If you have created you own Kernel PlugIn SYS driver, install your Kernel PlugIn driver using the wdreg.exe utility:
   
wdreg.exe -name <Driver Name> install
NOTES:
- Specify the driver name without the *.sys extension.
For example, to install my_kp.sys type:
   
wdreg.exe –name my_kp install
- You must first install windrvr.sys and wdusbd.sys before attempting to install your Kernel PlugIn driver.
- Copy your WinDriver executable/DLL file, which implements the driver functionality, to the directory of you choice on the target machine and run it.
Back to Top
|
|