Dear All,
I have developed one KWDF driver which will create two PDO’s by taking reference of Toaster BUS smaple driver.
I just want to know that, is there any way to create driver installer package for this?
Meaning Is it possible that install all required driver in single click on package/application?
If yes than where/how to create that package/application for installing all driver’s (BUS_Driver->FUN_Driver_01, BUS_Driver->FUN_Driver_02) over my PCIe card.
Thanks in advanced.
Regards:
Nitin Sharma
xxxxx@gmail.com wrote:
I have developed one KWDF driver which will create two PDO’s by taking reference of Toaster BUS smaple driver.
I just want to know that, is there any way to create driver installer package for this?
Meaning Is it possible that install all required driver in single click on package/application?
If yes than where/how to create that package/application for installing all driver’s (BUS_Driver->FUN_Driver_01, BUS_Driver->FUN_Driver_02) over my PCIe card.
Yes, this is possible. I assume that the bus driver and the function
driver(s) are in different install classes. By that, I literally mean
the “Class=” line in your INF file. A single INF file can install
multiple devices, but they all have to be the same class. If you need
multiple classes, then you need multiple INFs.
The DPInst command that is included with the WDK will pre-install every
INF that it finds in its directory. So, even if you have multiple INF
files, you can still use a single DPInst call to pre-install them all.
I use NSIS to create a simple installer for my drivers that copies the
files into place and then calls DPInst. That makes a convenient single
executable solution. You can do the same thing with WiX, if you prefer
the MSI model.
Here’s an NT Insider article on installers written by a world-famous
contributor to this list:
https://www.osr.com/nt-insider/2014-issue1/guest-article-driver-installers/
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.