<commit_before>﻿<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">

  <!-- MSI installs on Win8 and above -->
  <?define MinOSVersionSupported = "VersionNT > 601" ?>

  <!-- The URL for add/remove programs -->
  <!-- TBD:Point to the actual release -->
  <?define InfoURL="https://github.com/PowerShell/PowerShell" ?>

  <?define ProductName = "$(env.ProductName)" ?>
  <?define ProductGuid = "$(env.ProductGuid)" ?>
  <?define ProductVersion = "$(env.ProductVersion)" ?>
  <?define ProductVersionWithName = "$(var.ProductName)_$(var.ProductVersion)"?>

  <!-- Generate Your Own GUID for both ID and UpgradeCode attributes. -->
  <!-- Note:  UpgradeCode GUID MUST REMAIN SAME THROUGHOUT ALL VERSIONS -->
  <!-- Otherwise, updates won’t occur -->
  <Product Id="$(var.ProductGuid)" Name="$(var.ProductVersionWithName)" Language="1033" Version="$(var.ProductVersion)" Manufacturer="Microsoft Corporation" UpgradeCode="{f7ba3e58-0be8-443b-ac91-f99dd1e7bd3b}">
    <!-- Properties About The Package -->
    <Package Id="*" Keywords="Installer" InstallerVersion="200" Compressed="yes" InstallScope="perMachine" Description="PowerShell package" Comments="PowerShell for every system" />

    <!-- Add PowerShell icon for executable -->
    <Icon Id="PowerShellExe.ico" SourceFile="assets\Powershell_256.ico" />

    <!-- Add PowerShell icon in Add/Remove Programs -->
    <Property Id="ARPPRODUCTICON" Value="PowerShellExe.ico" />

    <!-- Set properties for add/remove programs -->
    <Property Id="ARPHELPLINK" Value="$(var.InfoURL)" />
    
    <!-- Prerequisites -->
    <Condition Message="Supported only on Win8 and above"><![CDATA[ Installed OR $(var.MinOSVersionSupported) ]]></Condition>

    <!-- Information About When Older Versions Are Trying To Be Installed-->
    <MajorUpgrade DowngradeErrorMessage="A newer version of PowerShell is already installed." />
    
    <!-- Embed Cabinet Files in Product-->
    <MediaTemplate EmbedCab="yes" />
    <commit_msg>Make the MSI installers support Win 7 and above<commit_after>﻿<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">

  <!-- MSI installs on Win7 and above -->
  <?define MinOSVersionSupported = "VersionNT >= 601" ?>

  <!-- The URL for add/remove programs -->
  <!-- TBD:Point to the actual release -->
  <?define InfoURL="https://github.com/PowerShell/PowerShell" ?>

  <?define ProductName = "$(env.ProductName)" ?>
  <?define ProductGuid = "$(env.ProductGuid)" ?>
  <?define ProductVersion = "$(env.ProductVersion)" ?>
  <?define ProductVersionWithName = "$(var.ProductName)_$(var.ProductVersion)"?>

  <!-- Generate Your Own GUID for both ID and UpgradeCode attributes. -->
  <!-- Note:  UpgradeCode GUID MUST REMAIN SAME THROUGHOUT ALL VERSIONS -->
  <!-- Otherwise, updates won't occur -->
  <Product Id="$(var.ProductGuid)" Name="$(var.ProductVersionWithName)" Language="1033" Version="$(var.ProductVersion)" Manufacturer="Microsoft Corporation" UpgradeCode="{f7ba3e58-0be8-443b-ac91-f99dd1e7bd3b}">
    <!-- Properties About The Package -->
    <Package Id="*" Keywords="Installer" InstallerVersion="200" Compressed="yes" InstallScope="perMachine" Description="PowerShell package" Comments="PowerShell for every system" />

    <!-- Add PowerShell icon for executable -->
    <Icon Id="PowerShellExe.ico" SourceFile="assets\Powershell_256.ico" />

    <!-- Add PowerShell icon in Add/Remove Programs -->
    <Property Id="ARPPRODUCTICON" Value="PowerShellExe.ico" />

    <!-- Set properties for add/remove programs -->
    <Property Id="ARPHELPLINK" Value="$(var.InfoURL)" />
    
    <!-- Prerequisites -->
    <Condition Message="Supported only on Win8 and above"><![CDATA[ Installed OR $(var.MinOSVersionSupported) ]]></Condition>

    <!-- Information About When Older Versions Are Trying To Be Installed-->
    <MajorUpgrade DowngradeErrorMessage="A newer version of PowerShell is already installed." />
    
    <!-- Embed Cabinet Files in Product-->
    <MediaTemplate EmbedCab="yes" />
    
{'fraction_non_alphanumeric': 0.1585028887214268, 'fraction_numerical': 0.017834714895754836, 'mean_word_length': 4.098591549295775, 'pattern_counts': {'":': 0, '<': 63, '<?xml version=': 0, '>': 65, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '6567456', 'n_tokens_mistral': 1214, 'n_tokens_neox': 1111, 'n_words': 300}