Difference between revisions of "Google Chrome"
From WPKG | Open Source Software Deployment and Distribution
(changed dl link to version 154.53 (=> no more survey after force-uninstall)) |
(removed manual shortcut copying) |
||
Line 21: | Line 21: | ||
</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"/> | ||
Line 28: | Line 27: | ||
<exit code="any"/> | <exit code="any"/> | ||
</upgrade> | </upgrade> | ||
− | |||
<remove cmd='"%USERPROFILE%\Local Settings\Application Data\Google\Chrome\Application\1.0.154.53\Installer\setup.exe" --uninstall --force-uninstall'/> | <remove cmd='"%USERPROFILE%\Local Settings\Application Data\Google\Chrome\Application\1.0.154.53\Installer\setup.exe" --uninstall --force-uninstall'/> |
Revision as of 12:01, 16 April 2009
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="16"
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>
<remove cmd='"%USERPROFILE%\Local Settings\Application Data\Google\Chrome\Application\1.0.154.53\Installer\setup.exe" --uninstall --force-uninstall'/>
</package>
The offline installer for "1.0" can be downloaded from here: http://dl.google.com/chrome/install/154.53/chrome_installer.exe (If the link is broken it means that there is a newer stable release.)