155 lines
3.7 KiB
INI
155 lines
3.7 KiB
INI
; -----------------------------------------------------------------------------
|
|
;
|
|
; TivaWare Generic Bulk USB device driver installer
|
|
;
|
|
; This INF file may be used as a template when creating customized applications
|
|
; based on the TivaWare generic bulk devices. Areas of the file requiring
|
|
; customization for a new device are commented with NOTEs.
|
|
;
|
|
; -----------------------------------------------------------------------------
|
|
|
|
; NOTE: When you customize this INF for your own device, create a new class
|
|
; name (Class) and a new GUID (ClassGuid). GUIDs may be created using the
|
|
; guidgen tool from Windows Visual Studio.
|
|
|
|
[Version]
|
|
Signature = "$Windows NT$"
|
|
Class = USBLibBulkDeviceClass
|
|
ClassGuid={F5450C06-EB58-420e-8F98-A76C5D4AFB18}
|
|
Provider = %ProviderName%
|
|
CatalogFile=usb_dev_bulk.cat
|
|
DriverVer=10/18/2016,2.1.4.0
|
|
|
|
; ========== Manufacturer/Models sections ===========
|
|
|
|
[Manufacturer]
|
|
%ProviderName% = USBLibBulkDevice_WinUSB,NTx86,NTamd64
|
|
|
|
; NOTE: Replace the VID and PID in the following two sections with the
|
|
; correct values for your device.
|
|
|
|
[USBLibBulkDevice_WinUSB.NTx86]
|
|
%USB\USBLibBulkDevice.DeviceDesc% =USB_Install, USB\VID_1CBE&PID_0003
|
|
|
|
[USBLibBulkDevice_WinUSB.NTamd64]
|
|
%USB\USBLibBulkDevice.DeviceDesc% =USB_Install, USB\VID_1CBE&PID_0003
|
|
|
|
; =================== Installation ===================
|
|
|
|
[ClassInstall32]
|
|
AddReg=AddReg_ClassInstall
|
|
|
|
[AddReg_ClassInstall]
|
|
HKR,,,,"%DeviceClassDisplayName%"
|
|
HKR,,Icon,,-1
|
|
|
|
[USB_Install.NTx86]
|
|
Include=winusb.inf
|
|
Needs=WINUSB.NT
|
|
CopyFiles=System32_CopyFiles
|
|
|
|
[USB_Install.NTamd64]
|
|
Include=winusb.inf
|
|
Needs=WINUSB.NT
|
|
CopyFiles=SysWOW64_CopyFiles
|
|
CopyFiles=System64_CopyFiles
|
|
|
|
[USB_Install.NTx86.Services]
|
|
Include=winusb.inf
|
|
AddService=WinUSB,0x00000002,WinUSB_ServiceInstall
|
|
|
|
[USB_Install.NTamd64.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.NTx86.Wdf]
|
|
KmdfService=WINUSB, WinUsb_Install
|
|
|
|
[USB_Install.NTamd64.Wdf]
|
|
KmdfService=WINUSB, WinUsb_Install
|
|
|
|
[WinUSB_Install]
|
|
KmdfLibraryVersion=1.9
|
|
|
|
[USB_Install.NTx86.HW]
|
|
AddReg=Dev_AddReg
|
|
|
|
[USB_Install.NTamd64.HW]
|
|
AddReg=Dev_AddReg
|
|
|
|
[Dev_AddReg]
|
|
HKR,,DeviceInterfaceGUIDs,0x10000,"{6E45736A-2B1B-4078-B772-B3AF2B6FDE1C}"
|
|
|
|
[USB_Install.NTx86.CoInstallers]
|
|
AddReg=CoInstallers_AddReg
|
|
CopyFiles=CoInstallers_CopyFiles
|
|
|
|
[USB_Install.NTamd64.CoInstallers]
|
|
AddReg=CoInstallers_AddReg
|
|
CopyFiles=CoInstallers_CopyFiles
|
|
|
|
[CoInstallers_AddReg]
|
|
HKR,,CoInstallers32,0x00010000,"WdfCoInstaller01009.dll,WdfCoInstaller","WinUSBCoInstaller2.dll"
|
|
|
|
[CoInstallers_CopyFiles]
|
|
WinUSBCoInstaller2.dll
|
|
WdfCoInstaller01009.dll
|
|
|
|
[System32_CopyFiles]
|
|
lmusbdll.dll
|
|
lmusbdll.lib
|
|
|
|
[System64_CopyFiles]
|
|
lmusbdll.dll, lmusbdll64.dll
|
|
lmusbdll.lib, lmusbdll64.lib
|
|
|
|
[SysWOW64_CopyFiles]
|
|
lmusbdll.dll
|
|
lmusbdll.lib
|
|
|
|
[DestinationDirs]
|
|
CoInstallers_CopyFiles=11
|
|
System32_CopyFiles=10,system32
|
|
SysWOW64_CopyFiles=10,syswow64
|
|
System64_CopyFiles=10,system32
|
|
CoInstallers_CopyFiles=11
|
|
|
|
; ================= Source Media Section =====================
|
|
|
|
[SourceDisksNames]
|
|
1 = %DISK_NAME%,,,\i386
|
|
2 = %DISK_NAME%,,,\amd64
|
|
|
|
[SourceDisksFiles.x86]
|
|
WinUSBCoInstaller2.dll=1
|
|
WdfCoInstaller01009.dll=1
|
|
lmusbdll.dll=1
|
|
lmusbdll.lib=1
|
|
|
|
[SourceDisksFiles.amd64]
|
|
WinUSBCoInstaller2.dll=2
|
|
WdfCoInstaller01009.dll=2
|
|
lmusbdll.dll=1
|
|
lmusbdll.lib=1
|
|
lmusbdll64.dll=2
|
|
lmusbdll64.lib=2
|
|
|
|
; =================== Strings ===================
|
|
|
|
; Note: Replace these as appropriate to describe your device.
|
|
|
|
[Strings]
|
|
ProviderName="Texas Instruments Inc."
|
|
USB\USBLibBulkDevice.DeviceDesc="Generic Bulk Device"
|
|
WinUSB_SvcDesc="WinUSB"
|
|
DISK_NAME="TivaWare Install Disk"
|
|
DeviceClassDisplayName="TivaWare Bulk Devices"
|
|
|