0

I have a driver installing using DriverPackageInstall, this API tries to start to driver after install. I expect my driver should not try to start after install, it should start on next reboot.

Any help will appreciated.

Stein Åsmul
  • 39,960
  • 25
  • 91
  • 164
user3664223
  • 305
  • 3
  • 19
  • It might help if you say why you expect a reboot to be what starts the driver. Why is it a problem if the driver can be installed and started without a reboot? Microsoft has been trying to minimize reboots for a long time! – PhilDW Jul 04 '18 at 22:22
  • Thanks Phil, our requirement is driver should start on boot not on install or demand start. – user3664223 Jul 05 '18 at 11:49
  • The reason appears to be that the DriverPackageInstall API in DIFX has no option to do what you ask. It's not obvious why this is tagged as a windows installer issue when it's DIFX problem. – PhilDW Jul 05 '18 at 20:57
  • Sorry I wasn't aware Driver installation is not part of windows installer part. – user3664223 Jul 06 '18 at 11:07

1 Answers1

0

Finally after searching so many places, I marked driver disabled in INF file and then installed

user3664223
  • 305
  • 3
  • 19