inf2cat + usbser.sys?

Hi,

I have a driver that includes an own created .SYS (thus I guess I need to
get an SCP to sign that one) and a USBSER based .INF. I know that it should not be
signed, but when I run inf2cat on the directory, it finds the .INF for the CDC device
and displays this error:

Inf2Cat.exe /verbose /driver:C:\svn\os2_test\src\i7evoapi\kmdf\bin\amd64\ /os:XP_X64,Vista_X64,7_X64

Processing directory (C:\svn\os2_test\src\i7evoapi\kmdf\bin\amd64) file (i7evobox.inf)
Processing directory (C:\svn\os2_test\src\i7evoapi\kmdf\bin\amd64) file (i7evobox.pdb)
Processing directory (C:\svn\os2_test\src\i7evoapi\kmdf\bin\amd64) file (i7evobox.res)
Processing directory (C:\svn\os2_test\src\i7evoapi\kmdf\bin\amd64) file (i7evobox.sys)
Processing directory (C:\svn\os2_test\src\i7evoapi\kmdf\bin\amd64) file (i7evobox_cdc.inf)
Processing directory (C:\svn\os2_test\src\i7evoapi\kmdf\bin\amd64) file (wdfcoinstaller01009.dll)
Parsing INF: C:\svn\os2_test\src\i7evoapi\kmdf\bin\amd64\i7evobox.inf
Parsing INF: C:\svn\os2_test\src\i7evoapi\kmdf\bin\amd64\i7evobox_cdc.inf
Finished parsing INFs
Processing INF: C:\svn\os2_test\src\i7evoapi\kmdf\bin\amd64\i7evobox.inf
Processing INF: C:\svn\os2_test\src\i7evoapi\kmdf\bin\amd64\i7evobox_cdc.inf
Finished processing INFs
Testing driver package…
Testing driver package…
Testing driver package…
Testing driver package…
Testing driver package…
Testing driver package…
Testing driver package…
Testing driver package…
Testing driver package…
Testing driver package…
Testing driver package…
Testing driver package…
Testing driver package…
Testing driver package…
Testing driver package…
Testing driver package…
Testing driver package…
Testing driver package…
Testing driver package…
Testing driver package…
Testing driver package…
Testing driver package…

Signability test failed.

Errors:
22.9.1: usbser.sys in [i7evobox.cdc.dev.nt.copy] of \i7evobox_cdc.inf is missing or cannot be decompressed from source media. Please verify all path values specified in SourceDisksNames, SouceDisksFiles, and CopyFiles sections resolve to the actual location of the file, and are expressed in terms relative to the location of the inf.

Here is the inf:

;/*++
;
;
;–*/

[Version]
Signature=“$WINDOWS NT$”
Class=USB
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
Provider=%Company%
DriverVer=12/20/2010,6.1.7600.16385
CatalogFile=i7evobox.cat

; ================= Class section =====================

[ClassInstall32]
AddReg=Device.AddReg

[Device.AddReg]
HKR,0,%ClassName%
HKR,Icon,-20
HKR,Installer32,“MsPorts.Dll,PortsClassInstaller”

[DestinationDirs]
DefaultDestDir = 12

; ================= Device section =====================

[Manufacturer]
%Company%=i7evobox,NTAMD64

; For Win2K
[i7evobox]
%i7evobox.cdc.Dev.Desc%=i7evobox.cdc.Dev, USB\VID_2196&PID_0001&MI_00

; For XP and later
[i7evobox.NTAMD64]
%i7evobox.cdc.Dev.Desc%=i7evobox.cdc.Dev, USB\VID_2196&PID_0001&MI_00

; ================= CDC Device section =====================

[i7evobox.cdc.Dev.NT]
include=mdmcpq.inf
CopyFiles=i7evobox.cdc.Dev.NT.Copy
AddReg=i7evobox.cdc.Dev.NT.AddReg

[i7evobox.cdc.Dev.NT.Copy]
usbser.sys

[i7evobox.cdc.Dev.NT.AddReg]
HKR,DevLoader,*ntkern
HKR,NTMPDriver,usbser.sys
HKR,EnumPropPages32,“MsPorts.dll,SerialPortPropPageProvider”

[i7evobox.cdc.Dev.NT.Services]
AddService = usbser, 0x00000002, i7evobox.cdc.Dev.AddService

[i7evobox.cdc.Dev.AddService]
DisplayName = %i7evobox.cdc.Dev.SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\usbser.sys
LoadOrderGroup = Base

; ================= Misc files =====================
[SourceDisksNames]
1=%Disk_Description%,“”

[SourceDisksFiles]
usbser.sys=1

;---------------------------------------------------------------;

[Strings]
Company = “xxxxxxxx”
Disk_Description = “xxxxxxxxxxx Installation Disk”
ClassName = “Ports (COM & LPT)”
i7evobox.cdc.Dev.Desc = “xxxxxxx virtual serial port”
i7evobox.cdc.Dev.SvcDesc = “xxxxxx virtual serial port”

http://support.microsoft.com/kb/837637/en-us

Add a small piece of information.

At *CLEAN* Windows OS (except sp2 ,maybe) ,the usbser.sys is not stored in %WINDOWS%\Driver folder.you should reference it as the http://support.microsoft.com/kb/837637/en-us talking about.

Yeah, read the KB, thanks a lot, fixed that!!