How to install drivers (INF) from command line?

Posted: 12-13-2003, 04:58 PM
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

How to install drivers (INF) from command line?


Responses to "How to install drivers (INF) from command line?"

Oli Restorick [MVP]
Guest
Posts: n/a
 
Re: How to install drivers (INF) from command line?
Posted: 12-13-2003, 05:08 PM
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


"Kevin C." <[email protected]> wrote in message
news:[email protected] om...
> 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

 
LinkBack Thread Tools Display Modes
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
XP command line Qfreed Windows Vista Networking & Sharing 2 08-25-2007 02:31 PM
VPN via command line Mike_S Windows XP Work Remotely 2 12-01-2004 02:19 AM
Command Line Ruben Garcia Windows XP Embedded 1 05-04-2004 06:16 PM
XP Fax: Command line Darb Windows XP Printers / Scanners / Fax 1 01-08-2004 09:20 AM
fax command line Sandro Windows XP Printers / Scanners / Fax 2 11-10-2003 07:36 PM