60
edits
Changes
Added upgrade section to cope with version number update in response to CutePDF upgrade
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">
<?xml version="1.0" encoding="UTF-8"?>
<packages>
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="-1073741515" />
</remove>
<remove cmd="taskkill /F /IM iexplore.exe">
<exit code="0" />
<exit code="-1073741515" />
</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]]