wiki:windows/driver

Version 4 (modified by joergs, on Jun 27, 2012 at 5:51:03 PM) ( diff )

--

Windows Driver Installation

devcon [/r] install INFfile HardwareID 

Parameters:

/r
Conditional reboot. Reboots the system after completing an operation when a reboot is required to make the change effective. By default, DevCon does not reboot the system.
INFfile
Specifies the full path and file name of the INF file for the device. If you omit the path, DevCon assumes that the file is in the current directory.
HardwareID
Specifies a hardware ID for the device. The specified hardware ID must exactly match the hardware ID of the device. Patterns are not valid. Do not type a single quote character (') to indicate a literal value.

partly working:

devcon.exe install c:\tmp\HECI\HECI.inf "PCI\VEN_8086&DEV_29B4"

Device is added twice. One time correctly, other with warning. Broken driver has exactly the hardware device given.

Hint from http://www.msfn.org/board/topic/17532-unattended-install-for-inf-drvers/ :

use update (or updateni for non-interactive) to prevent this problem.

devcon.exe update c:\tmp\HECI\HECI.inf "PCI\VEN_8086&DEV_29B4"
Note: See TracWiki for help on using the wiki.