<commit_before><?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
  <Fragment>
    <!-- The install path properties are set if the path is available. -->
    <Property Id="VSINSTALLPATH" Secure="yes">
      <RegistrySearch Id="VSInstallDir" Root="HKLM" Key="Software\Microsoft\VisualStudio\$(var.VSTargetVersion)\<KEY>" Name="ProductDir" Type="directory">
        <DirectorySearch Id="VSInstallDir_Common7_IDE" Path="Common7\IDE" AssignToProperty="yes" Depth="1">
          <FileSearch Id="VSInstallDir_Common7_IDE_msenv_dll" Name="msenv.dll"/>
        </DirectorySearch>
      </RegistrySearch>
    </Property>
    <!-- The executable path property is set if we can install into the
       specific version that is available. 
    -->
    <Property Id="DEVENV_PATH" Secure="yes">
      <DirectorySearch Id="DevEnvDir" Path="[VSINSTALLPATH]" Depth="1">
        <FileSearch Name="devenv.exe" />
      </DirectorySearch>
    </Property>
  </Fragment>
  
  <Fragment>
    <Property Id="WDINSTALLPATH" Secure="yes">
      <?ifdef IncludeWDExpress ?>
      <RegistrySearch Id="WDInstallDir" Root="HKLM" Key="Software\Microsoft\WDExpress\$(var.VSTargetVersion)" Name="InstallDir" Type="directory" />
      <?endif?>
    </Property>
    <!-- The executable path property is set if we can install into the
       specific version that is available. 
    -->
    <Property Id="WDEXPRESS_PATH" Secure="yes">
      <?ifdef IncludeWDExpress ?>
      <DirectorySearch Id="WDExpressDir" Path="[WDINSTALLPATH]" Depth="1">
        <FileSearch Name="WDExpress.exe" MinVersion="$(var.IncludeWDExpress)" />
      </DirectorySearch>
      <?endif?>
    </Property>
  </Fragment>
  
  <Fragment>
    <Property Id="VWDINSTALLPATH" Secure="yes">
      <?ifdef IncludeVWDExpress ?>
      <RegistrySearch Id="VWDInstallDir" Root="HKLM" Key="Software\Microsoft\VWDExpress\$(var.VSTargetVersion)" Name="InstallDir" Type="directory" />
      <?endif?>
    </Property>
    <!-- The executable path property is set if we can install into the
       specific version that is available. 
    -->
    <Property Id="VWDEXPRESS_PATH" Secure="yes">
      <?ifdef IncludeVWDExpress ?>
      <DirectorySearch Id="VWDExpressDir" Path="[VWDINSTALLPATH]" Depth="1">
        <FileSearch Name="VWDExpress.exe" MinVersion="$(var.IncludeVWDExpress)" />
      </DirectorySearch>
      <?endif?>
    </Property>
  </Fragment>

  <Fragment>
    <Property Id="VSLAUNCHER" >
      <DirectorySearch Path="[ProgramFilesFolder]\Common Files\Microsoft Shared\MSEnv" Depth="4" Id="FindVSLauncher">
        <FileSearch Name="VSLauncher.exe" />
      </DirectorySearch>
    </Property>
  </Fragment>

  <Fragment>
    <?if $(var.VSTargetVersion)='12.0' ?>
    <Property Id="VS_PRERELEASE" Secure="no">
      <DirectorySearch Id="VSDevEnvFilePathSearch" Path="[VSINSTALLPATH]">
        <FileSearch Id="VSDevEnvFileVersionSearch" Name="devenv.exe" MinVersion="172.16.31.10" MaxVersion="12.0.21004.0"/>
      </DirectorySearch>
    </Property>
    <?else ?>
    <Property Id="VS_PRERELEASE" Value="0" />
    <?endif ?>
  </Fragment>

</Wix><commit_msg>Fixes the VS prerelease launch condition.<commit_after><?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
  <Fragment>
    <!-- The install path properties are set if the path is available. -->
    <Property Id="VSINSTALLPATH" Secure="yes">
      <RegistrySearch Id="VSInstallDir" Root="HKLM" Key="Software\Microsoft\VisualStudio\$(var.VSTargetVersion)\<KEY>" Name="ProductDir" Type="directory">
        <DirectorySearch Id="VSInstallDir_Common7_IDE" Path="Common7\IDE" AssignToProperty="yes" Depth="1">
          <FileSearch Id="VSInstallDir_Common7_IDE_msenv_dll" Name="msenv.dll"/>
        </DirectorySearch>
      </RegistrySearch>
    </Property>
    <!-- The executable path property is set if we can install into the
       specific version that is available. 
    -->
    <Property Id="DEVENV_PATH" Secure="yes">
      <DirectorySearch Id="DevEnvDir" Path="[VSINSTALLPATH]" Depth="1">
        <FileSearch Name="devenv.exe" />
      </DirectorySearch>
    </Property>
  </Fragment>
  
  <Fragment>
    <Property Id="WDINSTALLPATH" Secure="yes">
      <?ifdef IncludeWDExpress ?>
      <RegistrySearch Id="WDInstallDir" Root="HKLM" Key="Software\Microsoft\WDExpress\$(var.VSTargetVersion)" Name="InstallDir" Type="directory" />
      <?endif?>
    </Property>
    <!-- The executable path property is set if we can install into the
       specific version that is available. 
    -->
    <Property Id="WDEXPRESS_PATH" Secure="yes">
      <?ifdef IncludeWDExpress ?>
      <DirectorySearch Id="WDExpressDir" Path="[WDINSTALLPATH]" Depth="1">
        <FileSearch Name="WDExpress.exe" MinVersion="$(var.IncludeWDExpress)" />
      </DirectorySearch>
      <?endif?>
    </Property>
  </Fragment>
  
  <Fragment>
    <Property Id="VWDINSTALLPATH" Secure="yes">
      <?ifdef IncludeVWDExpress ?>
      <RegistrySearch Id="VWDInstallDir" Root="HKLM" Key="Software\Microsoft\VWDExpress\$(var.VSTargetVersion)" Name="InstallDir" Type="directory" />
      <?endif?>
    </Property>
    <!-- The executable path property is set if we can install into the
       specific version that is available. 
    -->
    <Property Id="VWDEXPRESS_PATH" Secure="yes">
      <?ifdef IncludeVWDExpress ?>
      <DirectorySearch Id="VWDExpressDir" Path="[VWDINSTALLPATH]" Depth="1">
        <FileSearch Name="VWDExpress.exe" MinVersion="$(var.IncludeVWDExpress)" />
      </DirectorySearch>
      <?endif?>
    </Property>
  </Fragment>

  <Fragment>
    <Property Id="VSLAUNCHER" >
      <DirectorySearch Path="[ProgramFilesFolder]\Common Files\Microsoft Shared\MSEnv" Depth="4" Id="FindVSLauncher">
        <FileSearch Name="VSLauncher.exe" />
      </DirectorySearch>
    </Property>
  </Fragment>

  <Fragment>
    <Property Id="VS_PRERELEASE" Secure="no">
      <?if "$(var.VSTargetVersion)"="12.0" ?>
      <DirectorySearch Id="VSDevEnvFilePathSearch" Path="[VSINSTALLPATH]">
        <FileSearch Id="VSDevEnvFileVersionSearch" Name="devenv.exe" MinVersion="172.16.31.10" MaxVersion="12.0.21004.0"/>
      </DirectorySearch>
      <?endif ?>
    </Property>
  </Fragment>

</Wix>
{'fraction_non_alphanumeric': 0.15406790518898142, 'fraction_numerical': 0.011691223574631647, 'mean_word_length': 3.6744011976047903, 'pattern_counts': {'":': 0, '<': 137, '<?xml version=': 2, '>': 137, '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': '6856117', 'n_tokens_mistral': 1988, 'n_tokens_neox': 1868, 'n_words': 394}