Difference between revisions of "Google Chrome"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m (versionless download location)
m
Line 34: Line 34:
  
 
The offline installer be downloaded from here: http://www.google.com/chrome/eula.html?standalone=1
 
The offline installer be downloaded from here: http://www.google.com/chrome/eula.html?standalone=1
(If the link is broken it means that there is a newer stable release.)
 
  
 
[[Category:Silent Installers]]
 
[[Category:Silent Installers]]

Revision as of 16:29, 14 August 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="17"
	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>

The offline installer be downloaded from here: http://www.google.com/chrome/eula.html?standalone=1