[Version]
Signature = "$Windows NT$"
Class = MyDeviceClass
ClassGuid={E7987250-78D6-11d4-92C6-005004681409}
Provider = %ProviderName%
DriverVer=04/03/2013,1.0.0.1
CatalogFile.ntx86=tdtcpbx_x86.cat
CatalogFile.ntamd64=tdtcpbx_amd64.cat

; ================== Class section ==================

[ClassInstall32]
Addreg=MyDeviceClassReg

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

; ========== Manufacturer/Models sections ===========
; 
[Manufacturer]
%ProviderName% = MyDevice_WinUSB,NTx86,NTamd64,NTia64

[MyDevice_WinUSB.NTx86]
%USB\MyDevice.DeviceDesc_ICT% =USB_Install, USB\VID_07E2&PID_0401&Rev_0101
%USB\MyDevice.DeviceDesc_ICT% =USB_Install, USB\VID_2018&PID_0401&Rev_0101

[MyDevice_WinUSB.NTamd64]
%USB\MyDevice.DeviceDesc_ICT% =USB_Install, USB\VID_07E2&PID_0401&Rev_0101
%USB\MyDevice.DeviceDesc_ICT% =USB_Install, USB\VID_2018&PID_0401&Rev_0101

[MyDevice_WinUSB.NTia64]
%USB\MyDevice.DeviceDesc_ICT% =USB_Install, USB\VID_07E2&PID_0401&Rev_0101
%USB\MyDevice.DeviceDesc_ICT% =USB_Install, USB\VID_2018&PID_0401&Rev_0101

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

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

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

;[3]
[WinUSB_ServiceInstall]
DisplayName     = %WinUSB_SvcDesc%
ServiceType     = 1
StartType       = 3
ErrorControl    = 1
ServiceBinary   = %12%\winusb.sys

;[4]
[USB_Install.Wdf]
KmdfService=WINUSB, WinUsb_Install
UmdfServiceOrder=WINUSB ;Add this line 

[WinUSB_Install]
KmdfLibraryVersion=1.9

;[5]
[USB_Install.HW]
AddReg=Dev_AddReg

[USB_Install_Boot.HW]
AddReg=DevBoot_AddReg

[Dev_AddReg]
HKR,,DeviceInterfaceGUIDs,0x10000,"{BBECB87C-B337-4655-A692-C13B97B61A0F}"

;[6]
[USB_Install.CoInstallers]
AddReg=CoInstallers_AddReg
CopyFiles=CoInstallers_CopyFiles

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

[CoInstallers_CopyFiles]
WinUSBCoInstaller2.dll
WdfCoInstaller01009.dll
WUDFUpdate_01009.dll

[DestinationDirs]
CoInstallers_CopyFiles=11

; ================= Source Media Section =====================
;[7]

[SourceDisksNames]
1 = %DISK_NAME%,,,\x86
2 = %DISK_NAME%,,,\amd64
3 = %DISK_NAME%,,,\ia64

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

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

[SourceDisksFiles.ia64]
WinUSBCoInstaller2.dll=3
WdfCoInstaller01009.dll=3
WUDFUpdate_01009.dll=3

; Copy Files section
;------------------------------------------------------------------------------
[_CopyFiles_sys]
winusb.sys

;************************************************* *****************************
; Destination Directories
;------------------------------------------------------------------------------
[DestinationDirs]
DefaultDestDir = 12 ; %SystemRoot%\system32\drivers
_CopyFiles_sys = 12
; =================== Strings ===================

[Strings]
ProviderName="bintec elmeg GmbH"
USB\MyDevice.DeviceDesc_ICT="elmeg ICT"
WinUSB_SvcDesc="elmeg Pbx WinUSB"
DISK_NAME="elmeg Driver Install Disk"
ClassName="elmeg USB"

