Ccleaner

From WPKG | Open Source Software Deployment and Distribution

Jump to: navigation, search

This is a silent installer and uninstaller for CCleaner.

You can download the slim installer (without the Yahoo toolbar) here http://www.piriform.com/ccleaner/download/slim.

ccleander.xml:

<?xml version="1.0" encoding="UTF-8"?>
<!--                     
	CCleaner homepage :
	http://www.ccleaner.com/
 
	Download  CCleaner without YahooToolbar! :
	http://www.ccleaner.com/download/builds.aspx
 
	WPKG pack by Gabriele
	email: gaby"at"rantoloblog.it
 
	Modified by Chris.
	Note: CCleaner's installer puts the icons in "%UserProfile%".
	This corrects that.  Also, CCleaner adds shortcuts to the
	recycle bin.  The registry script deletes them both.
-->
<packages>
<package
	id="ccleaner"
	name="CCleaner 2.33"
	revision="233"
	reboot="false"
	priority="0">
 
	<check type="uninstall" condition="exists" path="CCleaner" />
	<check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\CCleaner\CCleaner.exe" value="2.33.0.1184"/>
 
	<install cmd='%SOFTWARE%\ccleaner\ccsetup233_slim.exe /S' />
	<install cmd='regedit /s %WPKGROOT%\reg\ccleaner.reg' />
	<install cmd='%COMSPEC% /c mkdir "%AllUsersProfile%\Start Menu\Programs\CCleaner"' />
	<install cmd='%COMSPEC% /c copy "%UserProfile%\Start Menu\Programs\CCleaner\CCleaner.lnk" "%AllUsersProfile%\Start Menu\Programs\CCleaner"' />
	<install cmd='%COMSPEC% /c rmdir /q /s "%UserProfile%\Start Menu\Programs\CCleaner"' />
	<install cmd='%COMSPEC% /c del /q "%UserProfile%\Desktop\CCleaner.lnk"' />
 
	<upgrade cmd='%SOFTWARE%\ccleaner\ccsetup233_slim.exe /S' />
	<upgrade cmd='regedit /s %WPKGROOT%\reg\ccleaner.reg' />
	<upgrade cmd='%COMSPEC% /c rmdir /q /s "%UserProfile%\Start Menu\Programs\CCleaner"' />
	<upgrade cmd='%COMSPEC% /c del /q "%UserProfile%\Desktop\CCleaner.lnk"' />
 
	<remove cmd='"%ProgramFiles%\CCleaner\uninst.exe" /S' />
        <remove cmd='%COMSPEC% /c rmdir /q /s "%AllUsersProfile%\Start Menu\Programs\CCleaner"' />
 
</package>
</packages>

This will remove the recycle bin context menu items.

ccleaner.reg:

Windows Registry Editor Version 5.00
 
[-HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\Shell\Open CCleaner...]
 
[-HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\Shell\Run CCleaner]
Retrieved from "http://wpkg.org/Ccleaner"
Personal tools