From 85c7ba0c7e6c0d95909c8c39838108673768a41b Mon Sep 17 00:00:00 2001 From: Felipe Zimmerle Date: Sun, 16 Nov 2014 10:06:43 -0800 Subject: [PATCH] IIS: Adds ssdeep/libfuzzy to msi installer fuzzy.dll should be installed by the ModSecurityIIS installer. --- iis/build_release.bat | 5 ++++- iis/installer.wxs | 10 ++++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/iis/build_release.bat b/iis/build_release.bat index 4b4e7fec..68bc5871 100644 --- a/iis/build_release.bat +++ b/iis/build_release.bat @@ -17,6 +17,7 @@ mkdir "%X86%" set VCARGS32="C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\vcvars32.bat" set VCARGS64="C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\x86_amd64\vcvarsx86_amd64.bat" +set SSDEEP_ARCH="x64" call build_dependencies.bat %VCARGS64% @if NOT (%ERRORLEVEL%) == (0) goto build_failed call build_modsecurity.bat %VCARGS64% @@ -33,8 +34,9 @@ copy "%OUTPUT_DIR%\ModSecurityIIS.dll" "%AMD64%" copy "%OUTPUT_DIR%\pcre.dll" "%AMD64%" copy "%OUTPUT_DIR%\zlib1.dll" "%AMD64%" copy "%OUTPUT_DIR%\yajl.dll" "%AMD64%" +copy "%OUTPUT_DIR%\fuzzy.dll" "%AMD64%" - +set SSDEEP_ARCH="x86" call build_dependencies.bat %VCARGS32% @if NOT (%ERRORLEVEL%) == (0) goto build_failed call build_modsecurity.bat %VCARGS32% @@ -51,6 +53,7 @@ copy "%OUTPUT_DIR%\ModSecurityIIS.dll" "%X86%" copy "%OUTPUT_DIR%\pcre.dll" "%X86%" copy "%OUTPUT_DIR%\zlib1.dll" "%X86%" copy "%OUTPUT_DIR%\yajl.dll" "%X86%" +copy "%OUTPUT_DIR%\fuzzy.dll" "%X86%" :: copy %OUTPUT_DIR%\Installer.exe %RELEASE_DIR% diff --git a/iis/installer.wxs b/iis/installer.wxs index ac3ccc80..0b98b35a 100644 --- a/iis/installer.wxs +++ b/iis/installer.wxs @@ -83,6 +83,9 @@ + + + @@ -323,9 +326,9 @@ - + - + @@ -366,6 +369,7 @@ + @@ -381,6 +385,7 @@ + @@ -407,6 +412,7 @@ +