;
; Android WinUsb driver installation.
;
[Version]
Signature           = "$Windows NT$"
Class               = AndroidUsbDeviceClass
ClassGuid           = {3F966BD9-FA04-4ec5-991C-D326973B5128}
Provider            = %ProviderName%
DriverVer           = 02/13/2014,4.0.0000.00000
CatalogFile.NTx86   = androidwinusb86.cat
CatalogFile.NTamd64 = androidwinusba64.cat

;
; This section seems to be required for WinUsb driver installation.
; If this section is removed the installer will report an error
; "Required section not found in INF file".
;
[ClassInstall32]
Addreg = AndroidWinUsbClassReg

[AndroidWinUsbClassReg]
HKR,,,0,%ClassName%
HKR,,Icon,,-1

[Manufacturer]
%ProviderName% = Acer, NTx86, NTamd64

[Acer.NTx86]
; for Mango
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_353B&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_353D&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_354D&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_353F&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_3541&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_3543&MI_02
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_3545&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_3547&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_3549&MI_02
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_354B&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_354C&MI_02
; for A10
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_3554&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_3556&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_3558&MI_02
%FastbootInterface%         = USB_Install, USB\VID_0502&PID_355A
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_355B&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_355C&MI_02
; for A12
%FastbootInterface%         = USB_Install, USB\VID_0502&PID_352D
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_3527&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_3529&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_352B&MI_02
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_352F&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_3530&MI_02
; for prada
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_35FA&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_35FC&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_35FD&MI_01
%FastbootInterface%         = USB_Install, USB\VID_0502&PID_3607
; for S3
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_3609&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_360B&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_360D&MI_02
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_360E&MI_01
%FastbootInterface%         = USB_Install, USB\VID_0502&PID_360F
; Zara2
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_3616&MI_01	; MTP + ADB
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_3618&MI_01	; PTP + ADB
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_3619&MI_02	; ACM + ADB
%FastbootInterface%         = USB_Install, USB\VID_0502&PID_361A	      ; Fastboot
; Ducati2
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_362E&MI_01	; MTP + ADB
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_3630&MI_01	; PTP + ADB
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_3631&MI_02	; ACM + ADB
%FastbootInterface%         = USB_Install, USB\VID_0502&PID_3632	      ; Fastboot

[Acer.NTamd64]
; for Mango
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_353B&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_353D&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_354D&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_353F&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_3541&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_3543&MI_02
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_3545&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_3547&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_3549&MI_02
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_354B&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_354C&MI_02
; for A10
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_3554&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_3556&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_3558&MI_02
%FastbootInterface%         = USB_Install, USB\VID_0502&PID_355A
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_355B&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_355C&MI_02
; for A12
%FastbootInterface%         = USB_Install, USB\VID_0502&PID_352D
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_3527&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_3529&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_352B&MI_02
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_352F&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_3530&MI_02
;for prada
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_35FA&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_35FC&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_35FD&MI_01
%FastbootInterface%         = USB_Install, USB\VID_0502&PID_3607
; for S3
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_3609&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_360B&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_360D&MI_02
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_360E&MI_01
%FastbootInterface%         = USB_Install, USB\VID_0502&PID_360F
; Zara2
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_3616&MI_01	; MTP + ADB
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_3618&MI_01	; PTP + ADB
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_3619&MI_02	; ACM + ADB
%FastbootInterface%         = USB_Install, USB\VID_0502&PID_361A	      ; Fastboot
; Ducati2
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_362E&MI_01	; MTP + ADB
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_3630&MI_01	; PTP + ADB
%CompositeAdbInterface%     = USB_Install, USB\VID_0502&PID_3631&MI_02	; ACM + ADB
%FastbootInterface%         = USB_Install, USB\VID_0502&PID_3632	      ; Fastboot

[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

[WinUSB_Install]
KmdfLibraryVersion  = 1.9

[USB_Install.HW]
AddReg  = Dev_AddReg

[Dev_AddReg]
HKR,,DeviceInterfaceGUIDs,0x10000,"{F72FE0D4-CBCB-407d-8814-9ED673D0DD6B}"

[USB_Install.CoInstallers]
AddReg    = CoInstallers_AddReg
CopyFiles = CoInstallers_CopyFiles

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

[CoInstallers_CopyFiles]
WinUSBCoInstaller2.dll
WdfCoInstaller01009.dll

[DestinationDirs]
CoInstallers_CopyFiles=11

[SourceDisksNames]
1 = %DISK_NAME%,,,\i386
2 = %DISK_NAME%,,,\amd64

[SourceDisksFiles.x86]
WinUSBCoInstaller2.dll  = 1
WdfCoInstaller01009.dll = 1

[SourceDisksFiles.amd64]
WinUSBCoInstaller2.dll  = 2
WdfCoInstaller01009.dll = 2

[Strings]
ProviderName                = "Acer, Inc."
SingleAdbInterface          = "Acer Android ADB Interface"
FastbootInterface           = "Android Fastboot Interface"
CompositeAdbInterface       = "Acer Android Composite ADB Interface"
SingleBootLoaderInterface   = "Acer Android Bootloader Interface"
WinUSB_SvcDesc              = "Acer Android USB Driver"
DISK_NAME                   = "Acer Android WinUsb installation disk"
ClassName                   = "Android Devices"