Changes
Ccleaner
,→CCleaner
<package
id="ccleaner"
name="CCleaner 3.01" revision="3013.8.0.1475"
reboot="false"
priority="01090"> <variable name="version" value="3.08" />
<check type="uninstall" condition="exists" path="CCleaner" />
<check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\CCleaner\CCleaner.exe" value="3.08.10.13271475"/> <install cmd='%SOFTWAREWPKGREPO%\ccleaner\ccsetup301_slim%version%\ccsetup308_slim.exe /S' /> <!-- Remove the recycle bin context menu items Copies CCleaner Settings to Client --> <install cmd='regedit winapp2 updated frequently here http:/s %WPKGROOT%\reg\ccleaner/forum.reg' piriform.com/> <!-- Move the start menu shortcuts to the All Users profile index.php?showtopic=32066&st=0 --> <install cmd='%COMSPEC% /c mkdir copy "%AllUsersProfileWPKGREPO%\Start Menuccleaner\Programs%version%\ccleaner.ini" "%PROGRAMFILES%\CCleaner\"' /> <install cmd='%COMSPEC% /c copy "%UserProfileWPKGREPO%\Start Menuccleaner\Programs%version%\CCleaner\CCleanerwinapp2.lnkini" "%AllUsersProfilePROGRAMFILES%\Start CCleaner\"' /> <!--Remove CCleaner Options from Recycle Bin Right-Click Menu--> <install cmd='reg delete "HKCR\ProgramsCLSID\{645FF040-5081-101B-9F08-00AA002F954E}\Shell\Open CCleaner..."/f' /> <install cmd='%COMSPEC% /c rmdir /q /s reg delete "%UserProfile%HKCR\Start MenuCLSID\Programs{645FF040-5081-101B-9F08-00AA002F954E}\Shell\Run CCleaner"/f' />
<!-- Delete any Desktop shortcuts -->
<install cmd='%COMSPEC% /c del /q "%UserProfileAllUsersProfile%\Desktop\CCleaner.lnk"' > <exit code="any" /> </install> <install cmd='%COMSPEC% /c del /q "%AllUsersProfilePUBLIC%\Desktop\CCleaner.lnk"' > <exit code="any" /> </install> <install upgrade cmd='%WPKGREPO%\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 del /q copy "%PublicWPKGREPO%\Desktopccleaner\CCleaner%version%\ccleaner.lnkini"' ><exit code="any%PROGRAMFILES%\CCleaner\" ' /></install> <upgrade cmd='%SOFTWARECOMSPEC% /c copy "%WPKGREPO%\ccleaner\ccsetup301_slim%version%\winapp2.exe /Sini" "%PROGRAMFILES%\CCleaner\"' /> <!-- Remove the recycle bin context menu items CCleaner Options from Recycle Bin Right-Click Menu--> <upgrade cmd='regedit /s %WPKGROOT%\regdelete "HKCR\ccleaner.reg' /> <!CLSID\{645FF040-5081- The start menu shortcuts should already be in the All Users profile 101B-9F08-00AA002F954E}\Shell\Open CCleaner..." /f' /> <upgrade cmd='%COMSPEC% /c rmdir /q /s reg delete "%UserProfile%HKCR\Start MenuCLSID\Programs{645FF040-5081-101B-9F08-00AA002F954E}\Shell\Run CCleaner"/f' />
<!-- Delete any Desktop shortcuts -->
<upgrade cmd='%COMSPEC% /c del /q "%UserProfileAllUsersProfile%\Desktop\CCleaner.lnk"' > <exit code="any" /> </upgrade> <upgrade cmd='%COMSPEC% /c del /q "%AllUsersProfilePUBLIC%\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' />
<remove cmd='%COMSPEC% /c rmdir /q /s "%AllUsersProfile%\Start Menu\Programs\CCleaner"' />
</package>
</packages>
</source>
[[Category:Silent Installers]]