20
edits
Changes
m
== Older Versions ==
Updated to chrome 21
--[[User:Mwr|Mwr]] 17:05, 10 August 2012 (CEST)
== Google Chrome 21 ==
Chrome shows an unrelated product version in Uninstall Programs, so the package definition checks only that it is present and then checks the actual version against chrome.exe.
Chrome can be updated while it's running, but the changes won't happen until the running process is closed.
<source lang="xml">
<package
id="chrome"
name="Chrome"
revision="%version%"
reboot="false">
<variable name="version" value="21.0.1180.83" />
<variable architecture="x86" name="progfiles" value="%PROGRAMFILES%" />
<variable architecture="x64" name="progfiles" value="%PROGRAMFILES(X86)%" />
<check
type="uninstall"
condition="exists"
path="Google Chrome" />
<check
type="file"
condition="versionequalto"
path="%progfiles%\Google\Chrome\Application\chrome.exe"
value="%version%" />
<install cmd="taskkill /F /IM chrome.exe">
<exit code="any" />
</install>
<install cmd='msiexec /qn /norestart /i "%SOFTWARE%\chrome\GoogleChromeStandaloneEnterprise.msi"' />
<upgrade cmd="taskkill /F /IM chrome.exe">
<exit code="any" />
</upgrade>
<upgrade cmd='msiexec /qn /norestart /i "%SOFTWARE%\chrome\GoogleChromeStandaloneEnterprise.msi"' />
<remove cmd="taskkill /F /IM chrome.exe">
<exit code="any" />
</remove>
<remove cmd='msiexec /qn /x {E59AB510-8AEA-36BC-91D5-B25791AD224F}' />
</package>
</source>
== Older Versions ==
== Google Chrome 18 ==
</package>
</source>
=== Google Chrome 16 ===