﻿<?xml version="1.0" encoding="utf-8"?>
<AdminArsenal.Export Code="PDQDeploy" Name="PDQ Deploy" Version="12.1.0.33" MinimumVersion="10.0">
  <Package>
    <PackageDefinition name="Definition">
      <CopyMode>Default</CopyMode>
      <InventoryScanProfileId value="null" />
      <RunAs>Admin</RunAs>
      <ScanAfterDeployment value="null" />
      <Steps type="list">
        <CommandStep>
          <Command>%SYSTEMROOT%\System32\taskkill.exe /f /im chrome.exe</Command>
          <Files></Files>
          <SuccessCodes>0</SuccessCodes>
          <RunAs value="null" />
          <Conditions type="list">
            <PackageStepCondition>
              <Architecture>Both</Architecture>
              <Version>All</Version>
              <TypeName>OperatingSystem</TypeName>
            </PackageStepCondition>
            <PackageStepCondition>
              <IsUserLoggedOn>AlwaysRun</IsUserLoggedOn>
              <TypeName>LoggedOnUser</TypeName>
            </PackageStepCondition>
          </Conditions>
          <ErrorMode>Continue</ErrorMode>
          <IsEnabled value="true" />
          <Title>Kill Chrome EXE</Title>
          <TypeName>Command</TypeName>
        </CommandStep>
        <CommandStep>
          <Command>MsiExec.exe /qn /norestart /X{69BDE82E-C14F-3309-9813-E5F4E6111920}</Command>
          <Files></Files>
          <SuccessCodes>0</SuccessCodes>
          <RunAs value="null" />
          <Conditions type="list">
            <PackageStepCondition>
              <Architecture>Both</Architecture>
              <Version>All</Version>
              <TypeName>OperatingSystem</TypeName>
            </PackageStepCondition>
            <PackageStepCondition>
              <IsUserLoggedOn>AlwaysRun</IsUserLoggedOn>
              <TypeName>LoggedOnUser</TypeName>
            </PackageStepCondition>
          </Conditions>
          <ErrorMode>Continue</ErrorMode>
          <IsEnabled value="true" />
          <Title>Uninstall Chrome 32</Title>
          <TypeName>Command</TypeName>
        </CommandStep>
        <CommandStep>
          <Command>MsiExec.exe /qn /norestart /X{A4690197-328E-3732-A460-124D6900D9C5}</Command>
          <Files></Files>
          <SuccessCodes>0</SuccessCodes>
          <RunAs value="null" />
          <Conditions type="list">
            <PackageStepCondition>
              <Architecture>Both</Architecture>
              <Version>All</Version>
              <TypeName>OperatingSystem</TypeName>
            </PackageStepCondition>
            <PackageStepCondition>
              <IsUserLoggedOn>AlwaysRun</IsUserLoggedOn>
              <TypeName>LoggedOnUser</TypeName>
            </PackageStepCondition>
          </Conditions>
          <ErrorMode>Continue</ErrorMode>
          <IsEnabled value="true" />
          <Title>Uninstall Chrome 64</Title>
          <TypeName>Command</TypeName>
        </CommandStep>
        <InstallStep>
          <CustomCommandLine></CustomCommandLine>
          <FileName>$(Repository)\Google\Chrome\googlechromestandaloneenterprise-58.0.3029.96.msi</FileName>
          <Files></Files>
          <IncludeDirectory value="false" />
          <LeaveInstallFile value="false" />
          <MsiOperation>Install</MsiOperation>
          <MsiQuiet value="true" />
          <MsiRestart>Never</MsiRestart>
          <Parameters></Parameters>
          <SuccessCodes>0,1641,3010</SuccessCodes>
          <RunAs value="null" />
          <Conditions type="list">
            <PackageStepCondition>
              <Architecture>Both</Architecture>
              <Version>Windows7, Windows8, Server2008R2, Server2012, Windows81, Server2012R2, Windows10, Server2016</Version>
              <TypeName>OperatingSystem</TypeName>
            </PackageStepCondition>
            <PackageStepCondition>
              <IsUserLoggedOn>AlwaysRun</IsUserLoggedOn>
              <TypeName>LoggedOnUser</TypeName>
            </PackageStepCondition>
          </Conditions>
          <ErrorMode>StopDeploymentFail</ErrorMode>
          <IsEnabled value="true" />
          <Title>Install Chrome</Title>
          <TypeName>Install</TypeName>
        </InstallStep>
        <CommandStep>
          <Command>%SystemRoot%\System32\Reg.exe ADD "HKLM\SOFTWARE\Policies\Google\Update" /v UpdateDefault /d 0 /t REG_DWORD /f</Command>
          <Files></Files>
          <SuccessCodes>0,1</SuccessCodes>
          <RunAs value="null" />
          <Conditions type="list">
            <PackageStepCondition>
              <Architecture>Both</Architecture>
              <Version>Windows7, Windows8, Server2008R2, Server2012, Windows81, Server2012R2, Windows10, Server2016</Version>
              <TypeName>OperatingSystem</TypeName>
            </PackageStepCondition>
            <PackageStepCondition>
              <IsUserLoggedOn>AlwaysRun</IsUserLoggedOn>
              <TypeName>LoggedOnUser</TypeName>
            </PackageStepCondition>
            <PackageStepCondition>
              <ConditionMode>DoesNotExist</ConditionMode>
              <Hive>HKEY_LOCAL_MACHINE</Hive>
              <IncludeSubKeys value="false" />
              <Key>SOFTWARE\Policies\Google\Update</Key>
              <MatchToWow6432 value="false" />
              <TextCompare>Contains</TextCompare>
              <Value>0</Value>
              <ValueCompare>Equal</ValueCompare>
              <ValueName>UpdateDefault</ValueName>
              <ValueType>Number</ValueType>
              <TypeName>Registry</TypeName>
            </PackageStepCondition>
          </Conditions>
          <ErrorMode>Continue</ErrorMode>
          <IsEnabled value="false" />
          <Title>Disable Auto Update</Title>
          <TypeName>Command</TypeName>
        </CommandStep>
      </Steps>
      <Timeout value="60" />
      <UseCustomTimeout value="false" />
    </PackageDefinition>
    <Description>Google Chrome Enterprise.
Chrome must be restarted on the target computers before the new version is available.
This installs Chrome for all users of a computer as opposed to the standard Chrome install which only installs per user.
Adobe Flash (PPAPI) is no longer included in Google Chrome Enterprise but it will be automatically installed inside of Chrome when needed unless a target computer cannot access the internet or has the policy "Enable component updates in Google Chrome" disabled. In cases where component updates cannot be upgraded in Google you may use the Adobe Flash for PPAPI package in the Package Library.
Auto Update disabled.
Requires Windows 7 or later. XP and Vista are no longer supported.</Description>
    <FolderId value="1" />
    <Name>Google Chrome Enterprise 58.0.3029.96</Name>
    <Path>Packages\Google Chrome Enterprise 58.0.3029.96</Path>
    <Version>58.0.3029.96</Version>
    <PackageDisplaySettings name="DisplaySettings">
      <DisplayType>Normal</DisplayType>
      <IconKey></IconKey>
      <SortOrder value="245" />
    </PackageDisplaySettings>
  </Package>
</AdminArsenal.Export>