Changes

Google Chrome

1,731 bytes added, 09:24, 23 January 2015
no edit summary
Google Chrome is only available as a 32-bit program on Windows, there is no 64-bit version.
== Google Chrome 21 39+ ==
The Google Chrome installer (chrome_installer.exe) installs per-user. To install it system-wide (into the %PROGRAMFILES% directory), use Chrome for Business (GoogleChromeStandaloneEnterprise.msi).
<source lang="xml">
<package?xml version="1.0" encoding="UTF-8"?> <!-- we use enterprise Chrome installer, which makes sane choices for most things the installer will run successfully whilst Chrome is running, installing to new_chrome.exe when the last running instance of Chrome exits, then: chrome.exe is renamed to old_chrome.exe new_chrome.exe is renamed to chrome.exe chrome installer log is at %temp%\chrome_installer.log--> <packages:packages xmlns:packages="http://www.wpkg.org/packages" xmlns:wpkg="http://www.wpkg.org/wpkg" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wpkg.org/packages xsd/packages.xsd"> <package id="chrome" name="Google Chrome" revision="%version%" reboot="false" priority="10"> <variable name="version" value="2139.0.11802171.8399" /> <variable architecture="x86" name="progfilesPKG_DESTINATION" value="%PROGRAMFILES%\Google\Chrome\Application" /> <variable architecture="x64" name="progfilesPKG_DESTINATION" value="%PROGRAMFILES(X86x86)%\Google\Chrome\Application" architecture="x64" /> <!-- checkthe version no. to check the package state --> <check type="uninstalllogical" condition="existsor"> <check type="file" condition="versiongreaterorequal" path="Google Chrome%PKG_DESTINATION%\chrome.exe" value="%version%" />  <check type="file" condition="versionequaltoversiongreaterorequal" path="%progfilesPKG_DESTINATION%\Google\Chrome\Application\chromenew_chrome.exe" value="%version%" /> </check> <!-- install the software, fails if .msi is renamed --> <install cmd='msiexec /qn /norestart /i "%SOFTWARE%\chrome\GoogleChromeStandaloneEnterprise.msi"' /> <!-- remove the desktop icon --> <upgrade install cmd='msiexec %COMSPEC% /qn /norestart /i c if exist "%SOFTWAREpublic%\chromeDesktop\GoogleChromeStandaloneEnterpriseGoogle Chrome.msilnk" del "%public%\Desktop\Google Chrome.lnk"' /> <!-- turn off AutoUpdate --> <remove install cmd='msiexec %COMSPEC% /qn c reg add HKLM\SOFTWARE\Policies\Google\Update /x {24669440v AutoUpdateCheckPeriodMinutes /t REG_DWORD /v 0 /f' /> <upgrade include="install" /> <!-71E7-3195kill chrome and all it's buddies -B311-D88EC4078099}> <remove cmd="taskkill /F /IM chrome.exe"> <exit code="any" /> </remove> <!-- this is sometimes slow, but works, and does not rely on the original installer being available --> <remove cmd='wmic product where name="Google Chrome" call uninstall' /> <remove cmd='%COMSPEC% /c reg delete HKLM\SOFTWARE\Policies\Google\Update /v AutoUpdateCheckPeriodMinutes /f' /> </package></packages:packages>
</source>
27
edits