Ask Toolbar

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search

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"?>
 <package id="asktoolbar" 
 	name="Ask Toolbar" 
        <check type="logical" condition="not">
 		<check type="uninstall" condition="exists" path="Ask Toolbar"/>
	<install cmd="taskkill /F /IM Firefox.exe">
		<exit code="0" />
		<exit code="128" />
		<exit code="-1073741515" />

	<install cmd="taskkill /F /IM iexplore.exe">
		<exit code="0" />
		<exit code="128" />
		<exit code="-1073741515" />
 	<install cmd='msiexec /qn /norestart /x {86D4B82A-ABED-442A-BE86-96357B70F4FE}'>
		<exit code='0' />
		<exit code='1605' />

	<upgrade include="install" />