<commit_before><?xml version="1.0" encoding="utf-8"?>
<?define Version = "!(bind.FileVersion.ADMO.EXE)"?>
<?define UpgradeCode = "A316F201-11FB-42B3-9B30-A3481199EC4B" ?>

<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension" xmlns:netfx="http://schemas.microsoft.com/wix/NetFxExtension">
    <Product Id="*" Name="Admo" Language="1033" Version="!(bind.FileVersion.ADMO.EXE)" Manufacturer="Admo Inc" UpgradeCode="$(var.UpgradeCode)">
        <Package Description="Packaging of core Admo exe" Comments="Contains primary files" InstallerVersion="200" Compressed="yes" />
        <Media Id="1" Cabinet="simple.cab" EmbedCab="yes" CompressionLevel="high" />
      <DirectoryRef Id="TARGETDIR">
        <Component Id="RegistryEntries" Guid="8BE6F3D1-366A-4FE8-9736-19832C9AFD42">
          <RegistryKey Root="HKCU"
                       Key="Control Panel\Desktop"
                Action="create">
            <RegistryValue Type="integer" Name="ForegroundLockTimeout" Value="00000000" KeyPath="yes"/>
            <RegistryValue Type="integer" Name="ForegroundFlashCount" Value="00000001"/>
          </RegistryKey>
        </Component>
      </DirectoryRef>

    

      <Binary Id="AdmoInstallerCustomAction.CA.dll"
           src="$(var.SolutionDir)AdmoInstallerCustomAction\bin\$(var.Configuration)\AdmoInstallerCustomAction.CA.dll" />
      
      <Icon Id="Company.ico" SourceFile="$(var.SolutionDir)\Admo\resources\Icon.ico"  />
      <Property Id="ARPPRODUCTICON" Value="Company.ico" />
      <Property Id="ARPHELPLINK" Value="http://www.admoexperience.com/" />
<WixVariable Id="WixUILicenseRtf" Value="$(var.SolutionDir)\AdmoInstaller\License.rtf" />

<WixVariable Id="WixUIBannerBmp" Value="$(var.SolutionDir)\Admo\resources\left-banner.png" />
      <WixVariable Id="WixUIDialogBmp" Value="$(var.SolutionDir)\Admo\resources\LeftBannerInstaller.bmp" />

<WixVariable Id="WixUIExclamationIco" Value="$(var.SolutionDir)\Admo\resources\Icon.ico" />
      <WixVariable Id="WixUIInfoIco" Value="$(var.SolutionDir)\Admo\resources\Icon.ico" />

  <WixVariable Id="WixUINewIco" Value="$(var.SolutionDir)\Admo\resources\Icon.ico" />
        <WixVariable Id="WixUIUpIco" Value="$(var.SolutionDir)\Admo\resources\Icon.ico" />
      <!--<MajorUpgrade
        DowngradeErrorMessage="A later version of [ProductName] is already installed. Setup will now exit."/>-->


      <Upgrade Id="$(var.UpgradeCode)">
        <UpgradeVersion Minimum="$(var.Version)" IncludeMinimum="no" OnlyDetect="yes" Property="NEWERVERSIONDETECTED" />
        <UpgradeVersion Minimum="0.0.0" Maximum="$(var.Version)" IncludeMinimum="yes" IncludeMaximum="yes" Property="OLDERVERSIONBEINGUPGRADED" />
      </Upgrade>

      <InstallExecuteSequence>
        <RemoveExistingProducts After="InstallInitialize" />
        <Custom Action="NewerVersion" After="RemoveExistingProducts">NEWERVERSIONDETECTED</Custom>
        <Custom Action="PropertyAssign" Before="LoadCertificates"></Custom>
        <Custom Action="GetPcSpecs" After="LoadCertificates">NOT Installed AND NOT PATCH</Custom>
        <Custom Action="LoadCertificates" After="InstallFiles">NOT Installed AND NOT PATCH</Custom>
        <Custom Action="DownloadRuntime" After="InstallFiles">NOT Installed AND NOT PATCH</Custom>
      </InstallExecuteSequence>
      <!--<Custom Action="LoadCertificates" After="InstallFiles"></Custom>-->


      <CustomAction Id='PropertyAssign' Property='LoadCertificates'
        Value="InstallLoc=[INSTALLLOCATION]" />
      <CustomAction Id="LoadCertificates"
                    Return="check"
                     Execute="deferred"
                     BinaryKey="AdmoInstallerCustomAction.CA.dll"
                     DllEntry="LoadCertificates"
             Impersonate="no"
              
      />

      <CustomAction Id="GetPcSpecs"
                   Return="check"
                    Execute="immediate"
                    BinaryKey="AdmoInstallerCustomAction.CA.dll"
                    DllEntry="GetPcSpecs"
            Impersonate="yes"
      /><commit_msg>Get pc specs is not actually run it reserved for future use<commit_after><?xml version="1.0" encoding="utf-8"?>
<?define Version = "!(bind.FileVersion.ADMO.EXE)"?>
<?define UpgradeCode = "A316F201-11FB-42B3-9B30-A3481199EC4B" ?>

<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension" xmlns:netfx="http://schemas.microsoft.com/wix/NetFxExtension">
    <Product Id="*" Name="Admo" Language="1033" Version="!(bind.FileVersion.ADMO.EXE)" Manufacturer="Admo Inc" UpgradeCode="$(var.UpgradeCode)">
        <Package Description="Packaging of core Admo exe" Comments="Contains primary files" InstallerVersion="200" Compressed="yes" />
        <Media Id="1" Cabinet="simple.cab" EmbedCab="yes" CompressionLevel="high" />
      <DirectoryRef Id="TARGETDIR">
        <Component Id="RegistryEntries" Guid="8BE6F3D1-366A-4FE8-9736-19832C9AFD42">
          <RegistryKey Root="HKCU"
                       Key="Control Panel\Desktop"
                Action="create">
            <RegistryValue Type="integer" Name="ForegroundLockTimeout" Value="00000000" KeyPath="yes"/>
            <RegistryValue Type="integer" Name="ForegroundFlashCount" Value="00000001"/>
          </RegistryKey>
        </Component>
      </DirectoryRef>

    

      <Binary Id="AdmoInstallerCustomAction.CA.dll"
           src="$(var.SolutionDir)AdmoInstallerCustomAction\bin\$(var.Configuration)\AdmoInstallerCustomAction.CA.dll" />
      
      <Icon Id="Company.ico" SourceFile="$(var.SolutionDir)\Admo\resources\Icon.ico"  />
      <Property Id="ARPPRODUCTICON" Value="Company.ico" />
      <Property Id="ARPHELPLINK" Value="http://www.admoexperience.com/" />
<WixVariable Id="WixUILicenseRtf" Value="$(var.SolutionDir)\AdmoInstaller\License.rtf" />

<WixVariable Id="WixUIBannerBmp" Value="$(var.SolutionDir)\Admo\resources\left-banner.png" />
      <WixVariable Id="WixUIDialogBmp" Value="$(var.SolutionDir)\Admo\resources\LeftBannerInstaller.bmp" />

<WixVariable Id="WixUIExclamationIco" Value="$(var.SolutionDir)\Admo\resources\Icon.ico" />
      <WixVariable Id="WixUIInfoIco" Value="$(var.SolutionDir)\Admo\resources\Icon.ico" />

  <WixVariable Id="WixUINewIco" Value="$(var.SolutionDir)\Admo\resources\Icon.ico" />
        <WixVariable Id="WixUIUpIco" Value="$(var.SolutionDir)\Admo\resources\Icon.ico" />
      <!--<MajorUpgrade
        DowngradeErrorMessage="A later version of [ProductName] is already installed. Setup will now exit."/>-->


      <Upgrade Id="$(var.UpgradeCode)">
        <UpgradeVersion Minimum="$(var.Version)" IncludeMinimum="no" OnlyDetect="yes" Property="NEWERVERSIONDETECTED" />
        <UpgradeVersion Minimum="0.0.0" Maximum="$(var.Version)" IncludeMinimum="yes" IncludeMaximum="yes" Property="OLDERVERSIONBEINGUPGRADED" />
      </Upgrade>

      <InstallExecuteSequence>
        <RemoveExistingProducts After="InstallInitialize" />
        <Custom Action="NewerVersion" After="RemoveExistingProducts">NEWERVERSIONDETECTED</Custom>
        <Custom Action="PropertyAssign" Before="LoadCertificates"></Custom>
        <!--<Custom Action="GetPcSpecs" After="LoadCertificates">NOT Installed AND NOT PATCH</Custom>-->
        <Custom Action="LoadCertificates" After="InstallFiles">NOT Installed AND NOT PATCH</Custom>
        <Custom Action="DownloadRuntime" After="InstallFiles">NOT Installed AND NOT PATCH</Custom>
      </InstallExecuteSequence>
      <!--<Custom Action="LoadCertificates" After="InstallFiles"></Custom>-->


      <CustomAction Id='PropertyAssign' Property='LoadCertificates'
        Value="InstallLoc=[INSTALLLOCATION]" />
      <CustomAction Id="LoadCertificates"
                    Return="check"
                     Execute="deferred"
                     BinaryKey="AdmoInstallerCustomAction.CA.dll"
                     DllEntry="LoadCertificates"
             Impersonate="no"
              
      />

      <CustomAction Id="GetPcSpecs"
                   Return="check"
                    Execute="immediate"
                    BinaryKey="AdmoInstallerCustomAction.CA.dll"
                    DllEntry="GetPcSpecs"
            Impersonate="yes"
      />
{'fraction_non_alphanumeric': 0.147505159645502, 'fraction_numerical': 0.01869612723078791, 'mean_word_length': 3.5413450937155457, 'pattern_counts': {'":': 0, '<': 106, '<?xml version=': 2, '>': 106, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 8}, 'pii_count': 0, 'substrings_counts': 4, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '86360', 'n_tokens_mistral': 2653, 'n_tokens_neox': 2409, 'n_words': 353}