;
; esmdrv.inf
;

[Version]
Signature="$WINDOWS NT$"
Class=Rising
ClassGuid={00806FC6-FEF8-4a76-AD9A-CE02AFDFD452}
Provider=%ProviderName%
DriverVer = 03/13/2019,14.47.51.601
CatalogFile=esmdrv.cat

[DestinationDirs]
DefaultDestDir = 12

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

[ClassInstall32]
Addreg=RisingClassReg     

[RisingClassReg]
HKR,,,0,%ClassName%
HKR,,Icon,,-5
HKR,,DeviceCharacteristics,0x10001,0x100     ;Use same security checks on relative opens
HKR,,Security,,"D:P(A;;GA;;;SY)(A;;GA;;;BA)" ;Allow generic all access to system and built-in Admin. 
                                             ;This one overrides the security set by the driver

;*****************************************
; Rising Device  Install Section
;*****************************************

[Manufacturer]
%StdMfg%=Standard,NTx86,NTamd64

;[Standard]
; DisplayName       		Section           DeviceId
; -----------       		-------           --------
;%RisingDeviceDesc%=Rising_Device, {00806FC6-FEF8-4a76-AD9A-CE02AFDFD452}\Rising

[Standard.NTx86]
; DisplayName       		Section           DeviceId
; -----------       		-------           --------
%RisingDeviceDesc%=Rising_Device, {00806FC6-FEF8-4a76-AD9A-CE02AFDFD452}\Rising

[Standard.NTamd64]
; DisplayName       		Section           DeviceId
; -----------       		-------           --------
%RisingDeviceDesc%=Rising_Device, {00806FC6-FEF8-4a76-AD9A-CE02AFDFD452}\Rising

[Rising_Device.NT]
CopyFiles=Rising_Device.NT.Copy

[Rising_Device.NT.Copy]
esmdrv.sys

;-------------- Service installation

[Rising_Device.NT.Services]
AddService = %RisingSvcName%,0x00000002, Rising_Service_Inst

[Rising_Service_Inst]
DisplayName    = %RisingSvcDesc%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_BOOT_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\esmdrv.sys
LoadOrderGroup = Extended Base


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

[SourceDisksFiles]
esmdrv.sys = 1,,

[Strings]
ProviderName 		= "Rising"
StdMfg 				= "(Standard system devices)"
ClassName 			= "Rising"
DiskId1 			= "Rising Device Installation Disk #1"
RisingDeviceDesc 	= "Rising (No Class Installer)"
RisingSvcName 		= "esmdrv"
RisingSvcDesc 		= "Rising ESMWFP Driver"
