INF file for installing driver for bus device and child devices at once

Alexander Seidl 26 Reputation points
2021-02-03T07:30:38.027+00:00

Hello everyone,

I am developing a bus driver for a PCIe interface card.
The bus driver instantiates physical device objects, on which a virtual COM port driver is loaded.

Therefore I have two INF files. One for the actual device (the bus driver) and one for the individual channels (the virtual COM port driver).
That forces the user to first install the bus driver and after the bus has instantiated its child devices the user has to install the virtual COM port driver in a second step.

Is it possible to install both drivers at once?

Kind regards and thanks in advance
Alex

Windows Hardware Performance
Windows Hardware Performance
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Hardware Performance: Delivering / providing hardware or hardware systems or adjusting / adapting hardware or hardware systems.
1,538 questions
0 comments No comments
{count} votes

Accepted answer
  1. Pavel A 431 Reputation points
    2021-02-03T19:03:47.61+00:00

    Yes, possible. Just pre-install both driver packages and the children will be installed as soon as the parent (PCIe) gets installed and enumerates them.
    pnputil /add-driver .... /install
    This is known as "software first" scenario.

    --pa


0 additional answers

Sort by: Most helpful