[wpkg-users] Best way to remove pre-installed software

David Petterson david at ifm.liu.se
Wed Feb 8 13:07:05 CET 2012


Here is one of my "remove unwanted software" packages:


<package id="skypetoolbarremover" name="Skype Toolbar Remover" 
revision="%VERSION%" reboot="false" priority="10">
	<variable name="VERSION" value="1"/>
	<check type="logical" condition="not">
		<check type="uninstall" condition="exists" path="Skype Toolbars"/>
	</check>
		<install cmd='%SOFTWARE%\tools\msiwait.cmd'/>
		<install cmd='MsiExec.exe /QN /NORESTART 
/X{B6CF2967-C81E-40C0-9815-C05774FEF120} /log 
%TEMP%\skypetoolbaruninstall.log'><exit code='1605'/><exit 
code='3010'/></install>
		<install cmd='MsiExec.exe /QN /NORESTART 
/X{A29549FD-65F3-440C-A552-6B8114CF319D} /log 
%TEMP%\skypetoolbaruninstall.log'><exit code='1605'/><exit 
code='3010'/></install>
		<install cmd='MsiExec.exe /QN /NORESTART 
/X{CD95D125-2992-4858-B3EF-5F6FB52FBAD6} /log 
%TEMP%\skypetoolbaruninstall.log'><exit code='1605'/><exit 
code='3010'/></install>
		<upgrade	include="install"/>
		<downgrade	include="install"/>
		<remove		include="install"/>
	</package>

/David

-- 
David Petterson <david at ifm.liu.se>		Phone: +46(0)13-28 2617
Systems Administrator
Department of Physics, Chemistry and Biology at Linköping University
Office: F F202
SE 581 83 Linköping, Sweden



More information about the wpkg-users mailing list