Changes

Jump to: navigation, search

Google Chrome

1 byte added, 11:11, 7 November 2013
Improving this article's readability by putting this side note below the main WPKG package. (How many more cats do people think get adopted as a result of WPKG's CAPTCHA?)
just in case that doesn't work... I had changed the policy while it was stalling on the please wait... and MAKE SURE noone installed chrome on their profile... you can only see their chrome in add/remove programs on their profile
This worked for me
 
== 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 {24669440-71E7-3195-B311-D88EC4078099}' />
</package>
</source>
 
== Automated Updates of Chrome's WPKG Files ==
--[[User:Ftrojahn|Ftrojahn]] 12:09, 08 October 2013 (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 {24669440-71E7-3195-B311-D88EC4078099}' />
</package>
</source>
== Older Versions ==
577
edits

Navigation menu