Changes

Google Chrome

8,679 bytes removed, 13:25, 6 March 2014
Older Versions: Too old to be useful
--[[User:Ftrojahn|Ftrojahn]] 12:09, 08 October 2013 (CEST)
 
== Older Versions ==
 
=== Google Chrome 18 ===
 
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="18.0.1025.162" />
<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-%version%.msi"' />
 
<upgrade cmd="taskkill /F /IM chrome.exe">
<exit code="any" />
</upgrade>
<upgrade cmd='msiexec /qn /norestart /i "%SOFTWARE%\chrome\GoogleChromeStandaloneEnterprise-%version%.msi"' />
<remove cmd="taskkill /F /IM chrome.exe">
<exit code="any" />
</remove>
<remove cmd='msiexec /qn /x {E59AB510-8AEA-36BC-91D5-B25791AD224F}' />
</package>
</source>
 
=== Google Chrome 16 ===
 
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.
 
Note that Windows Server 2008 R2 has a new feature called Windows Installer RDS Compatibility. This feature is enabled by default when using Remote Desktop Services and will cause some MSI installers to hang. When run through WPKG the install process will appear to never finish. When run with the same parameters from a command-line you'll see a Windows Installer dialog that asks you to wait and a progress bar that repeatedly completes and restarts. To successfully install Chrome on an RDS server you need to [http://technet.microsoft.com/en-us/library/dd560667%28WS.10%29.aspx#BKMK_3|create a registry key to disable this feature]: HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Terminal Services\TSAppSrv\TSMSI, add a DWORD called Enable set to zero. The keys TSAppSrv and TSMSI probably won't exist and need to be created.
 
<source lang="xml">
<package
id="chrome"
name="Chrome"
revision="%version%"
reboot="false">
<variable name="version" value="16.0.912.77" />
<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-%version%.msi"' />
 
<upgrade cmd="taskkill /F /IM chrome.exe">
<exit code="any" />
</upgrade>
<upgrade cmd='msiexec /qn /norestart /i "%SOFTWARE%\chrome\GoogleChromeStandaloneEnterprise-%version%.msi"' />
<remove cmd="taskkill /F /IM chrome.exe">
<exit code="any" />
</remove>
<remove cmd='msiexec /qn /x {368673BE-F66E-3BB4-832C-8EAF0B4AF939}' />
</package>
</source>
 
=== Google Chrome 15 ===
This is a silent installer and uninstaller for Google Chrome with support for 32-bit and 64-bit systems.
 
<source lang="xml">
<package id="chrome" name="Google Chrome" revision="%version%" priority="20" reboot="false">
 
<variable name="version" value="15.0.874.120" />
 
<check type="uninstall" condition="exists" path="Google Chrome" />
 
<check type="logical" condition="or">
<check type="file" condition="exists" path="%PROGRAMFILES%\Google\Chrome\Application\11.0.696.57\nacl64.exe" />
<check type="file" condition="exists" path="%PROGRAMFILES(x86)%\Google\Chrome\Application\11.0.696.57\nacl64.exe" />
</check>
 
<install cmd='msiexec /qn /norestart /i "%SOFTWARE%\chrome\GoogleChromeStandaloneEnterprise.msi"' />
 
<upgrade cmd='msiexec /qn /norestart /i "%SOFTWARE%\chrome\GoogleChromeStandaloneEnterprise.msi"' />
 
<remove cmd="msiexec /qn /x {54DF35BD-4A36-35DA-B029-A0C083C88614}" />
</package>
</source>
 
 
=== Google Chrome 11 ===
This is a silent installer and uninstaller for Google Chrome with support for 32-bit and 64-bit systems.
 
<source lang="xml">
<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package id="chrome" name="Google Chrome 11" revision="11.0.696.57" priority="20" reboot="false">
 
<check type="uninstall" condition="exists" path="Google Chrome" />
 
<check type="logical" condition="or">
<check type="file" condition="exists" path="%PROGRAMFILES%\Google\Chrome\Application\11.0.696.57\nacl64.exe" />
<check type="file" condition="exists" path="%PROGRAMFILES(x86)%\Google\Chrome\Application\11.0.696.57\nacl64.exe" />
</check>
 
<install cmd='msiexec /qn /norestart /i "%SOFTWARE%\chrome\GoogleChromeStandaloneEnterprise.msi"' />
 
<upgrade cmd='msiexec /qn /norestart /i "%SOFTWARE%\chrome\GoogleChromeStandaloneEnterprise.msi"' />
 
<remove cmd="msiexec /qn /x {54DF35BD-4A36-35DA-B029-A0C083C88614}" />
</package>
</packages>
</source>
 
 
=== Google Chrome 10 ===
 
<source lang="xml">
<?xml version="1.0" encoding="UTF-8"?>
 
<packages>
<package id="chrome" name="Google Chrome" revision="10.0.648.205" reboot="false" priority="2" >
 
<check type="uninstall" condition="exists" path="Google Chrome"/>
 
<check type="file" condition="exists" path="%PROGRAMFILES%\Google\Chrome\Application\10.0.648.205\nacl64.exe" />
 
<install cmd='%SOFTWARE%\chrome\chrome_installer.exe --system-level --do-not-launch-chrome'/>
 
<upgrade cmd='%SOFTWARE%\chrome\chrome_installer.exe --system-level --do-not-launch-chrome'/>
 
<remove cmd='%SOFTWARE%\chrome\chrome_installer.exe --uninstall --force-uninstall --system-level'/>
</package>
</packages>
</source>
 
 
=== Google Chrome 9 ===
 
<source lang="xml">
<?xml version="1.0" encoding="UTF-8"?>
<packages>
 
<package id="chrome" name="Google Chrome 9" revision="9.2.21854" reboot="false" priority="20">
 
<check type="uninstall" condition="exists" path="Google Chrome"/>
 
<check type="file" condition="exists" path="%PROGRAMFILES%\Google\Chrome\Application\9.0.597.94\nacl64.exe" />
<install cmd='msiexec /qn /norestart /i "%SOFTWARE%\chrome\GoogleChrome.msi"' />
 
<upgrade cmd='msiexec /qn /norestart /i "%SOFTWARE%\chrome\GoogleChrome.msi"' />
 
<remove cmd='msiexec /qn /x {54DF35BD-4A36-35DA-B029-A0C083C88614}' />
</package>
</packages>
</source>
 
 
===Google Chrome 7.0===
 
<source lang="xml">
<?xml version="1.0" encoding="UTF-8"?>
 
<packages>
<package id="chrome" name="Google Chrome" revision="1" reboot="false" priority="2" >
 
<check type="uninstall" condition="exists" path="Google Chrome"/>
 
<check type="file" condition="exists" path="%PROGRAMFILES%\Google\Chrome\Application\7.0.517.41\nacl64.exe" />
 
<install cmd='%SOFTWARE%\chrome\chrome_installer.exe --system-level --do-not-launch-chrome'/>
 
<upgrade cmd='%SOFTWARE%\chrome\chrome_installer.exe --system-level --do-not-launch-chrome'/>
 
<remove cmd='%SOFTWARE%\chrome\chrome_installer.exe --uninstall --force-uninstall --system-level'/>
</package>
</packages>
</source>
 
 
===Google Chrome 5.0===
 
<source lang="xml">
<?xml version="1.0" encoding="UTF-8"?>
 
<packages
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../xsd/packages.xsd" >
 
<package id="chrome" name="Google Chrome" revision="1" reboot="false" priority="2" >
 
<check type="uninstall" condition="exists" path="Google Chrome"/>
 
<check type="file" condition="exists" path="%PROGRAMFILES%\Google\Chrome\Application\5.0.375.70\nacl64.exe" />
 
<install cmd='%SOFTWARE%\chrome\chrome_installer.exe --system-level --do-not-launch-chrome'/>
 
<upgrade cmd='%SOFTWARE%\chrome\chrome_installer.exe --system-level --do-not-launch-chrome'/>
 
<remove cmd='%SOFTWARE%\chrome\chrome_installer.exe --uninstall --force-uninstall --system-level'/>
</package>
</packages>
</source>
==External Links==
577
edits