I'm trying to manually install a device with the following driver.
; Rockwell Automation 1784-U2DHP
; Windows Driver Install file
[Version] ; Version section
Signature="$Windows NT$" ; Windows NT versions
Class=Ports ; This is a serial port driver
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318} ; Associated GUID
Provider=%RA% ; Driver is provided by RA
LayoutFile=layout.inf
DriverVer=02/22/2010,1.1.1.2 ; Driver version 1.1.1.1 published on 12 September 2007 ; 1.1.1.2 Supports Signing Auto Installation
CatalogFile=u2dhp.cat
[Manufacturer] ; Manufacturer section
%RA%=RockwellMfr,NTamd64 ; Only one manufacturer (Rockwell), models section is named RockwellMfr
[DestinationDirs] ; DestinationDirs section
FakeModemCopyFileSection=12
DefaultDestDir=12 ; Default install directory is \drivers or \IOSubSys
[SourceDisksFiles]
[SourceDisksNames]
[RockwellMfr] ; Models section corresponding to Rockwell
[RockwellMfr.NTamd64] ; Models section corresponding to Rockwell
%USBtoDHPInterface%=USBtoDhp_Install.NTamd64,USB\VID_14C0&PID_0009 ; Identifies a device with RA Vendor ID (14C0h) and
; Product ID equal to 0009h. Corresponding Install section
; is named USBtoDhp.Install
;------------------------------------------------------------------------------
; Windows Vista64 Support
;------------------------------------------------------------------------------
[USBtoDhp_Install.NTamd64] ; Install section
Include=mdmcpq.inf
CopyFiles=FakeModemCopyFileSection ; Files to copy are listed in USBtoDhp.CopyFiles
AddReg=USBtoDhp_Install.NTamd64.AddReg ; Registry keys to add are listed in USBtoDhp.AddReg
;[USBtoDhp_CopyFiles.NTamd64] ; FileList section
;usbser.sys,,,0x20 ; Copy usbser.sys, user is not allowed to skip
[USBtoDhp_Install.NTamd64.AddReg] ; AddReg section
HKR,,DevLoader,,*ntkern ;
HKR,,NTMPDriver,,usbser.sys
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
[USBtoDhp_Install.NTamd64.Services] ; Services section
include=mdmcpq.inf
AddService=usbser,0x00000002,USBtoDhp_AddService.NTamd64 ; Assign usbser as the PnP driver for the device
[USBtoDhp_AddService.NTamd64] ; Service install section
DisplayName=%USBdhp% ; Name of the driver
ServiceType=1 ; Service kernel driver
StartType=3 ; Driver is started by the PnP manager
ErrorControl=1 ; Warn about errors
ServiceBinary=%12%\usbser.sys ; Driver filename
[Strings] ; Strings section
RA="Rockwell Automation" ; String value for the RA symbol
USBtoDHPInterface="1784-U2DHP" ; String value for the U2DHP
USBdhp="USB-DHP Driver" ; String value for the USBdhp symbol
DiskName="1784-U2DHP Installation"
Which keeps throwing up the same error Error Message: "The System Cannot Find The File Specified."
What am I missing?
User contributions licensed under CC BY-SA 3.0