Difference between revisions of "Ask Toolbar"
From WPKG | Open Source Software Deployment and Distribution
(Changed priority to 0 from 499 so that it does its thing *after* CutePDF has been installed) |
(Added upgrade section to cope with version number update in response to CutePDF upgrade) |
||
Line 1: | Line 1: | ||
− | This is a silent remover for the Ask Toolbar which is for exemple automatically installed with [[CutePDF Writer]]. You have to kill all web browser sessions to remove the toolbar successfully (Internet Explorer and Firefox are managed now). | + | This is a silent remover for the Ask Toolbar which is for exemple automatically installed with [[CutePDF Writer]]. You have to kill all web browser sessions to remove the toolbar successfully (Internet Explorer and Firefox are managed now). The upgrade section is in there for when CutePDF Writer is upgraded itself - remember to increment the revision number here in order to make this package run again. |
− | + | ||
<source lang="xml"> | <source lang="xml"> | ||
<?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> | ||
<packages> | <packages> | ||
− | + | <package id="asktoolbar" | |
name="Ask Toolbar" | name="Ask Toolbar" | ||
revision="1" | revision="1" | ||
priority="0" | priority="0" | ||
reboot="false"> | reboot="false"> | ||
− | + | ||
<check type="uninstall" condition="exists" path="Ask Toolbar"/> | <check type="uninstall" condition="exists" path="Ask Toolbar"/> | ||
− | + | ||
<!-- No install command - just a remover of the toolbar installed by CutePDF Writer --> | <!-- No install command - just a remover of the toolbar installed by CutePDF Writer --> | ||
<remove cmd="taskkill /F /IM Firefox.exe"> | <remove cmd="taskkill /F /IM Firefox.exe"> | ||
Line 19: | Line 18: | ||
<exit code="-1073741515" /> | <exit code="-1073741515" /> | ||
</remove> | </remove> | ||
+ | |||
<remove cmd="taskkill /F /IM iexplore.exe"> | <remove cmd="taskkill /F /IM iexplore.exe"> | ||
<exit code="0" /> | <exit code="0" /> | ||
Line 24: | Line 24: | ||
<exit code="-1073741515" /> | <exit code="-1073741515" /> | ||
</remove> | </remove> | ||
− | + | <remove cmd='msiexec /qn /norestart /x {86D4B82A-ABED-442A-BE86-96357B70F4FE}'> | |
− | <exit code='0' /><exit code='1605' /> | + | <exit code='0' /> |
− | + | <exit code='1605' /> | |
− | + | </remove> | |
− | + | ||
− | + | ||
+ | <upgrade cmd="taskkill /F /IM Firefox.exe"> | ||
+ | <exit code="0" /> | ||
+ | <exit code="128" /> | ||
+ | <exit code="-1073741515" /> | ||
+ | </upgrade> | ||
+ | <upgrade cmd="taskkill /F /IM iexplore.exe"> | ||
+ | <exit code="0" /> | ||
+ | <exit code="128" /> | ||
+ | <exit code="-1073741515" /> | ||
+ | </upgrade> | ||
+ | |||
+ | <upgrade cmd='msiexec /qn /norestart /x {86D4B82A-ABED-442A-BE86-96357B70F4FE}'> | ||
+ | <exit code='0' /> | ||
+ | <exit code='1605' /> | ||
+ | </upgrade> | ||
+ | |||
+ | </package> | ||
+ | </packages> | ||
+ | </source> | ||
[[category:Silent Installers]] | [[category:Silent Installers]] |
Revision as of 14:10, 8 July 2011
This is a silent remover for the Ask Toolbar which is for exemple automatically installed with CutePDF Writer. You have to kill all web browser sessions to remove the toolbar successfully (Internet Explorer and Firefox are managed now). The upgrade section is in there for when CutePDF Writer is upgraded itself - remember to increment the revision number here in order to make this package run again.
<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package id="asktoolbar"
name="Ask Toolbar"
revision="1"
priority="0"
reboot="false">
<check type="uninstall" condition="exists" path="Ask Toolbar"/>
<!-- No install command - just a remover of the toolbar installed by CutePDF Writer -->
<remove cmd="taskkill /F /IM Firefox.exe">
<exit code="0" />
<exit code="128" />
<exit code="-1073741515" />
</remove>
<remove cmd="taskkill /F /IM iexplore.exe">
<exit code="0" />
<exit code="128" />
<exit code="-1073741515" />
</remove>
<remove cmd='msiexec /qn /norestart /x {86D4B82A-ABED-442A-BE86-96357B70F4FE}'>
<exit code='0' />
<exit code='1605' />
</remove>
<upgrade cmd="taskkill /F /IM Firefox.exe">
<exit code="0" />
<exit code="128" />
<exit code="-1073741515" />
</upgrade>
<upgrade cmd="taskkill /F /IM iexplore.exe">
<exit code="0" />
<exit code="128" />
<exit code="-1073741515" />
</upgrade>
<upgrade cmd='msiexec /qn /norestart /x {86D4B82A-ABED-442A-BE86-96357B70F4FE}'>
<exit code='0' />
<exit code='1605' />
</upgrade>
</package>
</packages>