How to install drivers (INF) from command line?

  • Thread starter Thread starter Kevin C.
  • Start date Start date
K

Kevin C.

Anyone know how to install INF files via command line? I recently
read a white paper from a company that claimed MS had an API that
could be used for this, but I haven't had much luck finding it.

Thanks!
-Kevin
 
If you look at the "install" verb for the inf filetype, you find that the
following command is used when you right-click an inf file and choose
install.

%SystemRoot%\System32\rundll32.exe setupapi,InstallHinfSection
DefaultInstall 132 %1

Hope this helps

Oli
 
Back
Top