;; ;; OOI_QEPRO.inf ;; Copyright (C) 2013 Ocean Optics, Inc. All rights reserved. ; Adapted from the example INF in the Microsoft document "How to Use WinUSB to Communicate with a USB Device" [Version] Signature = "$Windows NT$" Class = OceanOpticsUSBDevice ClassGUID={BAD36DAB-A3D2-4a0e-8B2E-DA36202187D4} Provider = %ProviderName% DriverVer=03/23/2011,1.2.0 CatalogFile=winusbcompat.cat ; =================== Class section ================== [ClassInstall32] AddReg=AddClass_AddReg [AddClass_AddReg] HKR,,,0,%DeviceClassString% HKR,,Icon,,-1 ; ========== Manufacturer/Models sections =========== [DestinationDirs] DefaultDestDir = 12 [Manufacturer] %ProviderName% = MyDevice_WinUSB,NTx86,NTamd64,NTx86.6.0,NTamd64.6.0 [MyDevice_WinUSB.NTx86] %USB\MyDevice.DeviceDesc% =OOIUSB_Install, USB\VID_2457&PID_4004 [MyDevice_WinUSB.NTx86.6.0] ; Vista and later %USB\MS_COMP_WINUSB.DeviceDesc%=WinUsbDriver,USB\MS_COMP_WINUSB [MyDevice_WinUSB.NTamd64] %USB\MyDevice.DeviceDesc% =OOIUSB_Install, USB\VID_2457&PID_4004 [MyDevice_WinUSB.NTamd64.6.0] ; Vista and later %USB\MS_COMP_WINUSB.DeviceDesc%=WinUsbDriver,USB\MS_COMP_WINUSB ; ======================= WinUsbDriver Sections ======================= [WinUsbDriver.NT] Include = Winusb.inf Needs = WINUSB.NT [WinUsbDriver.NT.Services] Include = Winusb.inf Needs = WINUSB.NT.Services ; =================== Installation =================== [OOIUSB_Install] ;Include=winusb.inf ;Needs=WINUSB.NT [OOIUSB_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 [OOIUSB_Install.Wdf] KmdfService=WINUSB, WinUsb_Install [WinUSB_Install] KmdfLibraryVersion=1.7 [OOIUSB_Install.HW] AddReg=Dev_AddReg [Dev_AddReg] HKR,,DeviceInterfaceGUIDs,0x10000,"{DBBAD306-1786-4f2e-A8AB-340D45F0653F}" [OOIUSB_Install.CoInstallers] AddReg=CoInstallers_AddReg CopyFiles=CoInstallers_CopyFiles [CoInstallers_AddReg] HKR,,CoInstallers32,0x00010000, "WdfCoInstaller01007.dll,WdfCoInstaller","WinUSBCoInstaller.dll" [CoInstallers_CopyFiles] WinUSBCoInstaller.dll WdfCoInstaller01007.dll [DestinationDirs] CoInstallers_CopyFiles=11 ; ================= Source Media Section ===================== [SourceDisksNames.x86] 1 = %DISK_NAME%,,,\x86 [SourceDisksNames.amd64] 2 = %DISK_NAME%,,,\amd64 [SourceDisksFiles.x86] WinUSBCoInstaller.dll=1 WdfCoInstaller01007.dll=1 [SourceDisksFiles.amd64] WinUSBCoInstaller.dll=2 WdfCoInstaller01007.dll=2 ; =================== Strings =================== [Strings] ProviderName="Ocean Optics, Inc." USB\MyDevice.DeviceDesc="Ocean Optics QE-PRO (WinUSB)" USB\MS_COMP_WINUSB.DeviceDesc="Ocean Optics QE-PRO (WinUSB)" WinUSB_SvcDesc="Ocean Optics QE-PRO (WinUSB)" DISK_NAME="My Install Disk" DeviceClassString="Ocean Optics USB Devices"