<commit_before><?xml version="1.0" encoding="utf-8"?>
<!--
Firefox Token Signing Plugin

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
-->

<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
  <Product Name="Firefox Token Signing Plugin" UpgradeCode="4e7f96ae-a8c9-45ae-bcf1-1fb64597df5b"
      Id="*" Language="1033" Version="$(var.VERSION)" Codepage="1251" Manufacturer="RIA">
    <Package Keywords="Installer" InstallerVersion="405" Compressed="yes"/>
    <MediaTemplate EmbedCab="yes" CompressionLevel="high"/>
    <Icon Id="Icon.ico" SourceFile="firefox-win/media/ID.ico"/>
    <Property Id="ARPPRODUCTICON" Value="Icon.ico"/>
    <MajorUpgrade AllowSameVersionUpgrades="yes" DowngradeErrorMessage=
      "A newer version of [ProductName] is already installed. If you are trying to downgrade, please uninstall the newer version first."/>
    <Condition Message="[ProductName] requires Windows 7 or higher.">
      <![CDATA[Installed OR (VersionNT >= 601)]]>
    </Condition>
    <UIRef Id="WixUI_Minimal" />

    <Directory Id="TARGETDIR" Name="SourceDir">
      <Directory Id='ProgramFilesFolder'>
        <Directory Id="APPLICATIONFOLDER" Name="Firefox Token Signing Plugin">
          <Component Id="Application" Guid="6d75cfe1-2ba2-4563-8e03-6036eef5d07b">
			<File Source="C:\OpenSSL-Win32\bin\libeay32.dll"/>
            <File Source="npesteid-firefox-plugin.dll"/>
            <RegistryValue Root='HKLM' Type='string' Value='[APPLICATIONFOLDER]npesteid-firefox-plugin.dll'
                Key='Software\MozillaPlugins\@RIA/esteid-firefox-plugin' Name="Path" Action="write"/>
          </Component>
        </Directory>
      </Directory>
    </Directory>

    <Feature Id="Install" Level="1" Title="Firefox Token Signing Plugin" Display="expand" ConfigurableDirectory="APPLICATIONFOLDER">
      <ComponentRef Id="Application"/>
    </Feature>
  </Product>
</Wix><commit_msg>64bit windows installer for firefox<commit_after><?xml version="1.0" encoding="utf-8"?>
<!--
Firefox Token Signing Plugin

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
-->

<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
  <Product Name="Firefox Token Signing Plugin" UpgradeCode="4e7f96ae-a8c9-45ae-bcf1-1fb64597df5b"
      Id="*" Language="1033" Version="$(var.VERSION)" Codepage="1251" Manufacturer="RIA">
    <Package Keywords="Installer" Platform="$(var.Platform)" InstallerVersion="405" Compressed="yes"/>
    <MediaTemplate EmbedCab="yes" CompressionLevel="high"/>
    <Icon Id="Icon.ico" SourceFile="firefox-win/media/ID.ico"/>
    <Property Id="ARPPRODUCTICON" Value="Icon.ico"/>
    <MajorUpgrade AllowSameVersionUpgrades="yes" DowngradeErrorMessage=
      "A newer version of [ProductName] is already installed. If you are trying to downgrade, please uninstall the newer version first."/>
    <Condition Message="[ProductName] requires Windows 7 or higher.">
      <![CDATA[Installed OR (VersionNT >= 601)]]>
    </Condition>
    <UIRef Id="WixUI_Minimal" />

    <Directory Id="TARGETDIR" Name="SourceDir">
		<Directory Id='ProgramFilesFolder'>
			<Directory Id="APPLICATIONFOLDER" Name="Firefox Token Signing Plugin">
				<Component Id="Application" Guid="6d75cfe1-2ba2-4563-8e03-6036eef5d07b">
					<File Source="C:\OpenSSL-Win32\bin\libeay32.dll"/>
					<File Source="x86\npesteid-firefox-plugin.dll"/>
					<RegistryValue Root='HKLM' Type='string' Value='[APPLICATIONFOLDER]npesteid-firefox-plugin.dll'
						Key='Software\MozillaPlugins\@RIA/esteid-firefox-plugin' Name="Path" Action="write"/>
				</Component>
			</Directory>
		</Directory>
		
		<!-- 64bit -->
		<?if $(var.Platform) = "x64" ?>
		<Directory Id='ProgramFiles64Folder'>
			<Directory Id="APPLICATION64FOLDER" Name="Firefox Token Signing Plugin">		
				<Component Id="Application64" Guid="{80676F1F-CCC6-4165-B54A-6263EC037548}" Win64="yes">	
					<File Source="C:\OpenSSL-Win64\bin\libeay32.dll" Id="libeay32_x64.dll"/>				
					<File Source="x64\npesteid-firefox-plugin.dll" Id="npesteid_firefox_plugin64.dll" KeyPath="yes" Name="npesteid-firefox-plugin64.dll"/>	
					<RegistryValue Root="HKLM" Key="Software\MozillaPlugins\@RIA/esteid-firefox-plugin" Name="Path"
                       Value="[APPLICATION64FOLDER]npesteid-firefox-plugin64.dll" Type="string" Action="write"/>					
				</Component>
			</Directory>
		</Directory>
		<?endif ?>
		
    </Directory>

    <Feature Id="Install" Level="1" Title="Firefox Token Signing Plugin" Display="expand" ConfigurableDirectory="APPLICATIONFOLDER">
		<ComponentRef Id="Application"/>
		<?if $(var.Platform) = "x64" ?>
			<ComponentRef Id="Application64"/>
		<?endif ?>
    </Feature>
  </Product>
</Wix>
{'fraction_non_alphanumeric': 0.12957983193277312, 'fraction_numerical': 0.035798319327731094, 'mean_word_length': 4.469669117647059, 'pattern_counts': {'":': 0, '<': 76, '<?xml version=': 2, '>': 78, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '1197028', 'n_tokens_mistral': 2041, 'n_tokens_neox': 1797, 'n_words': 503}