We have created our own class. The inf file is below.
We did follow the instructions provided in the winusb_howto.docx cookbook.
FYI: We pass all WHQL tests except for this one test with the 3 errors.
;
; Installation file (.inf) for the USB Downloader USB-to-USB device driver.
;
; Copyright © 2010 TimeKeeping Systems, Inc.
;
; This file supports:
; Windows XP
; Windows Vista
; Windows 7
[Version]
Signature = "$Windows NT$"
Class = Downloaders
ClassGuid={764B8004-A028-4280-9269-49792819F85B}
Provider = %ProviderName%
DriverVer=02/11/2010,1.00.0.0
CatalogFile=USB_Driver_for_USB_Downloader.cat
; ================== Class section ==================
[ClassInstall32]
Addreg=MyDeviceClassReg
[MyDeviceClassReg]
HKR,,,0,%ClassName%
HKR,,Icon,,-23
; ========== Manufacturer/Models sections ===========
[Manufacturer]
%ProviderName% = MyDevice_WinUSB,NTx86
[MyDevice_WinUSB.NTx86]
%USB\MyDevice.DeviceDesc% =USB_Install, USB\VID_121A&PID_0001
; =================== Installation ===================
[USB_Install]
Include=winusb.inf
Needs=WINUSB.NT
[USB_Install.Services]
Include=winusb.inf
AddService=WinUSB,0x00000002,WinUSB_ServiceInstall
[WinUSB_ServiceInstall]
DisplayName = %WinUSB_SvcDesc%
ServiceType = 1
StartType = 3
ErrorControl = 1
ServiceBinary = %12%\WinUSB.sys
[USB_Install.Wdf]
KmdfService=WINUSB, WinUsb_Install
UmdfServiceOrder=WINUSB
[WinUSB_Install]
KmdfLibraryVersion=1.7
[USB_Install.HW]
AddReg=Dev_AddReg
[Dev_AddReg]
HKR,,DeviceInterfaceGUIDs,0x10000,"{F43D994B-7D0E-4CC5-9359-862C9564BB94}"
HKR,,"SystemWakeEnabled",0x00010001,1
HKR,,"DeviceIdleEnabled",0x00010001,1
HKR,,"DefaultIdleState", 0x00010001,1
HKR,,"DefaultIdleTimeout",0x00010001,1800000
HKR,,"UserSetDeviceIdleEnabled",0x00010001,1
HKR,,"DeviceIdleIgnoreWakeEnable", 0x00010001,1
HKR,,"DeviceSelectiveSuspended", 0x00010001,1
HKR,WDF,"IdleInWorkingState", 0x00010001,0
HKR,WDF,"WakeFromSleepState", 0x00010001,1
[USB_Install.CoInstallers]
AddReg=CoInstallers_AddReg
CopyFiles=CoInstallers_CopyFiles
[CoInstallers_AddReg
HKR,,CoInstallers32,0x00010000,"WinUSBCoInstaller2 .dll","WUDFUpdate_01009.dll","WdfCoInstaller01009. dll,WdfCoInstaller"
[CoInstallers_CopyFiles]
WinUSBCoInstaller2.dll
WdfCoInstaller01009.dll
WUDFUpdate_01009.dll
[DestinationDirs]
CoInstallers_CopyFiles=11
; ================= Source Media Section =====================
[SourceDisksNames.x86]
1 = %DISKNAME%, setup.exe
[SourceDisksFiles.x86]
WinUSBCoInstaller2.dll=1
WdfCoInstaller01009.dll=1
WUDFUpdate_01009.dll=1
;*************************************************
*****************************
; Destination Directorie
;------------------------------------------------------------------------------
[DestinationDirs]
DefaultDestDir = 12 ; %SystemRoot%\system32\drivers
; =================== Strings ===================
[Strings]
USB\MyDevice.DeviceDesc="USB Downloader USB-to-USB"
ProviderName="TimeKeeping Systems, Inc."
WinUSB_SvcDesc="USB Downloader USB-to-USB"
ClassName="USB Downloaders"
DISKNAME="Native Usb"