; ================ Version section =================
[Version]
Signature = "$Windows NT$"
Class=Dongles
ClassGUID={57E68E91-05A7-11d4-ADE7-005004769436}
Provider="PACE Anti-Piracy, Inc."
DriverPackageType=PlugAndPlay
DriverVer=02/11/2017,UNKNOWN
CatalogFile.ntx86=ilok-x86.cat
CatalogFile.ntamd64=ilok-x64.cat ; 1 CAT for each platform: INF2CAT will generate all the required CATs

[DestinationDirs]
DefaultDestDir = 12; just the drivers directory

[SourceDisksNames]
1 = "Driver Installation Disk"
 
[SourceDisksFiles]
iLokDrvr.sys = 1

[SourceDisksFiles.x86]
iLokDrvr.sys = 1

[SourceDisksFiles.amd64]
iLokDrvr.sys = 1

; ========== Manufacturer/Models sections =========== 
[Manufacturer]
%ProviderName% = PACEAP,NTx86,NTamd64; add others as necessary 

;======================================
; NOTE: Include other VID/PID pairs here
;======================================

[PACEAP.NT]
%DeviceDescriptor% = USB_Install, USB\VID_088E&PID_5036
%DeviceDescriptor% = USB_Install, USB\VID_088E&PID_5052

[PACEAP.NTx86]
%DeviceDescriptor% = USB_Install, USB\VID_088E&PID_5036
%DeviceDescriptor% = USB_Install, USB\VID_088E&PID_5052
[PACEAP.NTamd64]
%DeviceDescriptor% = USB_Install, USB\VID_088E&PID_5036
%DeviceDescriptor% = USB_Install, USB\VID_088E&PID_5052

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

[ClassInstall32]
AddReg=_AddReg_ClassInstall

[_AddReg_ClassInstall]
HKR,,,,"%ClassDescriptor%"
HKR,,Icon,,"-20"

[USB_Install]
CopyFiles=@iLokDrvr.sys 

[USB_Install.ntx86]
CopyFiles=@iLokDrvr.sys ; shortcut method.. will copy from platform type location. (e.g. x86\ilokdrvr.sys)

[USB_Install.ntamd64]
CopyFiles=@iLokDrvr.sys
 
[USB_Install.Services]
AddService = iLokDrvr, 0x00000002, USB_ServiceInstall

[USB_Install.ntx86.Services]
AddService = iLokDrvr, 0x00000002, USB_ServiceInstall
 
[USB_Install.ntamd64.Services]
AddService = iLokDrvr, 0x00000002, USB_ServiceInstall
 
[USB_ServiceInstall] 
DisplayName   = %USB_SvcDesc% 
ServiceType   = 1 
StartType     = 3 
ErrorControl  = 1 
ServiceBinary = %12%\iLokDrvr.sys 

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

[Strings]
ProviderName = "PACE Anti-Piracy, Inc."
ClassDescriptor = "Dongles"
DeviceDescriptor = "iLok"
USB_SvcDesc = "Usb Driver"

;-------------------------------------------------------------------------
; WDF Coinstaller installation
;-------------------------------------------------------------------------
[DestinationDirs]
CoInstaller_CopyFiles = 11

[USB_Install.NT.CoInstallers]
AddReg         = CoInstaller_AddReg
CopyFiles      = CoInstaller_CopyFiles

[USB_Install.NTx86.CoInstallers]
AddReg         = CoInstaller_AddReg
CopyFiles      = CoInstaller_CopyFiles

[USB_Install.NTamd64.CoInstallers]
AddReg         = CoInstaller_AddReg
CopyFiles      = CoInstaller_CopyFiles


[CoInstaller_CopyFiles]
WdfCoInstaller01007.dll


[SourceDisksFiles]
WdfCoInstaller01007.dll = 1

[SourceDisksFiles.x86]
WdfCoInstaller01007.dll = 1

[SourceDisksFiles.amd64]
WdfCoInstaller01007.dll = 1


[CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000, "WdfCoInstaller01007.dll,WdfCoInstaller"


[USB_Install.NT.Wdf]
KmdfService    = iLokDrvr, iLokDrvr_wdfsect

[USB_Install.NTx86.Wdf]
KmdfService    = iLokDrvr, iLokDrvr_wdfsect

[USB_Install.NTamd64.Wdf]
KmdfService    = iLokDrvr, iLokDrvr_wdfsect

[iLokDrvr_wdfsect]
KmdfLibraryVersion = 1.0
