1

I have a signed driver package containing sys, inf, cat, coinstaller files for Keyboard. I need to install the package like the Windows Device Manager. I tried PnpUtil, it did install the driver and place it in the driver store but did not reflect in Device Manager. I tried InstallHInfSection and nothing happened. Which API installs the driver like Device Manager?

AlwaysLearningNewStuff
  • 2,939
  • 3
  • 31
  • 84
Aster Veigas
  • 866
  • 3
  • 13
  • 34
  • Is there a corresponding device attached to the system? Is your driver the preferred choice for the device? – Harry Johnston Jul 26 '14 at 22:44
  • Its a filter driver for the keyboard. The preferred driver is definitely the windows keyboard driver but I need to find a way to programmatically install this driver like the device manager. Im able to install this driver through the Device Manager – Aster Veigas Jul 27 '14 at 09:04
  • Have you tried using DiInstallDevice? – Harry Johnston Jul 27 '14 at 21:19
  • I had a look at examples but haven't tried it. Will give it a try. I need to update my keyboard driver, DiInstall will work? Or have to search the Update version of the same API? – Aster Veigas Jul 28 '14 at 10:48
  • An update is just an uninstall followed by an install. I don't think you'll need to do the uninstall manually, DiInstallDevice should do it for you. – Harry Johnston Jul 28 '14 at 20:50

0 Answers0