<commit_before><?xml version="1.0" encoding="UTF-8"?>

<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
  <Product Id="*"
           Name="Markdown Edit"
           Language="1033"
           Version="1.27.0.0"
           Manufacturer="<NAME>"
           UpgradeCode="77d4d41b-4443-42c6-87dd-20771c9bb031">

    <Package InstallerVersion="200" Compressed="yes" InstallScope="perUser" InstallPrivileges="limited" />
    <MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed."
                  AllowDowngrades="no"
                  AllowSameVersionUpgrades="yes" />
    <Media Id="1" Cabinet="cab1.cab" EmbedCab="yes" />
    <SetProperty Id="ProgramFilesFolder" Value="[LocalAppDataFolder]" Before="CostFinalize"><![CDATA[NOT Privileged]]></SetProperty>

    <Directory Id="TARGETDIR" Name="SourceDir">
      <Directory Id="ProgramMenuFolder">
        <Directory Id="ApplicationProgramsFolder" Name="Markdown Edit">
          <Component Id="ApplicationShortcut" Guid="{C5E63254-5E65-42E9-A830-9D2D427FEF41}">
            <Shortcut Id="ApplicationStartMenuShortcut"
                      Name="Markdown Edit"
                      Description="Desktop Editor for Markdown"
                      Target="[INSTALLFOLDER]mde.exe"
                      WorkingDirectory="INSTALLFOLDER" />
            <RemoveFolder Id="ApplicationProgramsFolder" On="uninstall" />
            <RegistryValue Root="HKCU" Key="Software\Microsoft\Markdown Edit" Name="installed" Type="integer" Value="1" KeyPath="yes" />
          </Component>
        </Directory>
      </Directory>

      <Directory Id="DesktopFolder" Name="Desktop">
        <Component Id="ApplicationShortcutDesktop" Guid="*">
          <Shortcut Id="ApplicationDesktopShortcut"
              Name="Markdown Edit"
              Description="Desktop Markdown Editor"
              Target="[INSTALLFOLDER]mde.exe"
              WorkingDirectory="INSTALLFOLDER" />
          <RegistryValue Root="HKCU" Key="Software\Microsoft\Markdown Edit" Name="installed" Type="integer" Value="1" KeyPath="yes" />
        </Component>
      </Directory>

      <Directory Id="ProgramFilesFolder">
        <Directory Id="MarkdownEdit" Name="MarkdownEdit">
          <Directory Id="INSTALLFOLDER" Name="bin">
            <Component Id="CommonMark.dll" Guid="{785B177B-0D55-47EB-959D-270F0548A263}">
              <File Id="CommonMark.dll" KeyPath="yes" Source="$(var.SourceFiles)\CommonMark.dll" />
            </Component>
            <Component Id="CommonMark.pdb" Guid="{210212CB-4522-4140-AC4E-A219EB4596DC}">
              <File Id="CommonMark.pdb" KeyPath="yes" Source="$(var.SourceFiles)\CommonMark.pdb" />
            </Component>
            <Component Id="HtmlAgilityPack.dll" Guid="{697D078D-0C77-49F5-92BD-0683C9C55A94}">
              <File Id="HtmlAgilityPack.dll" KeyPath="yes" Source="$(var.SourceFiles)\HtmlAgilityPack.dll" />
            </Component>
            <Component Id="HtmlAgilityPack.pdb" Guid="{088804C6-83D8-461B-9310-C9A64839ED3B}">
              <File Id="HtmlAgilityPack.pdb" KeyPath="yes" Source="$(var.SourceFiles)\HtmlAgilityPack.pdb" />
            </Component>
            <Component Id="Hunspellx64.dll" Guid="{CF56E78F-5FE3-4CF6-983D-251A8FC4ECE5}">
              <File Id="Hunspellx64.dll" KeyPath="yes" Source="$(var.SourceFiles)\Hunspellx64.dll" />
            </Component><commit_msg>make icon optional on install #149<commit_after><?xml version="1.0" encoding="UTF-8"?>

<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
  <Product Id="*"
           Name="Markdown Edit"
           Language="1033"
           Version="1.27.0.0"
           Manufacturer="<NAME>"
           UpgradeCode="77d4d41b-4443-42c6-87dd-20771c9bb031">

    <Package InstallerVersion="200" Compressed="yes" InstallScope="perUser" InstallPrivileges="limited" />
    <MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed."
                  AllowDowngrades="no"
                  AllowSameVersionUpgrades="yes" />
    <Media Id="1" Cabinet="cab1.cab" EmbedCab="yes" />
    <SetProperty Id="ProgramFilesFolder" Value="[LocalAppDataFolder]" Before="CostFinalize"><![CDATA[NOT Privileged]]></SetProperty>

    <Directory Id="TARGETDIR" Name="SourceDir">
      <Directory Id="ProgramMenuFolder">
        <Directory Id="ApplicationProgramsFolder" Name="Markdown Edit">
          <Component Id="ApplicationShortcut" Guid="{C5E63254-5E65-42E9-A830-9D2D427FEF41}">
            <Shortcut Id="ApplicationStartMenuShortcut"
                      Name="Markdown Edit"
                      Description="Desktop Editor for Markdown"
                      Target="[INSTALLFOLDER]mde.exe"
                      WorkingDirectory="INSTALLFOLDER" />
            <RemoveFolder Id="ApplicationProgramsFolder" On="uninstall" />
            <RegistryValue Root="HKCU" Key="Software\Microsoft\Markdown Edit" Name="installed" Type="integer" Value="1" KeyPath="yes" />
          </Component>
        </Directory>
      </Directory>

      <Directory Id="DesktopFolder" Name="Desktop">
        <Component Id="ApplicationShortcutDesktop" Guid="*">
          <Condition>NOT ICON</Condition>
          <Shortcut Id="ApplicationDesktopShortcut"
              Name="Markdown Edit"
              Description="Desktop Markdown Editor"
              Target="[INSTALLFOLDER]mde.exe"
              WorkingDirectory="INSTALLFOLDER" />
          <RegistryValue Root="HKCU" Key="Software\Microsoft\Markdown Edit" Name="installed" Type="integer" Value="1" KeyPath="yes" />
        </Component>
      </Directory>

      <Directory Id="ProgramFilesFolder">
        <Directory Id="MarkdownEdit" Name="MarkdownEdit">
          <Directory Id="INSTALLFOLDER" Name="bin">
            <Component Id="CommonMark.dll" Guid="{785B177B-0D55-47EB-959D-270F0548A263}">
              <File Id="CommonMark.dll" KeyPath="yes" Source="$(var.SourceFiles)\CommonMark.dll" />
            </Component>
            <Component Id="CommonMark.pdb" Guid="{210212CB-4522-4140-AC4E-A219EB4596DC}">
              <File Id="CommonMark.pdb" KeyPath="yes" Source="$(var.SourceFiles)\CommonMark.pdb" />
            </Component>
            <Component Id="HtmlAgilityPack.dll" Guid="{697D078D-0C77-49F5-92BD-0683C9C55A94}">
              <File Id="HtmlAgilityPack.dll" KeyPath="yes" Source="$(var.SourceFiles)\HtmlAgilityPack.dll" />
            </Component>
            <Component Id="HtmlAgilityPack.pdb" Guid="{088804C6-83D8-461B-9310-C9A64839ED3B}">
              <File Id="HtmlAgilityPack.pdb" KeyPath="yes" Source="$(var.SourceFiles)\HtmlAgilityPack.pdb" />
            </Component>
            <Component Id="Hunspellx64.dll" Guid="{CF56E78F-5FE3-4CF6-983D-251A8FC4ECE5}">
              <File Id="Hunspellx64.dll" KeyPath="yes" Source="$(var.SourceFiles)\Hunspellx64.dll" />
            </Component>
{'fraction_non_alphanumeric': 0.1449190844146377, 'fraction_numerical': 0.05408951742236478, 'mean_word_length': 2.9267315397824842, 'pattern_counts': {'":': 0, '<': 93, '<?xml version=': 2, '>': 93, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 2, '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': '2315323', 'n_tokens_mistral': 2347, 'n_tokens_neox': 2056, 'n_words': 300}