Difference between revisions of "Google Chrome"
(Update to 15.0.874.120) |
(Tidied up + made packages consistent with one another + removed broken links) |
||
Line 1: | Line 1: | ||
+ | Chrome is a web browser from Google. | ||
+ | |||
+ | You can download the current stable version of Google Chrome as an MSI file from http://www.google.com/chrome/eula.html?msi=true. | ||
+ | |||
+ | GoogleChromeStandaloneEnterprise.msi is only available if using Windows. | ||
+ | |||
== System wide Installation == | == System wide Installation == | ||
− | Normally, Google Chrome installs per-user. To install it system- | + | Normally, Google Chrome installs per-user. To install it system-wide into the %PROGRAMFILES% directory, use the chrome_installer.exe installer and the --system-level option. Note that the regular Chrome standalone installer (ChromeStandaloneSetup.exe) does not seem to accept any command-line switches and can't be made to install silently. |
+ | |||
+ | Interesting side note: even though you can't make ChromeStandaloneSetup.exe install silently, you can get a version of it that will install system-wide. To get this, download the regular version of ChromeStandaloneSetup.exe. Make a note of the URL of the file (in Firefox, right-click on the hyperlink and select "copy download link"). This URL will include the string 'needadmin%3Dfalse'. Replace 'needadmin%3Dfalse' with 'needadmin%3Dtrue' and download again from this modified URL. This will give you an installer for system-wide installation. | ||
− | |||
=== Google Chrome 15 === | === Google Chrome 15 === | ||
− | This is a silent installer and uninstaller for Google Chrome with support for 32 and 64 bit systems. | + | This is a silent installer and uninstaller for Google Chrome with support for 32-bit and 64-bit systems. |
− | + | ||
− | + | ||
<source lang="xml"> | <source lang="xml"> | ||
− | <package id="chrome" name="Google Chrome | + | <package id="chrome" name="Google Chrome" revision="%version%" priority="20" reboot="false"> |
+ | |||
<variable name="version" value="15.0.874.120" /> | <variable name="version" value="15.0.874.120" /> | ||
+ | |||
<check type="uninstall" condition="exists" path="Google Chrome" /> | <check type="uninstall" condition="exists" path="Google Chrome" /> | ||
+ | |||
<check type="logical" condition="or"> | <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%\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 type="file" condition="exists" path="%PROGRAMFILES(x86)%\Google\Chrome\Application\11.0.696.57\nacl64.exe" /> | ||
</check> | </check> | ||
+ | |||
<install cmd='msiexec /qn /norestart /i "%SOFTWARE%\chrome\GoogleChromeStandaloneEnterprise.msi"' /> | <install cmd='msiexec /qn /norestart /i "%SOFTWARE%\chrome\GoogleChromeStandaloneEnterprise.msi"' /> | ||
+ | |||
<upgrade 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}" /> | <remove cmd="msiexec /qn /x {54DF35BD-4A36-35DA-B029-A0C083C88614}" /> | ||
</package> | </package> | ||
</source> | </source> | ||
+ | |||
+ | |||
=== Google Chrome 11 === | === Google Chrome 11 === | ||
− | This is a silent installer and uninstaller for Google Chrome with support for 32 and 64 bit systems. | + | This is a silent installer and uninstaller for Google Chrome with support for 32-bit and 64-bit systems. |
− | + | ||
− | + | ||
<source lang="xml"> | <source lang="xml"> | ||
<?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> | ||
<packages> | <packages> | ||
− | <package id=" | + | <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="uninstall" condition="exists" path="Google Chrome" /> | ||
+ | |||
<check type="logical" condition="or"> | <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%\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 type="file" condition="exists" path="%PROGRAMFILES(x86)%\Google\Chrome\Application\11.0.696.57\nacl64.exe" /> | ||
</check> | </check> | ||
+ | |||
<install cmd='msiexec /qn /norestart /i "%SOFTWARE%\chrome\GoogleChromeStandaloneEnterprise.msi"' /> | <install cmd='msiexec /qn /norestart /i "%SOFTWARE%\chrome\GoogleChromeStandaloneEnterprise.msi"' /> | ||
+ | |||
<upgrade 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}" /> | <remove cmd="msiexec /qn /x {54DF35BD-4A36-35DA-B029-A0C083C88614}" /> | ||
</package> | </package> | ||
</packages> | </packages> | ||
</source> | </source> | ||
+ | |||
=== Google Chrome 10 === | === Google Chrome 10 === | ||
− | |||
<source lang="xml"> | <source lang="xml"> | ||
Line 50: | Line 67: | ||
<packages> | <packages> | ||
− | <package id=" | + | <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="uninstall" condition="exists" path="Google Chrome"/> | ||
+ | |||
<check type="file" condition="exists" path="%PROGRAMFILES%\Google\Chrome\Application\10.0.648.205\nacl64.exe" /> | <check type="file" condition="exists" path="%PROGRAMFILES%\Google\Chrome\Application\10.0.648.205\nacl64.exe" /> | ||
− | <install cmd='%SOFTWARE%\ | + | <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> | </package> | ||
</packages> | </packages> | ||
</source> | </source> | ||
+ | |||
=== Google Chrome 9 === | === Google Chrome 9 === | ||
− | |||
− | |||
<source lang="xml"> | <source lang="xml"> | ||
Line 70: | Line 89: | ||
<packages> | <packages> | ||
− | <package id=" | + | <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="uninstall" condition="exists" path="Google Chrome"/> | ||
+ | |||
<check type="file" condition="exists" path="%PROGRAMFILES%\Google\Chrome\Application\9.0.597.94\nacl64.exe" /> | <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"' /> | <install cmd='msiexec /qn /norestart /i "%SOFTWARE%\chrome\GoogleChrome.msi"' /> | ||
+ | |||
<upgrade 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}' /> | <remove cmd='msiexec /qn /x {54DF35BD-4A36-35DA-B029-A0C083C88614}' /> | ||
</package> | </package> | ||
− | |||
</packages> | </packages> | ||
</source> | </source> | ||
Line 89: | Line 111: | ||
<packages> | <packages> | ||
− | <package id=" | + | <package id="chrome" name="Google Chrome" revision="1" reboot="false" priority="2" > |
+ | |||
<check type="uninstall" condition="exists" path="Google Chrome"/> | <check type="uninstall" condition="exists" path="Google Chrome"/> | ||
+ | |||
<check type="file" condition="exists" path="%PROGRAMFILES%\Google\Chrome\Application\7.0.517.41\nacl64.exe" /> | <check type="file" condition="exists" path="%PROGRAMFILES%\Google\Chrome\Application\7.0.517.41\nacl64.exe" /> | ||
− | <install cmd='%SOFTWARE%\ | + | <install cmd='%SOFTWARE%\chrome\chrome_installer.exe --system-level --do-not-launch-chrome'/> |
− | <upgrade cmd='%SOFTWARE%\ | + | |
− | + | <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> | </package> | ||
</packages> | </packages> | ||
</source> | </source> | ||
− | |||
===Google Chrome 5.0=== | ===Google Chrome 5.0=== | ||
Line 112: | Line 136: | ||
xsi:noNamespaceSchemaLocation="../xsd/packages.xsd" > | xsi:noNamespaceSchemaLocation="../xsd/packages.xsd" > | ||
− | <package id=" | + | <package id="chrome" name="Google Chrome" revision="1" reboot="false" priority="2" > |
+ | |||
<check type="uninstall" condition="exists" path="Google Chrome"/> | <check type="uninstall" condition="exists" path="Google Chrome"/> | ||
+ | |||
<check type="file" condition="exists" path="%PROGRAMFILES%\Google\Chrome\Application\5.0.375.70\nacl64.exe" /> | <check type="file" condition="exists" path="%PROGRAMFILES%\Google\Chrome\Application\5.0.375.70\nacl64.exe" /> | ||
− | <install cmd='%SOFTWARE%\ | + | <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> | </packages> | ||
</source> | </source> | ||
+ | |||
+ | |||
== Per-user Installation == | == Per-user Installation == | ||
− | This is a silent installer and uninstaller for Google Chrome. This will install Google Chrome '''only for the user running | + | This is a silent installer and uninstaller for Google Chrome. This will install Google Chrome '''only for the user running WPKG'''. |
<source lang="xml"> | <source lang="xml"> | ||
Line 132: | Line 160: | ||
id="chrome" | id="chrome" | ||
name="Google Chrome" | name="Google Chrome" | ||
− | revision=" | + | revision="18" |
reboot="postponed" | reboot="postponed" | ||
− | priority="5" | + | priority="5"> |
− | + | ||
<!--<check type="uninstall" condition="exists" path="Google Chrome" /> This doesn't work for per-user appliations... --> | <!--<check type="uninstall" condition="exists" path="Google Chrome" /> This doesn't work for per-user appliations... --> | ||
<check type="file" condition="exists" path="%USERPROFILE%\Local Settings\Application Data\Google\Chrome\Application\chrome.exe" /> | <check type="file" condition="exists" path="%USERPROFILE%\Local Settings\Application Data\Google\Chrome\Application\chrome.exe" /> | ||
<install cmd="%SOFTWARE%\chrome\chrome_installer.exe"/> | <install cmd="%SOFTWARE%\chrome\chrome_installer.exe"/> | ||
+ | |||
<install cmd="PING LOCALHOST -n 5"/> | <install cmd="PING LOCALHOST -n 5"/> | ||
+ | |||
<install cmd="taskkill /IM chrome.exe"> | <install cmd="taskkill /IM chrome.exe"> | ||
<exit code="any"/> | <exit code="any"/> | ||
</install> | </install> | ||
+ | |||
<install cmd='cmd /c mkdir "%USERPROFILE%\Local Settings\Application Data\Google\Chrome\Application"'> | <install cmd='cmd /c mkdir "%USERPROFILE%\Local Settings\Application Data\Google\Chrome\Application"'> | ||
<exit code="any"/> | <exit code="any"/> | ||
</install > | </install > | ||
+ | |||
<install cmd='cmd /c echo hello > "%USERPROFILE%\Local Settings\Application Data\Google\Chrome\Application\First Run"'/> | <install cmd='cmd /c echo hello > "%USERPROFILE%\Local Settings\Application Data\Google\Chrome\Application\First Run"'/> | ||
<upgrade cmd="%SOFTWARE%\chrome\chrome_installer.exe"/> | <upgrade cmd="%SOFTWARE%\chrome\chrome_installer.exe"/> | ||
+ | |||
<upgrade cmd="PING LOCALHOST -n 5"/> | <upgrade cmd="PING LOCALHOST -n 5"/> | ||
+ | |||
<upgrade cmd="taskkill /IM chrome.exe"> | <upgrade cmd="taskkill /IM chrome.exe"> | ||
<exit code="any"/> | <exit code="any"/> | ||
</upgrade> | </upgrade> | ||
− | <!-- CHANGE PATH WHENEVER THERE IS A | + | <!-- CHANGE PATH WHENEVER THERE IS A NEW VERSION --> |
<remove cmd='"%USERPROFILE%\Local Settings\Application Data\Google\Chrome\Application\1.0.154.59\Installer\setup.exe" --uninstall --force-uninstall'/> | <remove cmd='"%USERPROFILE%\Local Settings\Application Data\Google\Chrome\Application\1.0.154.59\Installer\setup.exe" --uninstall --force-uninstall'/> | ||
</package> | </package> | ||
</source> | </source> | ||
− | |||
− | |||
− | |||
− | =External Links= | + | ==External Links== |
* [http://chrome.blogspot.com/2010/12/chrome-is-ready-for-business.html '''chrome.blogspot.com''': Announcement of support for enterprise *level deployment] | * [http://chrome.blogspot.com/2010/12/chrome-is-ready-for-business.html '''chrome.blogspot.com''': Announcement of support for enterprise *level deployment] | ||
* [http://www.google.com/apps/intl/en/business/chromebrowser.html '''www.google.com''': Download business version of Chrome (msi) for deployment] | * [http://www.google.com/apps/intl/en/business/chromebrowser.html '''www.google.com''': Download business version of Chrome (msi) for deployment] |
Revision as of 19:29, 13 December 2011
Chrome is a web browser from Google.
You can download the current stable version of Google Chrome as an MSI file from http://www.google.com/chrome/eula.html?msi=true.
GoogleChromeStandaloneEnterprise.msi is only available if using Windows.
Contents
System wide Installation
Normally, Google Chrome installs per-user. To install it system-wide into the %PROGRAMFILES% directory, use the chrome_installer.exe installer and the --system-level option. Note that the regular Chrome standalone installer (ChromeStandaloneSetup.exe) does not seem to accept any command-line switches and can't be made to install silently.
Interesting side note: even though you can't make ChromeStandaloneSetup.exe install silently, you can get a version of it that will install system-wide. To get this, download the regular version of ChromeStandaloneSetup.exe. Make a note of the URL of the file (in Firefox, right-click on the hyperlink and select "copy download link"). This URL will include the string 'needadmin%3Dfalse'. Replace 'needadmin%3Dfalse' with 'needadmin%3Dtrue' and download again from this modified URL. This will give you an installer for system-wide installation.
Google Chrome 15
This is a silent installer and uninstaller for Google Chrome with support for 32-bit and 64-bit systems.
<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>
Google Chrome 11
This is a silent installer and uninstaller for Google Chrome with support for 32-bit and 64-bit systems.
<?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>
Google Chrome 10
<?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>
Google Chrome 9
<?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>
Google Chrome 7.0
<?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>
Google Chrome 5.0
<?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>
Per-user Installation
This is a silent installer and uninstaller for Google Chrome. This will install Google Chrome only for the user running WPKG.
<package
id="chrome"
name="Google Chrome"
revision="18"
reboot="postponed"
priority="5">
<!--<check type="uninstall" condition="exists" path="Google Chrome" /> This doesn't work for per-user appliations... -->
<check type="file" condition="exists" path="%USERPROFILE%\Local Settings\Application Data\Google\Chrome\Application\chrome.exe" />
<install cmd="%SOFTWARE%\chrome\chrome_installer.exe"/>
<install cmd="PING LOCALHOST -n 5"/>
<install cmd="taskkill /IM chrome.exe">
<exit code="any"/>
</install>
<install cmd='cmd /c mkdir "%USERPROFILE%\Local Settings\Application Data\Google\Chrome\Application"'>
<exit code="any"/>
</install >
<install cmd='cmd /c echo hello > "%USERPROFILE%\Local Settings\Application Data\Google\Chrome\Application\First Run"'/>
<upgrade cmd="%SOFTWARE%\chrome\chrome_installer.exe"/>
<upgrade cmd="PING LOCALHOST -n 5"/>
<upgrade cmd="taskkill /IM chrome.exe">
<exit code="any"/>
</upgrade>
<!-- CHANGE PATH WHENEVER THERE IS A NEW VERSION -->
<remove cmd='"%USERPROFILE%\Local Settings\Application Data\Google\Chrome\Application\1.0.154.59\Installer\setup.exe" --uninstall --force-uninstall'/>
</package>