35
edits
Changes
Ccleaner
,Updated to CCleaner 3.0.1 and cleaned up the package
This is a silent installer and uninstaller for CCleaner.
http://www.ccleaner.com/
WPKG pack package by Gabriele
email: gaby"at"rantoloblog.it
This corrects that. Also, CCleaner adds shortcuts to the
recycle bin. The registry script deletes them both.
== CCleaner ==
<source lang="xml">
<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package
id="ccleaner"
name="CCleaner 3.0001" revision="300301"
reboot="false"
priority="0">
<check type="uninstall" condition="exists" path="CCleaner" />
<check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\CCleaner\CCleaner.exe" value="3.0.01.13101327"/>
<install cmd='%SOFTWARE%\ccleaner\ccsetup300_slimccsetup301_slim.exe /S' /> <!-- Remove the recycle bin context menu items -->
<install cmd='regedit /s %WPKGROOT%\reg\ccleaner.reg' />
<!-- Move the start menu shortcuts to the All Users profile -->
<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"' />
<!-- Delete any Desktop shortcuts --> <install cmd='%COMSPEC% /c del /q "%UserProfile%\Desktop\CCleaner.lnk"' > <exit code="any" /> </install> <install cmd='%COMSPEC% /c del /q "%AllUsersProfile%\Desktop\CCleaner.lnk"' > <exit code="any" /> </install> <install cmd='%COMSPEC% /c del /q "%Public%\Desktop\CCleaner.lnk"' > <exit code="any" /> </install>
<upgrade cmd='%SOFTWARE%\ccleaner\ccsetup300_slimccsetup301_slim.exe /S' /> <!-- Remove the recycle bin context menu items -->
<upgrade cmd='regedit /s %WPKGROOT%\reg\ccleaner.reg' />
<!-- The start menu shortcuts should already be in the All Users profile -->
<upgrade cmd='%COMSPEC% /c rmdir /q /s "%UserProfile%\Start Menu\Programs\CCleaner"' />
<!-- Delete any Desktop shortcuts --> <upgrade cmd='%COMSPEC% /c del /q "%UserProfile%\Desktop\CCleaner.lnk"' > <exit code="any" /> </upgrade> <upgrade cmd='%COMSPEC% /c del /q "%AllUsersProfile%\Desktop\CCleaner.lnk"' > <exit code="any" /> </upgrade> <upgrade cmd='%COMSPEC% /c del /q "%Public%\Desktop\CCleaner.lnk"' > <exit code="any" /> </upgrade>
<remove cmd='"%ProgramFiles%\CCleaner\uninst.exe" /S' />