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

[Version]
Signature="$WINDOWS NT$"
Class=WFPCALLOUTS
ClassGuid={57465043-616C-6C6F-7574-5F636C617373}
Provider=%ManufacturerName%
CatalogFile=BdNet.cat
DriverVer = 11/21/2024,1.0.2411.1743
PnpLockdown=1

[DestinationDirs]
DefaultDestDir = 12			; System32\Drivers

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

[SourceDisksFiles]
BdNet.sys = 1,,

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

[Manufacturer]
%ManufacturerName% = Standard, NTamd64

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

[Install.NTamd64]
CopyFiles = DriverFiles

[DriverFiles]
BdNet.sys

; Service installation
[Install.NTamd64.Services]
AddService = %DriverServiceName%, 0x1, DriverService
AddService = ,2

[DriverService]
DisplayName    = %DriverServiceDesc%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 0               ; SERVICE_BOOT_START
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\BdNet.sys
LoadOrderGroup = NDIS
Dependencies   = TCPIP           ; TCPIP.sys

;*****************************************
; Class section
;*****************************************

[ClassInstall32]
Addreg = DriverClassReg

[DriverClassReg]
HKR,,,0,%DriverClassName%
HKR,,Icon,,-5
HKR,,DeviceCharacteristics,0x10001,0x100                 ; FILE_DEVICE_SECURE_OPEN, FILE_DEVICE_SECURE_OPEN
HKR,,Security,,"D:P(A;;GA;;;SY)(A;;GA;;;BA)(A;;GA;;;LS)" ; Permit Generic All access to System, Built-in Admin, and Local System.


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

[Uninstall.NTamd64]
DelFiles=DriverFiles

[Uninstall.NTamd64.Services]
DelService=%DriverServiceName%

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

[Strings]
ManufacturerName="Avira Operations GmbH"
DiskName = "Installation Disk"
DriverClassName="Network Callout Driver"
DriverServiceName = "BdNet"
DriverServiceDesc = "Avira Network Filter"
