A standard CDC device.
This works fine in XP but not in Vista.
Any ideas about what to change?
Also, how you debug failed device installs?
; Windows 2000 and XP setup File
[Version]
Signature=“$Windows NT$”
Class=Ports
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
[DDInstall.NT]
include=mdmcpq.inf
CopyFiles=FakeModemCopyFileSection
[DDInstall.NT.Services]
include=mdmcpq.inf AddService=usbser, 0x00000000, LowerFilter_Service_Inst
[DDInstall.NT.HW]
include=mdmcpq.inf
AddReg=LowerFilterAddReg
Provider=%MFG%
LayoutFile=layout.inf
DriverVer=10/15/1999,5.0.2153.1
[Manufacturer]
%MFG%=MFG-Embedded
[MFG-Embedded]
%MFG_CDC%=Reader ,USB\VID_C1CA&PID_0008
%MFG_CDC%=Reader ,USB\VID_C1CA&PID_0009
%MFG_CDC%=Reader ,USB\VID_C1CA&PID_000A
%MFG_CDC%=Reader ,USB\VID_C1CA&PID_000B
%MFG_CDC%=Reader ,USB\VID_C1CA&PID_000C
[Reader_Install.NTx86]
;Windows2000
[DestinationDirs]
DefaultDestDir=12
Reader.NT.Copy=12
[Reader.NT]
CopyFiles=Reader.NT.Copy
AddReg=Reader.NT.AddReg
[Reader.NT.Copy]
usbser.sys
[Reader.NT.AddReg]
HKR,NTMPDriver,*ntkern
HKR,NTMPDriver,usbser.sys
HKR,EnumPropPages32,“MsPorts.dll,SerialPortPropPageProvider”
[Reader.NT.Services]
AddService = usbser, 0x00000002, Service_Inst
[Service_Inst]
DisplayName = %Serial.SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\usbser.sys
LoadOrderGroup = Base
[Strings]
MFG = “MyDevice”
MFG_CDC = “MyDevice”
Serial.SvcDesc = “USB Serial emulation driver”