;
; Lenovo ADB driver installation.
;
[Version]
Signature           = "$Windows NT$"
Class= LenovoADBDeviceClass
ClassGuid={E123E7f2-1101-5d34-1069-0AF13613FF32}
Provider            = %Lenovo%
DriverVer           = 12/21/2010,1.0.0.1
CatalogFile         = leusbadb.cat

[ClassInstall32]
Addreg = LenovoADBClassReg

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

[Manufacturer]
%Lenovo%          = LenovoDevice,NTx86,NTamd64

[LenovoDevice.NTx86]
; LePad
%LenovoLePad%    = USB_Install, USB\VID_17EF&PID_7406&MI_02
; LePhone
%Lenovo3GW100%=USB_Install, USB\VID_17EF&PID_7401&MI_01
%Lenovo3GW101%=USB_Install, USB\VID_17EF&PID_7403&MI_01
%Lenovo3GC101%=USB_Install, USB\VID_17EF&PID_7405&MI_01

[LenovoDevice.NTamd64]
; LePad
%LenovoLePad%    = USB_Install, USB\VID_17EF&PID_7406&MI_02
; LePhone
%Lenovo3GW100%=USB_Install, USB\VID_17EF&PID_7401&MI_01
%Lenovo3GW101%=USB_Install, USB\VID_17EF&PID_7403&MI_01
%Lenovo3GC101%=USB_Install, USB\VID_17EF&PID_7405&MI_01

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

[USB_Install.Services]
Include     = winusb.inf
AddService  = WinUSB,0x00000002,WinUSB_ServiceInstall

[WinUSB_ServiceInstall]
DisplayName     = %WinUSB_SD%
ServiceType     = 1
StartType       = 3
ErrorControl    = 1
ServiceBinary   = %12%\WinUSB.sys

[USB_Install.Wdf]
KmdfService = WINUSB, WinUSB_Install

[WinUSB_Install]
KmdfLibraryVersion  = 1.7

[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,"WdfCoInstaller01007.dll,WdfCoInstaller","WinUSBCoInstaller.dll"

[CoInstallers_CopyFiles]
WinUSBCoInstaller.dll
WdfCoInstaller01007.dll

[DestinationDirs]
CoInstallers_CopyFiles=11

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

[SourceDisksFiles.x86]
WinUSBCoInstaller.dll  = 1
WdfCoInstaller01007.dll = 1

[SourceDisksFiles.amd64]
WinUSBCoInstaller.dll  = 2
WdfCoInstaller01007.dll = 2

[Strings]
Lenovo             = "Lenovo Corporation"
WinUSB_SD    = "Lenovo ADB Driver"
DISK_NAME   = "Lenovo ADB installation disk"
ClassName        = "Lenovo ADB Device"

; LePad
LenovoLePad    = "Lenovo LePad ADB Interface"
; LePhone
Lenovo3GW100 = "Lenovo 3GW100 ADB Interface"
Lenovo3GW101 = "Lenovo 3GW101 ADB Interface"
Lenovo3GC101  = "Lenovo 3GC101 ADB Interface"

