Add event message resource for IIS and update build/installation

- Added ModSecurityIISMessage.mc message resource file for event source metadata
- Updated Makefile.win to compile .mc to .res resource file and link into ModSecurityIIS.dll
- Modified installer.wxs to register event source pointing to ModSecurityIIS.dll
This commit is contained in:
A13501350
2025-08-28 23:46:26 +08:00
parent 18cae5003a
commit 0d99f076b0
3 changed files with 24 additions and 2 deletions

View File

@@ -402,6 +402,9 @@
Source="Release\amd64\zlib1.dll" />
<File Id="_64_FUZZY" Name="fuzzy.dll"
Source="Release\amd64\fuzzy.dll" />
<util:EventSource Name="ModSecurity" Log="Application"
EventMessageFile="[inetsrv64]ModSecurityIIS.dll"
KeyPath="yes" />
</Component> </DirectoryRef> <DirectoryRef
Id="inetsrv32"> <Component Id="ModSec32" DiskId="1"
Guid="514A81F0-2413-42EF-B19F-E2613125ECE7"
@@ -480,6 +483,9 @@
Source="Release\x86\zlib1.dll" /> <File
Id="_32_FUZZY" Name="fuzzy.dll"
Source="Release\x86\fuzzy.dll" />
<util:EventSource Name="ModSecurity" Log="Application"
EventMessageFile="[inetsrv32]ModSecurityIIS.dll"
KeyPath="yes" />
</Component> </DirectoryRef> <DirectoryRef
Id="SystemFolderConfigSchema32"> <Component
Id="ConfigSchema32"