58
edits
Changes
New page: This is a silent installer and uninstaller for Google Chrome. This will install Google Chrome '''only for the user running wpkg'''. <source lang="xml"> <package id="chrome" name="Google...
This is a silent installer and uninstaller for Google Chrome. This will install Google Chrome '''only for the user running wpkg'''.
<source lang="xml">
<package
id="chrome"
name="Google Chrome webbongeszo"
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"'/>
<install cmd='cmd /c copy /Y "%SOFTWARE%\chrome\Google Chrome.lnk" "%AllUsersProfile%/Asztal"'/>
<upgrade cmd="%SOFTWARE%\chrome\chrome_installer.exe"/>
<upgrade cmd="PING LOCALHOST -n 5"/>
<upgrade cmd="taskkill /IM chrome.exe">
<exit code="any"/>
</upgrade>
<upgrade cmd='cmd /c copy /Y "%SOFTWARE%\chrome\Google Chrome.lnk" "%AllUsersProfile%/Asztal"'/>
</package>
</source>
[[Category:Silent Installers]]
<source lang="xml">
<package
id="chrome"
name="Google Chrome webbongeszo"
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"'/>
<install cmd='cmd /c copy /Y "%SOFTWARE%\chrome\Google Chrome.lnk" "%AllUsersProfile%/Asztal"'/>
<upgrade cmd="%SOFTWARE%\chrome\chrome_installer.exe"/>
<upgrade cmd="PING LOCALHOST -n 5"/>
<upgrade cmd="taskkill /IM chrome.exe">
<exit code="any"/>
</upgrade>
<upgrade cmd='cmd /c copy /Y "%SOFTWARE%\chrome\Google Chrome.lnk" "%AllUsersProfile%/Asztal"'/>
</package>
</source>
[[Category:Silent Installers]]