Hi all,
I cant figure out how to make my INF pass the infverif testing.
It appears infverif is completely disregarding the "include=mdmcpq.inf" parameter as suggested by the "How to use or reference the Usbser.sys driver from universal serial bus (USB) modem .inf files" MS doccument.
If I add the required sections from mdmcpq.inf, I end up with the problem of having to specify a sourcedisk for usbser.sys, which obviously i shouldn't need to do.
Does anyone know why this is a problem?
Thanks in advance!
[Version]
Signature = "$WINDOWS NT$"
Class = Ports
ClassGUID = {4D36E978-E325-11CE-BFC1-08002BE10318}
Provider = %ManufacturerName%
PnpLockdown = 1
DriverVer = 03/03/2025,2.5.5.0
CatalogFile = short_test.cat
;----------------------------------------------------------
; Targets
;----------------------------------------------------------
[Manufacturer]
%ManufacturerName%=DeviceList,NTx86,NTamd64,NTarm,NTarm64
[SourceDisksNames]
1=%DriversDisk%,,,
[SourceDisksFiles]
[DestinationDirs]
DefaultDestDir=12
;----------------------------------------------------------
; Device List
;----------------------------------------------------------
[DeviceList.NTx86]
%CF213B0000%=DriverInstall, USB\VID_213B&PID_0000
[DeviceList.NTamd64]
%CF213B0000%=DriverInstall, USB\VID_213B&PID_0000
[DeviceList.NTarm]
%CF213B0000%=DriverInstall, USB\VID_213B&PID_0000
[DeviceList.NTarm64]
%CF213B0000%=DriverInstall, USB\VID_213B&PID_0000
;----------------------------------------------------------
; Installers
;----------------------------------------------------------
[DriverInstall.NT]
include=mdmcpq.inf
CopyFiles=FakeModemCopyFileSection
[DriverInstall.NT.Services]
include=mdmcpq.inf
AddService=usbser,0x00000000,LowerFilter_Service_Inst
[DriverInstall.NT.HW]
include=mdmcpq.inf
AddReg=LowerFilterAddReg
;----------------------------------------------------------
; Strings
;----------------------------------------------------------
[Strings]
ManufacturerName="Test Inc"
ServiceName="Test USB Serial Driver"
DriversDisk="Test USB Drivers Disk"
CF213B0000="0x213B:0x0000"
>> "c:\Program Files (x86)\Windows Kits\10\Tools\10.0.26100.0\x64\infverif.exe" short_test.inf
WARNING(2006) in short_test.inf, line 0: Undefined service 'usbser' under [LowerFilter_Service_Inst] section.
WARNING(1296) in short_test.inf, line 45: Hardware '0x213B:0x0000' does not have an associated service using install section 'DriverInstall.NT'.
ERROR(1203) in short_test.inf, line 47: Section [fakemodemcopyfilesection] not found.
ERROR(1203) in short_test.inf, line 51: Section [LowerFilter_Service_Inst] not found.
ERROR(1203) in short_test.inf, line 51: Section [lowerfilter_service_inst] not found.
ERROR(1203) in short_test.inf, line 55: Section [lowerfilteraddreg] not found.