;
; Traktor Kontrol S5 USB Driver Setup Information file
; Copyright (c) 2014 Native Instruments GmbH
;

[Version]
Signature="$WINDOWS NT$"
Class=USBDevice
ClassGuid={88BAE032-5A81-49f0-BC3D-A4FF138216D6}
Provider=%ManufacturerName%
CatalogFile=nikst4usb.cat
DriverVer=04/01/2015,4.2.0.99

[DestinationDirs]
DefaultDestDir = 12
USBDriver_CoInstaller_CopyFiles = 11

[SourceDisksNames]
1 = %DiskName%,,,""

[SourceDisksFiles]
nikst4usb.sys  = 1,,
WdfCoInstaller01011.dll=1

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

[ClassInstall32]
Addreg=USBDeviceClassReg

[USBDeviceClassReg]
HKR,,,,"Universal Serial Bus devices"
HKR,,NoInstallClass,,1
HKR,,IconPath,0x00010000,"%systemroot%\system32\setupapi.dll,-20"
HKR,,LowerLogoVersion,,5.2

;*****************************************
; Install Section
;*****************************************

[Manufacturer]
%ManufacturerName%=Standard,NTamd64

[Standard.NTamd64]
%USB.DeviceDesc% = USBDriver, usb\vid_17cc&pid_1420&mi_00
%USB.DFUIFDesc%  = USBDriver, usb\vid_17cc&pid_1420&mi_05
%USB.BDIFDesc%   = USBDriver, usb\vid_17cc&pid_1420&mi_04
%DFU.DeviceDesc% = USBDriver, usb\vid_17cc&pid_1422

[USBDriver.NT]
CopyFiles=Drivers_Dir

[Drivers_Dir]
nikst4usb.sys

;-------------- Service installation
[USBDriver.NT.Services]
DelService = kst4usb_svc
DelService = kst4avs
AddService = nikst4usb,0x00000002,USBDriver.AddService

; -------------- driver install sections
[USBDriver.AddService]
DisplayName    = %USBDriver.SvcDesc%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\nikst4usb.sys
LoadOrderGroup = Extended Base

;
;--- USBDriver Coinstaller installation ------
;

[USBDriver.NT.CoInstallers]
AddReg=USBDriver_CoInstaller_AddReg
CopyFiles=USBDriver_CoInstaller_CopyFiles

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

[USBDriver_CoInstaller_CopyFiles]
WdfCoInstaller01011.dll

[USBDriver.NT.Wdf]
KmdfService = nikst4usb, USBDriver_wdfsect

[USBDriver_wdfsect]
KmdfLibraryVersion = 1.11

[Strings]
ManufacturerName  = "Native Instruments"
DiskName          = "Traktor Kontrol S5 installation CD"
USB.DeviceDesc    = "Traktor Kontrol S5"
USB.DFUIFDesc     = "Traktor Kontrol S5 DFU"
USB.BDIFDesc      = "Traktor Kontrol S5 BD"
DFU.DeviceDesc    = "Traktor Kontrol S5 DFU"
USBDriver.SvcDesc = "Traktor Kontrol S5"
