Changes

Jump to: navigation, search

Ccleaner

440 bytes added, 13:11, 21 October 2011
Various additions and amendments
This is a silent installer and uninstaller for CCleaner, a utility for cleaning up a system in terms of removing unwanted files. CCleaner homepageis available from http://www.ccleaner.com/ You can download the slim installer (without the Yahoo toolbar) herehttp://www.piriform.com/ccleaner/download/slim.
In a managed environment you're best using CCLeaner (Slim) that doesn't include the Yahoo! Toolbar. The Slim version is available from http://www.piriform.com/ccleaner/download/slim or from the Builds download page on the CCleaner web site a week or two after the release of any new version of CCleaner. Note that after a new release, and before the new Slim version is made available, the previous Slim version will not be available, at least using the web site interface.
== CCleaner ==
<check type="uninstall" condition="exists" path="CCleaner" />
 
<check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\CCleaner\CCleaner.exe" value="3.8.0.1475"/>
<install cmd='%WPKGREPOSOFTWARE%\ccleaner\%version%\ccsetup308_slim.exe /S' /> 
<!--Copies CCleaner Settings to Client - winapp2 updated frequently here http://forum.piriform.com/index.php?showtopic=32066&st=0 -->
<install cmd='%COMSPEC% /c copy "%WPKGREPOSOFTWARE%\ccleaner\%version%\ccleaner.ini" "%PROGRAMFILES%\CCleaner\"' />  <install cmd='%COMSPEC% /c copy "%WPKGREPOSOFTWARE%\ccleaner\%version%\winapp2.ini" "%PROGRAMFILES%\CCleaner\"' /> 
<!--Remove CCleaner Options from Recycle Bin Right-Click Menu-->
<install cmd='reg delete "HKCR\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\Shell\Open CCleaner..." /f' />
 
<install cmd='reg delete "HKCR\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\Shell\Run CCleaner" /f' />
 
<!-- Delete any Desktop shortcuts -->
<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='%WPKGREPOSOFTWARE%\ccleaner\%version%\ccsetup308_slim.exe /S' /> 
<!--Copies CCleaner Settings to Client - winapp2 updated frequently here http://forum.piriform.com/index.php?showtopic=32066&st=0 -->
<upgrade cmd='%COMSPEC% /c copy "%WPKGREPOSOFTWARE%\ccleaner\%version%\ccleaner.ini" "%PROGRAMFILES%\CCleaner\"' />  <upgrade cmd='%COMSPEC% /c copy "%WPKGREPOSOFTWARE%\ccleaner\%version%\winapp2.ini" "%PROGRAMFILES%\CCleaner\"' /> 
<!--Remove CCleaner Options from Recycle Bin Right-Click Menu-->
<upgrade cmd='reg delete "HKCR\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\Shell\Open CCleaner..." /f' />
 
<upgrade cmd='reg delete "HKCR\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\Shell\Run CCleaner" /f' />
 
<!-- Delete any Desktop shortcuts -->
<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" />
<remove cmd='"%ProgramFiles%\CCleaner\uninst.exe" /S' />
 
<remove cmd='%COMSPEC% /c rmdir /q /s "%AllUsersProfile%\Start Menu\Programs\CCleaner"' />
</package>
577
edits

Navigation menu