;
; AURA LED Controller driver installation.
;

[Version]
Signature   = "$Windows NT$"
Class       = USBDevice
ClassGUID   = {88BAE032-5A81-49f0-BC3D-A4FF138216D6}
Provider    = %AURA%
CatalogFile = AURA LED Driver.cat
DriverVer   = 12/25/2020,0.0.0.2

; ========== Manufacturer/Models sections ===========

[Manufacturer]
%AURA% = Standard,NTamd64

[Standard.NTamd64]
%DeviceName% =USB_Install, USB\VID_0B05&PID_18F3&MI_00
%DeviceName% =USB_Install, USB\VID_0B05&PID_1939&MI_00

; ========== Class definition ===========

[ClassInstall32]
AddReg = ClassInstall_AddReg

[ClassInstall_AddReg]
HKR,,,,%ClassName%
HKR,,NoInstallClass,,1
HKR,,SilentInstall,,1 
HKR,,IconPath,0x00010000,"%systemroot%\system32\setupapi.dll,-20"
HKR,,LowerLogoVersion,,5.2

; =================== Installation ===================

[USB_Install]
Include = winusb.inf
Needs   = WINUSB.NT

[USB_Install.Services]
Include = winusb.inf
Needs   = WINUSB.NT.Services

[USB_Install.Wdf]
KmdfService = WINUSB, WinUsb_Install

[WinUsb_Install]
KmdfLibraryVersion = 1.11

[USB_Install.HW]
AddReg = Dev_AddReg

[Dev_AddReg]
HKR,,DeviceInterfaceGUIDs,0x10000,"{2BF18A61-B66B-46E0-B1F5-90671E242C27}"

[USB_Install.CoInstallers]
AddReg    = CoInstallers_AddReg
CopyFiles = CoInstallers_CopyFiles

[CoInstallers_AddReg]
HKR,,CoInstallers32,0x00010000,"WdfCoInstaller01011.dll,WdfCoInstaller","WinUSBCoInstaller2.dll"

[CoInstallers_CopyFiles]
WinUSBCoInstaller2.dll
WdfCoInstaller01011.dll

[DestinationDirs]
CoInstallers_CopyFiles = 11

[SourceDisksNames]
1 = %SourceName%

[SourceDisksFiles]
WinUSBCoInstaller2.dll = 1
WdfCoInstaller01011.dll = 1

; =================== Strings ===================

[Strings]
AURA         = "AURA"
ClassName    = "Universal Serial Bus devices"
SourceName   = "AURA LED Controller Install Disk"
DeviceName   = "AURA LED Controller"

[Strings.0804]
AURA         = "AURA"
ClassName    = "通用串行总线设备"
SourceName   = "AURA LED Controller Install Disk"
DeviceName   = "AURA LED Controller"