<commit_before><?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
     xmlns:VSExtension="http://schemas.microsoft.com/wix/VSExtension">
    <Product Id="*" Name="Persimmon.VisualStudio.TestExplorer" Language="1033" Version="1.0.0.0" Manufacturer="persimmon-projects" UpgradeCode="bd297a94-3654-4aa2-9694-e872ac9f1618">
        <Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" />

        <PropertyRef Id="VS2013DEVENV"/>
        <PropertyRef Id="VS2015DEVENV"/>
        
        <Condition Message="Microsoft Visual Studio 2013 and/or 2015 is not installed. It is mandatory in order to install this product.">
            <![CDATA[Installed OR VS2013DEVENV OR VS2015DEVENV]]>
        </Condition>
        
        <MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
        <MediaTemplate EmbedCab="yes" />

        <Feature Id="ProductFeature" Title="Persimmon.VisualStudio.TestExplorer.Setup" Level="1">
            <ComponentGroupRef Id="ProductComponents" />
        </Feature>
    </Product>

    <Fragment>
        <Directory Id="TARGETDIR" Name="SourceDir">
            <Directory Id="ProgramFilesFolder">
                <Directory Id="INSTALLFOLDER" Name="Persimmon.VisualStudio.TestExplorer.Setup" />
            </Directory>
        </Directory>
    </Fragment>

    <Fragment>
        <ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER">
            <Component Id="C.Persimmon.VisualStudio.TestExplorer" Guid="DA36B40E-CF11-4314-B34F-9FA42B043096" Directory="INSTALLFOLDER">
                <VSExtension:VsixPackage File="F.Persimmon.VisualStudio.TestExplorer.vsix"
                                         PackageId="Persimmon.VisualStudio.TestExplorer.8022813b-6e6b-4973-864d-f5b53b2a3c23"
                                         Target="professional" TargetVersion="12.0" Vital="yes" Permanent="no"/>
                <File Id="F.Persimmon.VisualStudio.TestExplorer.vsix" Name="Persimmon.VisualStudio.TestExplorer.vsix"
                      Source="$(var.SolutionDir)\Persimmon.VisualStudio.TestExplorer\bin\$(var.Persimmon.VisualStudio.TestExplorer.Configuration)\Persimmon.VisualStudio.TestExplorer.vsix"/>
                <File Id="F.Persimmon.VisualStudio.TestRunner.dll" Name="Persimmon.VisualStudio.TestRunner.dll"
                      Source="$(var.SolutionDir)\Persimmon.VisualStudio.TestRunner\bin\$(var.Persimmon.VisualStudio.TestRunner.Configuration)\Persimmon.VisualStudio.TestRunner.dll"
                      KeyPath="yes" Assembly=".net"/>
            </Component>
        </ComponentGroup>
    </Fragment>
</Wix><commit_msg>WIP: Fix to install vsix properly when only VS2015 is installed.<commit_after><?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
     xmlns:VSExtension="http://schemas.microsoft.com/wix/VSExtension">
    <Product Id="*" Name="Persimmon.VisualStudio.TestExplorer" Language="1033" Version="1.0.0.0" Manufacturer="persimmon-projects" UpgradeCode="bd297a94-3654-4aa2-9694-e872ac9f1618">
        <Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" />

        <PropertyRef Id="VS2013DEVENV"/>
        <PropertyRef Id="VS2015DEVENV"/>
        
        <Condition Message="Microsoft Visual Studio 2013 and/or 2015 is not installed. It is mandatory in order to install this product.">
            <![CDATA[Installed OR VS2013DEVENV OR VS2015DEVENV]]>
        </Condition>
        
        <MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
        <MediaTemplate EmbedCab="yes" />

        <Feature Id="ProductFeature" Title="Persimmon.VisualStudio.TestExplorer.Setup" Level="1">
            <ComponentGroupRef Id="ProductComponents" />
        </Feature>
    </Product>

    <Fragment>
        <Directory Id="TARGETDIR" Name="SourceDir">
            <Directory Id="ProgramFilesFolder">
                <Directory Id="INSTALLFOLDER" Name="Persimmon.VisualStudio.TestExplorer.Setup" />
            </Directory>
        </Directory>
    </Fragment>

    <Fragment>
        <ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER">
            <Component Id="C.Persimmon.VisualStudio.TestExplorer.2013" Guid="DA36B40E-CF11-4314-B34F-9FA42B043096" Directory="INSTALLFOLDER">
                <Condition><![CDATA[VS2013DEVENV AND NOT VS2015DEVENV]]></Condition>
                <VSExtension:VsixPackage File="F.Persimmon.VisualStudio.TestExplorer.vsix"
                                         PackageId="Persimmon.VisualStudio.TestExplorer.8022813b-6e6b-4973-864d-f5b53b2a3c23"
                                         Target="professional" TargetVersion="12.0" Vital="yes" Permanent="no"/>
                <File Id="F.Persimmon.VisualStudio.TestExplorer.vsix" Name="Persimmon.VisualStudio.TestExplorer.vsix"
                      Source="$(var.SolutionDir)\Persimmon.VisualStudio.TestExplorer\bin\$(var.Persimmon.VisualStudio.TestExplorer.Configuration)\Persimmon.VisualStudio.TestExplorer.vsix"/>
                <File Id="F.Persimmon.VisualStudio.TestRunner.dll" Name="Persimmon.VisualStudio.TestRunner.dll"
                      Source="$(var.SolutionDir)\Persimmon.VisualStudio.TestRunner\bin\$(var.Persimmon.VisualStudio.TestRunner.Configuration)\Persimmon.VisualStudio.TestRunner.dll"
                      KeyPath="yes" Assembly=".net"/>
            </Component>
            <Component Id="C.Persimmon.VisualStudio.TestExplorer.2015" Guid="DA36B40E-CF11-4314-B34F-9FA42B043096" Directory="INSTALLFOLDER">
                <Condition><![CDATA[NOT VS2013DEVENV AND VS2015DEVENV]]>></Condition>
                <VSExtension:VsixPackage File="F.Persimmon.VisualStudio.TestExplorer.vsix"
                                         PackageId="Persimmon.VisualStudio.TestExplorer.8022813b-6e6b-4973-864d-f5b53b2a3c23"
                                         Target="professional" TargetVersion="14.0" Vital="yes" Permanent="no"/>
                <File Id="F.Persimmon.VisualStudio.TestExplorer.vsix" Name="Persimmon.VisualStudio.TestExplorer.vsix"
                      Source="$(var.SolutionDir)\Persimmon.VisualStudio.TestExplorer\bin\$(var.Persimmon.VisualStudio.TestExplorer.Configuration)\Persimmon.VisualStudio.TestExplorer.vsix"/>
                <File Id="F.Persimmon.VisualStudio.TestRunner.dll" Name="Persimmon.VisualStudio.TestRunner.dll"
                      Source="$(var.SolutionDir)\Persimmon.VisualStudio.TestRunner\bin\$(var.Persimmon.VisualStudio.TestRunner.Configuration)\Persimmon.VisualStudio.TestRunner.dll"
                      KeyPath="yes" Assembly=".net"/>
            </Component>
        </ComponentGroup>
    </Fragment>
</Wix>
{'fraction_non_alphanumeric': 0.12824314306893997, 'fraction_numerical': 0.04462564862861379, 'mean_word_length': 2.9775943396226414, 'pattern_counts': {'":': 0, '<': 78, '<?xml version=': 2, '>': 79, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2555089', 'n_tokens_mistral': 2279, 'n_tokens_neox': 1938, 'n_words': 251}