<commit_before><?xml version="1.0" encoding="utf-8"?>
<!--
    # This comment is generated by WixEdit, the specific commandline
    # arguments for the WiX Toolset are stored here.

    candleArgs: -nologo "<projectfile>" -out "<projectname>.wixobj" -ext WixUtilExtension -ext WixUIExtension -arch x64
    lightArgs: 
-->
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
    <Product Id="22B04FDB-9BAB-46B0-87B8-A39544ECECD3" Name="ModSecurity IIS" Language="1033" Version="2.8.0" Manufacturer="ModSecurity" UpgradeCode="82F09489-1678-4C38-ADCB-08C3757653DB">
        <Package Description="ModSecurityISS" Comments="none" InstallerVersion="405" Compressed="yes" InstallPrivileges="elevated" InstallScope="perMachine" />
        <?define ProductName = "ModSecuirty IIS" ?>
        <?if $(sys.BUILDARCH) = x64 ?>
        <?define Win64 = "yes" ?>
        <?define PlatformProgramFilesFolder = "ProgramFiles64Folder" ?>
        <?define ConfigFile = "[inetsrv64]Config\applicationHost.config" ?>
        <Property Id="IIS_SETUP">
            <RegistrySearch Id="ConfigureIISRegistrySearch" Type="raw" Root="HKLM" Key="SOFTWARE\ModSecurity\ModSecurity" Name="ModSecurityConfigureIIS" Win64="yes" />
        </Property>
        <?else ?>
        <?define Win64 = "no" ?>
        <?define PlatformProgramFilesFolder = "ProgramFilesFolder" ?>
        <?define ConfigFile = "[inetsrv32]Config\applicationHost.config" ?>
        <Property Id="IIS_SETUP">
            <RegistrySearch Id="ConfigureIISRegistrySearch" Type="raw" Root="HKLM" Key="SOFTWARE\ModSecurity\ModSecurity" Name="ModSecurityConfigureIIS" Win64="no" />
        </Property>
        <?endif ?>
        <Property Id="IIS">
            <RegistrySearch Id="IISInstalledVersion" Root="HKLM" Key="SOFTWARE\Microsoft\InetStp" Type="raw" Name="MajorVersion" />
        </Property>
        <Property Id="FILEEXISTS" Secure="yes">
            <DirectorySearch Id="CheckFileDir1" Path="C:\Windows\System32\inetsrv" Depth="0">
                <FileSearch Id="CheckFile1" Name="ModSecurityIIS.dll" />
            </DirectorySearch>
            <DirectorySearch Id="CheckFileDir2" Path="C:\Windows\System32\inetsrv" Depth="0">
                <FileSearch Id="CheckFile2" Name="libapr-1.dll" />
            </DirectorySearch>
            <DirectorySearch Id="CheckFileDir3" Path="C:\Windows\System32\inetsrv" Depth="0">
                <FileSearch Id="CheckFile3" Name="libapriconv-1.dll" />
            </DirectorySearch>
            <DirectorySearch Id="CheckFileDir4" Path="C:\Windows\System32\inetsrv" Depth="0">
                <FileSearch Id="CheckFile4" Name="libaprutil-1.dll" />
            </DirectorySearch>
            <DirectorySearch Id="CheckFileDir5" Path="C:\Windows\System32\inetsrv" Depth="0">
                <FileSearch Id="CheckFile5" Name="libcurl.dll" />
            </DirectorySearch>
            <DirectorySearch Id="CheckFileDir6" Path="C:\Windows\System32\inetsrv" Depth="0">
                <FileSearch Id="CheckFile6" Name="libxml2.dll" />
            </DirectorySearch>
            <DirectorySearch Id="CheckFileDir7" Path="C:\Windows\System32\inetsrv" Depth="0">
                <FileSearch Id="CheckFile7" Name="lua5.1.dll" />
            </DirectorySearch>
            <DirectorySearch Id="CheckFileDir8" Path="C:\Windows\System32\inetsrv" Depth="0">
                <FileSearch Id="CheckFile8" Name="pcre.dll" />
            </DirectorySearch>
            <DirectorySearch Id="CheckFileDir9" Path="C:\Windows\System32\inetsrv" Depth="0">
                <FileSearch Id="CheckFile9" Name="zlib1.dll" />
            </DirectorySearch>
            <DirectorySearch Id="CheckFileDir10" Path="C:\Windows\SysWOW64\inetsrv" Depth="0">
                <FileSearch Id="CheckFile10" Name="ModSecurityIIS.dll" />
            </DirectorySearch>
            <DirectorySearch Id="CheckFileDir11" Path="C:\Windows\System32\inetsrv" Depth="0">
                <FileSearch Id="CheckFile11" Name="libapr-1.dll" />
            </DirectorySearch>
            <DirectorySearch Id="CheckFileDir12" Path="C:\Windows\System32\inetsrv" Depth="0">
                <FileSearch Id="CheckFile12" Name="libapriconv-1.dll" />
            </DirectorySearch>
            <DirectorySearch Id="CheckFileDir13" Path="C:\Windows\System32\inetsrv" Depth="0">
                <FileSearch Id="CheckFile13" Name="libaprutil-1.dll" />
            </DirectorySearch>
            <DirectorySearch Id="CheckFileDir14" Path="C:\Windows\System32\inetsrv" Depth="0">
                <FileSearch Id="CheckFile14" Name="libcurl.dll" />
            </DirectorySearch>
            <DirectorySearch Id="CheckFileDir15" Path="C:\Windows\System32\inetsrv" Depth="0">
                <FileSearch Id="CheckFile15" Name="libxml2.dll" />
            </DirectorySearch>
            <DirectorySearch Id="CheckFileDir16" Path="C:\Windows\System32\inetsrv" Depth="0">
                <FileSearch Id="CheckFile16" Name="lua5.1.dll" />
            </DirectorySearch>
            <DirectorySearch Id="CheckFileDir17" Path="C:\Windows\System32\inetsrv" Depth="0">
                <FileSearch Id="CheckFile17" Name="pcre.dll" />
            </DirectorySearch>
            <DirectorySearch Id="CheckFileDir18" Path="C:\Windows\System32\inetsrv" Depth="0">
                <FileSearch Id="CheckFile18" Name="zlib1.dll" />
            </DirectorySearch>
        </Property>
        <Property Id="WWWROOT">
            <RegistrySearch Id="FindInetPubFolder" Root="HKLM" Key="SOFTWARE\Microsoft\InetStp" Name="PathWWWRoot" Type="directory" />
        </Property>
        <Property Id="MSIUSEREALADMINDETECTION" Value="1" />
        <Condition Message="This setup requires IIS 6.0, 7.0 or 8.0 is installed."><![CDATA[(IIS="#7") OR (IIS="#6") OR (IIS="#8")]]></Condition><commit_msg>Fix the compatible IIS versions<commit_after><?xml version="1.0" encoding="utf-8"?>
<!--
    # This comment is generated by WixEdit, the specific commandline
    # arguments for the WiX Toolset are stored here.

    candleArgs: -nologo "<projectfile>" -out "<projectname>.wixobj" -ext WixUtilExtension -ext WixUIExtension -arch x64
    lightArgs: 
-->
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
    <Product Id="22B04FDB-9BAB-46B0-87B8-A39544ECECD3" Name="ModSecurity IIS" Language="1033" Version="2.8.0" Manufacturer="ModSecurity" UpgradeCode="82F09489-1678-4C38-ADCB-08C3757653DB">
        <Package Description="ModSecurityISS" Comments="none" InstallerVersion="405" Compressed="yes" InstallPrivileges="elevated" InstallScope="perMachine" />
        <?define ProductName = "ModSecuirty IIS" ?>
        <?if $(sys.BUILDARCH) = x64 ?>
        <?define Win64 = "yes" ?>
        <?define PlatformProgramFilesFolder = "ProgramFiles64Folder" ?>
        <?define ConfigFile = "[inetsrv64]Config\applicationHost.config" ?>
        <Property Id="IIS_SETUP">
            <RegistrySearch Id="ConfigureIISRegistrySearch" Type="raw" Root="HKLM" Key="SOFTWARE\ModSecurity\ModSecurity" Name="ModSecurityConfigureIIS" Win64="yes" />
        </Property>
        <?else ?>
        <?define Win64 = "no" ?>
        <?define PlatformProgramFilesFolder = "ProgramFilesFolder" ?>
        <?define ConfigFile = "[inetsrv32]Config\applicationHost.config" ?>
        <Property Id="IIS_SETUP">
            <RegistrySearch Id="ConfigureIISRegistrySearch" Type="raw" Root="HKLM" Key="SOFTWARE\ModSecurity\ModSecurity" Name="ModSecurityConfigureIIS" Win64="no" />
        </Property>
        <?endif ?>
        <Property Id="IIS">
            <RegistrySearch Id="IISInstalledVersion" Root="HKLM" Key="SOFTWARE\Microsoft\InetStp" Type="raw" Name="MajorVersion" />
        </Property>
        <Property Id="FILEEXISTS" Secure="yes">
            <DirectorySearch Id="CheckFileDir1" Path="C:\Windows\System32\inetsrv" Depth="0">
                <FileSearch Id="CheckFile1" Name="ModSecurityIIS.dll" />
            </DirectorySearch>
            <DirectorySearch Id="CheckFileDir2" Path="C:\Windows\System32\inetsrv" Depth="0">
                <FileSearch Id="CheckFile2" Name="libapr-1.dll" />
            </DirectorySearch>
            <DirectorySearch Id="CheckFileDir3" Path="C:\Windows\System32\inetsrv" Depth="0">
                <FileSearch Id="CheckFile3" Name="libapriconv-1.dll" />
            </DirectorySearch>
            <DirectorySearch Id="CheckFileDir4" Path="C:\Windows\System32\inetsrv" Depth="0">
                <FileSearch Id="CheckFile4" Name="libaprutil-1.dll" />
            </DirectorySearch>
            <DirectorySearch Id="CheckFileDir5" Path="C:\Windows\System32\inetsrv" Depth="0">
                <FileSearch Id="CheckFile5" Name="libcurl.dll" />
            </DirectorySearch>
            <DirectorySearch Id="CheckFileDir6" Path="C:\Windows\System32\inetsrv" Depth="0">
                <FileSearch Id="CheckFile6" Name="libxml2.dll" />
            </DirectorySearch>
            <DirectorySearch Id="CheckFileDir7" Path="C:\Windows\System32\inetsrv" Depth="0">
                <FileSearch Id="CheckFile7" Name="lua5.1.dll" />
            </DirectorySearch>
            <DirectorySearch Id="CheckFileDir8" Path="C:\Windows\System32\inetsrv" Depth="0">
                <FileSearch Id="CheckFile8" Name="pcre.dll" />
            </DirectorySearch>
            <DirectorySearch Id="CheckFileDir9" Path="C:\Windows\System32\inetsrv" Depth="0">
                <FileSearch Id="CheckFile9" Name="zlib1.dll" />
            </DirectorySearch>
            <DirectorySearch Id="CheckFileDir10" Path="C:\Windows\SysWOW64\inetsrv" Depth="0">
                <FileSearch Id="CheckFile10" Name="ModSecurityIIS.dll" />
            </DirectorySearch>
            <DirectorySearch Id="CheckFileDir11" Path="C:\Windows\System32\inetsrv" Depth="0">
                <FileSearch Id="CheckFile11" Name="libapr-1.dll" />
            </DirectorySearch>
            <DirectorySearch Id="CheckFileDir12" Path="C:\Windows\System32\inetsrv" Depth="0">
                <FileSearch Id="CheckFile12" Name="libapriconv-1.dll" />
            </DirectorySearch>
            <DirectorySearch Id="CheckFileDir13" Path="C:\Windows\System32\inetsrv" Depth="0">
                <FileSearch Id="CheckFile13" Name="libaprutil-1.dll" />
            </DirectorySearch>
            <DirectorySearch Id="CheckFileDir14" Path="C:\Windows\System32\inetsrv" Depth="0">
                <FileSearch Id="CheckFile14" Name="libcurl.dll" />
            </DirectorySearch>
            <DirectorySearch Id="CheckFileDir15" Path="C:\Windows\System32\inetsrv" Depth="0">
                <FileSearch Id="CheckFile15" Name="libxml2.dll" />
            </DirectorySearch>
            <DirectorySearch Id="CheckFileDir16" Path="C:\Windows\System32\inetsrv" Depth="0">
                <FileSearch Id="CheckFile16" Name="lua5.1.dll" />
            </DirectorySearch>
            <DirectorySearch Id="CheckFileDir17" Path="C:\Windows\System32\inetsrv" Depth="0">
                <FileSearch Id="CheckFile17" Name="pcre.dll" />
            </DirectorySearch>
            <DirectorySearch Id="CheckFileDir18" Path="C:\Windows\System32\inetsrv" Depth="0">
                <FileSearch Id="CheckFile18" Name="zlib1.dll" />
            </DirectorySearch>
        </Property>
        <Property Id="WWWROOT">
            <RegistrySearch Id="FindInetPubFolder" Root="HKLM" Key="SOFTWARE\Microsoft\InetStp" Name="PathWWWRoot" Type="directory" />
        </Property>
        <Property Id="MSIUSEREALADMINDETECTION" Value="1" />
        <Condition Message="This setup requires IIS 7.0 or 8.0."><![CDATA[(IIS="#7") OR (IIS="#8")]]></Condition>
{'fraction_non_alphanumeric': 0.14967499144714336, 'fraction_numerical': 0.03515224084844338, 'mean_word_length': 2.9490037149611616, 'pattern_counts': {'":': 0, '<': 181, '<?xml version=': 2, '>': 181, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 10}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1952968', 'n_tokens_mistral': 3775, 'n_tokens_neox': 3520, 'n_words': 560}