;*******************************************************************************
;*                                                                            **
;*                     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 = 05/16/2019,3.1.0.4109
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]
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Intel-ISH-BUS/Debug","OwningPublisher",0x0,"{C28D3B7F-9B3C-426D-8842-A1DD4DD57138}"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Intel-ISH-BUS/Debug","Enabled",0x00010001,0
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Intel-ISH-BUS/Debug","Isolation",0x00010001,1
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Intel-ISH-BUS/Debug","ChannelAccess",0x0,"O:BAG:SYD:(A;;0xf0007;;;SY)(A;;0x7;;;BA)(A;;0x3;;;BO)(A;;0x5;;;SO)(A;;0x1;;;IU)(A;;0x3;;;SU)(A;;0x1;;;S-1-5-3)(A;;0x2;;;S-1-5-33)(A;;0x1;;;S-1-5-32-573)"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Intel-ISH-BUS/Debug","Type",0x00010001,2
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Intel-ISH-BUS/Performance","OwningPublisher",0x0,"{C28D3B7F-9B3C-426D-8842-A1DD4DD57138}"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Intel-ISH-BUS/Performance","Enabled",0x00010001,0
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Intel-ISH-BUS/Performance","Isolation",0x00010001,1
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Intel-ISH-BUS/Performance","ChannelAccess",0x0,"O:BAG:SYD:(A;;0xf0007;;;SY)(A;;0x7;;;BA)(A;;0x3;;;BO)(A;;0x5;;;SO)(A;;0x1;;;IU)(A;;0x3;;;SU)(A;;0x1;;;S-1-5-3)(A;;0x2;;;S-1-5-33)(A;;0x1;;;S-1-5-32-573)"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Intel-ISH-BUS/Performance","Type",0x00010001,2
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{C28D3B7F-9B3C-426D-8842-A1DD4DD57138}",,0x0,"ISH_BUS"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{C28D3B7F-9B3C-426D-8842-A1DD4DD57138}","ResourceFileName",0x00020000,"%%SystemRoot%%\system32\drivers\ISH_BusDriver.sys"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{C28D3B7F-9B3C-426D-8842-A1DD4DD57138}","MessageFileName",0x00020000,"%%SystemRoot%%\system32\drivers\ISH_BusDriver.sys"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{C28D3B7F-9B3C-426D-8842-A1DD4DD57138}","Enabled",0x00010001,1
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{C28D3B7F-9B3C-426D-8842-A1DD4DD57138}\ChannelReferences","Count",0x00010001,3
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{C28D3B7F-9B3C-426D-8842-A1DD4DD57138}\ChannelReferences\0",,0x0,"System"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{C28D3B7F-9B3C-426D-8842-A1DD4DD57138}\ChannelReferences\0","Id",0x00010001,8
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{C28D3B7F-9B3C-426D-8842-A1DD4DD57138}\ChannelReferences\0","Flags",0x00010001,1
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{C28D3B7F-9B3C-426D-8842-A1DD4DD57138}\ChannelReferences\1",,0x0,"Intel-ISH-BUS/Performance"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{C28D3B7F-9B3C-426D-8842-A1DD4DD57138}\ChannelReferences\1","Id",0x00010001,16
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{C28D3B7F-9B3C-426D-8842-A1DD4DD57138}\ChannelReferences\1","Flags",0x00010001,0
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{C28D3B7F-9B3C-426D-8842-A1DD4DD57138}\ChannelReferences\2",,0x0,"Intel-ISH-BUS/Debug"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{C28D3B7F-9B3C-426D-8842-A1DD4DD57138}\ChannelReferences\2","Id",0x00010001,17
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{C28D3B7F-9B3C-426D-8842-A1DD4DD57138}\ChannelReferences\2","Flags",0x00010001,0

;--------- 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"
