This case study demonstrates the following techniques:
Installing and loading a driver with a postinstall script
Unloading a driver with a preremove script
For more information on these scripts, see "Writing Procedure Scripts".