;_____________________________________________________________________________
;
; Sentry Driver
;_____________________________________________________________________________
;
; Copyright (c) 2005 - 2020 BullGuard Ltd.
; Copyright (c) 2000 - 2024 Avira Operations GmbH and its Licensors
;_____________________________________________________________________________
;

[Version]
Signature="$WINDOWS NT$"
Class = "ContentScreener"
ClassGuid = {3e3f0674-c83c-4558-bb26-9820e1eba5c5}
PnpLockdown = 1
Provider = %ManufacturerName%
CatalogFile = BdSentry.cat
DriverVer = 12/08/2024,3.0.2412.1247

[DestinationDirs]
DefaultDestDir = 12             ; System32\Drivers

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

[SourceDisksFiles]
BdSentry.sys = 1,,

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

[Manufacturer]
%ManufacturerName% = Standard, NTamd64

[Standard.NTamd64]
%ServiceName% = Install, NO_HWID

[Install.NTamd64]
CopyFiles = DriverFiles

[DriverFiles]
BdSentry.sys

; Service installation
[Install.NTamd64.Services]
AddService = BdSentry,, DriverService
AddService = ,2

[DriverService]
DisplayName    = %DriverServiceDesc%
Description    = %DriverServiceDesc%
Dependencies   = "FltMgr"
ServiceType    = 2               ; SERVICE_FILE_SYSTEM_DRIVER
StartType      = 1               ; 3=DEMAND, 2=AUTO, 1=SYSTEM, 0=BOOT
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\BdSentry.sys
LoadOrderGroup = "FSFilter Content Screener"
AddReg         = DriverRegistry

;-----------------------------------------
; Registry Modifications
;-----------------------------------------

[DriverRegistry]
HKR,"Instances","DefaultInstance",0x00000000,%DefaultInstance%
HKR,"Instances\"%Instance.Name%,"Altitude",0x00000000,%Instance.Altitude%
HKR,"Instances\"%Instance.Name%,"Flags",0x00010001,%Instance.Flags%
HKR,,"SupportedFeatures",0x00010001,%Instance.Features%
HKR,"Parameters","Flags",0x00010001,0x00000000


;*****************************************
; Uninstall Section
;*****************************************

[Uninstall.NTamd64]
DelFiles=DriverFiles

[Uninstall.NTamd64.Services]
DelService=BdSentry

;*****************************************
; Resources
;*****************************************

[Strings]
ManufacturerName        = "Avira Operations GmbH"
DriverServiceDesc       = "Avira Sentry Driver"
ServiceName             = "BdSentry"
DiskName                = "BdSentry Installation Disk"

; Instances specific information
DefaultInstance        = "BdSentryInstance"
Instance.Name          = "BdSentryInstance"
Instance.Altitude      = "266211"
Instance.Flags         = 0x0			; Allow all attachments
Instance.Features      = 0x00000008		; SUPPORTED_FS_FEATURES_BYPASS_IO
