Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

silent install of bar code scanner with devcon.exe

Status
Not open for further replies.
Aug 21, 2003
36
US
I am writing a script (using AutoIT) to do a silent install of a HHP 4600 bar code scanner. I can install the scanner using the New Hardware Wizard with no problem. However, right clicking on the .inf file and selecting Install does nothing. I tried using the following to no avail:

rundll32 syssetup,SetupInfObjectInstallAction DefaultInstall 128 hhpcdc.inf

I tried devcon.exe and can get "close". If I plug in the scanner, the system recognizes it up to a point (basic name and red exclamation point in the Device Manager). I cancelled the New Hardware Wizard and ran the following:

devcon.exe install hhpcdc.inf USB\VID_0536^&PID_020A

The problem is that it installs one instance successfully and another unsuccessfully, so now I have two instances of the scanner in the Device Manager.

Can anyone shed some wisdom on how to correct this or another better method?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top