![]() | |
| Driver installation on Windows requires administrator privileges. |
Register/load your driver, using the wdreg.exe or wdreg_gui.exe utility:
![]() | |
| In the following instructions, KP_NAME stands for your Kernel PlugIn driver's name, without the .sys extension. |
To install your driver, run:
WinDriver\util> wdreg -name KP_NAME install
![]() | |
| Kernel PlugIn drivers are dynamically loadable, and thus do not require a reboot in order to load. |
![]() | |
| Driver installation on Mac OS X requires root privileges. |
To install your Kernel PlugIn driver on Mac OS X, run the following command from
a command-line prompt:
$ sudo
<path to wdreg> <KP_dir>/macos/build/<Release/Debug>/kp_xxx.kext
For example:
$ sudo
~/WinDriver/redist/wdreg ~/WinDriver/wizard/my_projects/my_kp/kermode/macos/build/Release/kp_my_kp.kext$ sudo
~/WinDriver/redist/wdreg ~/WinDriver/samples/pci_diag/kp_pci/macos/build/Release/kp_pci.kext
Change directory to your Kernel PlugIn driver directory.
For example, when installing the sample KP_PCI driver,
run:
cd WinDriver/samples/pci_diag/kp_pci
When installing a driver created using the Kernel PlugIn files generated by
DriverWizard, run the following command, where <path>
signifies the path to your generated DriverWizard project directory (e.g.,
/home/user/WinDriver/wizard/my_projects/my_kp):
cd <path>/kermode/
Execute the following command to install your Kernel PlugIn driver:
![]() | |
| The following command must be executed with root privileges. |
make install