![]() You don’t need to call two methods, DiInstallDriver not only preinstalls a driver in the driver store, but also installs the driver on devices present in the system that the driver supports. So it would change the driver both devices. And that ID is the same for both of my network adapters (since they are exactly identical). It only allows to exchange the driver based on an Hardware ID. imf file from disk -> done!īut in this case I need to do it programmatically. PS: Doing all this manually is uper easy: Open device manager, right-click the network adapter, select 'Update driver', choose. DriverInfoData: this should probably point to the driver I installed in step 1? How do I get this?.DeviceInfoData: this should point to the network adapter I want to modify. ![]() ![]() If so, here's a follow up question: DiInstallDevice requires two parameters which I don't know how to acquire: Would this be the correct/easiest way to do this? Use "DiInstallDevice" to apply my driver to the device (see ).inf-based driver into the driver store (see ). From reading the documentation I would assume that I need to perform two steps: The device is one of two identical network adapters in my computer.Īs far as I know the only way to achieve this goal is to use the Microsoft Setup API.inf file (with some other files as well). I would like to install a custom driver for a specific device in my machine programmatically:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |