Programatically launch Update Driver Wizard for specific device

81 Views Asked by At

How do you programmatically open the "Update driver" wizard for a specific Device?

I am trying to replicate the Device Manager functionality from a WinForms C# app. So far I was able to replicate everything, including calling the Device Property page, enable/disable device and such.

I can't figure out what does the "Update Driver" context menu invokes, it does open the Update Driver Software Wizard for that selected deviceId but I can't figure out how to call it manually.

pnputil.exe did not do the trick neither, as I need to open the wizard, not specify a driver package directly.

Has anyone been able to replicate this behavior?

0

There are 0 best solutions below