Hi,
I am working on the automation of the driver install for a USB
connected device.
I don't have any experience with driver install, and hope that I can
get some help from this forum.
The device connects with USB and only has a .inf file.
The driver itself is usbscan.sys.
Currently when the device is connected a 'new hardware device
detected' wizards pops up. To install it, we now have to follow a
manual process. In the manual process I get a warning that the driver
is not signed.
I would like to automate this with a installer. I think that DPInst is
the tool I could use for this.
See below the data of the .inf file.
I have tried the DPInst with the legacy mode argument (/lm) and then
is says that the driver is installed, but it does not appear in the
hardware manager. I am testing the installation on a Windows XP
machine.
Am I doing the right thing?, any help would be greatly appreciated,
Bart
[Version]
Signature="$CHICAGO$"
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be*****}
provider=%MfgName%
LayoutFile=layout.inf
[Manufacturer]
%MfgName%=******
[******]
%USB\VID_066F&PID_****&Rev_0001&MI_00.DeviceDesc% = BULKUSB.Dev, USB
\VID_066F&PID_****&Rev_0001&MI_00
[PreCopySection]
HKR,,NoSetupUI,,1
[DestinationDirs]
BULKUSB.Files.Inf = 10,INF
[BULKUSB.Dev]
Include = sti.inf
Needs = STI.USBSection
CopyFiles = BULKUSB.Files.Inf
AddReg = BULKUSB.AddReg
[BULKUSB.Dev.NT]
Include = sti.inf
Needs = STI.USBSection
CopyFiles=BULKUSB.Files.Inf
AddReg=BULKUSB.AddReg
[BULKUSB.Dev.NT.Services]
Include=sti.inf
Needs=STI.USBSection.Services
[BULKUSB.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,usbscan.sys
HKLM,"System\Currentcontrolset\Services\BulkUsb
\Parameters","MaximumTransferSize",0x10001,4096
HKLM,"System\Currentcontrolset\Services\BulkUsb
\Parameters","DebugLevel",0x10001,2
[BULKUSB.Files.Inf]
driver2kXpvista.inf
;---------------------------------------------------------------;
[Strings]
MSFT="******"
MfgName="*****"
USB\VID_066F&PID_****&Rev_0001&MI_00.DeviceDesc="******"
BULKUSB.SvcDesc="******"