;*******************************************************************************
;*                                                                            **
;*                     I N T E L   P R O P R I E T A R Y                      **
;*                                                                            **
;*   COPYRIGHT (c) 2012-2015 BY INTEL CORPORATION. ALL RIGHTS RESERVED.  NO   **
;*   PART  OF  THIS  PROGRAM OR PUBLICATION MAY BE REPRODUCED, TRANSMITTED,   **
;*   TRANSCRIBED, STORED IN A RETRIEVAL  SYSTEM,  OR  TRANSLATED  INTO  ANY   **
;*   LANGUAGE OR COMPUTER LANGUAGE IN ANY FORM OR BY ANY MEANS, ELECTRONIC,   **
;*   MECHANICAL, MAGNETIC, OPTICAL, CHEMICAL, MANUAL, OR OTHERWISE, WITHOUT   **
;*   THE PRIOR WRITTEN PERMISSION OF :                                        **
;*                                                                            **
;*                             INTEL CORPORATION                              **
;*                                                                            **
;*                          2200 MISSION COLLEGE BLVD                         **
;*                                                                            **
;*                     SANTA CLARA, CALIFORNIA 95052-8119                     **
;*                                                                            **
;*******************************************************************************

[Version]
Signature="$WINDOWS NT$"
Class=System
ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider=%ManufacturerName%
DriverVer = 12/30/2020,3.1.0.4466
PnpLockDown=1
CatalogFile=ISH_BusDriver.cat


[DestinationDirs]
DefaultDestDir = 13

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

[SourceDisksFiles.amd64]
ISH_BusDriver.sys  = 1,.

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

[Manufacturer]
%StdMfg%=Intel, NTamd64.10.0

[Intel.NTamd64.10.0]
; ----- Win 10 ; x64 -------
%DynamicBus.DeviceDesc%=Bus_DDI, {DEA5AE2A-D1FD-438A-A091-CBD484788435}\ISH_BUS

[Bus_DDI]
CopyFiles=Drivers_Dir

[Bus_DDI.HW]
AddReg=BUS_NT_AddReg.AddReg

[BUS_NT_AddReg.AddReg]                            
HKR,,DeviceCharacteristics,0x10001,0x0100         ; Use same security checks on relative opens
HKR,,Security,,"D:P(A;;GA;;;BA)(A;;GA;;;SY)"      ; Allow generic-all access to Built-in administrators and Local system 

[Drivers_Dir]
ISH_BusDriver.sys

;-------------- Service installation
[Bus_DDI.Services]
AddService = ISH_BusDriver,%SPSVCINST_ASSOCSERVICE%, ISH_BUS_Service_Inst, ISH_BUS_EventLog_Inst

; -------------- ISH_BusDriver driver install sections
[ISH_BUS_Service_Inst]
DisplayName    = %ISH_BusDriver.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %13%\ISH_BusDriver.sys
LoadOrderGroup = Extended Base

;-----------------------------------------------------------------------------
; Common base for all drivers for Eventlog & ETW Event Log
;
[ISH_BUS_EventLog_Inst]
AddReg = ISH_BUS_EventLog.AddReg, ISH_BUS_ETW.AddReg

[ISH_BUS_EventLog.AddReg]
HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\system32\IoLogMsg.dll;%%SystemRoot%%\system32\drivers\ISH_BusDriver.sys"
HKR, , TypesSupported,   0x00010001, 7

[ISH_BUS_ETW.AddReg]


;--------- Strings Section ---------------------------------------------------

[Strings]
ETW_ISH_BUS_PROVIER = "SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{C28D3B7F-9B3C-426D-8842-A1DD4DD57138}"

SPSVCINST_ASSOCSERVICE= 0x00000002
ManufacturerName="Intel" ;
StdMfg = "(Standard system devices)"
DiskId1 = " Integrated Sensor Solution Bus Installation Disk #1"
DynamicBus.DeviceDesc = "ISS Dynamic Bus Enumerator"
ISH_BusDriver.SVCDESC = " ISS Bus Enumerator"
