;*******************************************************************************
;*                                                                            **
;*                     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=08/11/2016,3.1.0.3360
CatalogFile=ISH_BusDriver.cat


[DestinationDirs]
DefaultDestDir = 12

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

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

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

[Manufacturer]
%StdMfg%=Intel, NTamd64.6.1, NTamd64.6.2, NTamd64.6.3, NTamd64.10.0

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

[Intel.NTamd64.6.2]
; ----- Win 8 ; x64 -------

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

[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_BusDriver_Service_Inst, EventLog_Inst

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

;-----------------------------------------------------------------------------
; Common base for all drivers for Eventlog and TextModeFlags
;
[EventLog_Inst]
AddReg = AddEventLog.reg

[AddEventLog.reg]
HKR, , EventMessageFile, 0x00020000, %EventLogMessageDllPath%      ;path to the sys file to get the description strings from
HKR, , TypesSupported,   0x00010001, 7									 ;for drivers, typesSupported should be 7

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

[Strings]
EventLogMessageDllPath   = "%SystemRoot%\System32\netevent.dll;%SystemRoot%\System32\drivers\ISH_BusDriver.sys"

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"
