Difference between revisions of "Ccleaner"
(Various additions and amendments) |
(Simplifying by moving config out into its own section (some of it duplicated itself too, & right-click config may be wrong) + added Disable Update Check) |
||
Line 3: | Line 3: | ||
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. | 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. | ||
− | == | + | == WPKG Package == |
<source lang="xml"> | <source lang="xml"> | ||
<?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> | ||
<packages> | <packages> | ||
− | + | <package | |
− | + | id="ccleaner" | |
− | + | name="CCleaner" | |
− | + | revision="3.8.0.1475" | |
− | + | reboot="false" | |
− | + | priority="1090"> | |
− | + | <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.8.0.1475"/> | |
− | + | <install cmd='%SOFTWARE%\ccleaner\ccsetup308_slim.exe /S' /> | |
− | + | <upgrade cmd='%SOFTWARE%\ccleaner\ccsetup308_slim.exe /S' /> | |
− | + | ||
+ | <remove cmd='"%ProgramFiles%\CCleaner\uninst.exe" /S' /> | ||
+ | </package> | ||
+ | </packages> | ||
+ | </source> | ||
− | + | == Configuration == | |
+ | Installe CCleaner settings - winapp2 updated frequently at http://forum.piriform.com/index.php?showtopic=32066&st=0 | ||
− | + | <source lang="xml"> | |
− | + | <install cmd='%COMSPEC% /c copy "%SOFTWARE%\ccleaner\ccleaner.ini" "%PROGRAMFILES%\CCleaner\"' /> | |
− | + | <install cmd='%COMSPEC% /c copy "%SOFTWARE%\ccleaner\winapp2.ini" "%PROGRAMFILES%\CCleaner\"' /> | |
− | + | <upgrade cmd='%COMSPEC% /c copy "%SOFTWARE%\ccleaner\ccleaner.ini" "%PROGRAMFILES%\CCleaner\"' /> | |
− | + | ||
− | + | ||
− | + | ||
− | + | <upgrade cmd='%COMSPEC% /c copy "%SOFTWARE%\ccleaner\winapp2.ini" "%PROGRAMFILES%\CCleaner\"' /> | |
− | + | </source> | |
− | + | ||
− | + | ||
− | + | ||
− | |||
− | |||
− | + | Disable the update check for all users: | |
+ | HKLM\Software\Piriform\CCleaner\UpdateCheck=REG_SZ:0 | ||
− | + | Remove CCleaner options from Recycle Bin right-click menu: | |
− | + | HKCR\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\Shell\Open CCleaner... | |
− | + | Delete any Desktop shortcuts: | |
− | + | <source lang="dos"> | |
− | + | del /q "%AllUsersProfile%\Desktop\CCleaner.lnk" | |
− | + | del /q "%PUBLIC%\Desktop\CCleaner.lnk" | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</source> | </source> | ||
+ | |||
[[Category:Silent Installers]] | [[Category:Silent Installers]] |
Revision as of 09:26, 14 December 2011
This is a silent installer and uninstaller for CCleaner, a utility for cleaning up a system in terms of removing unwanted files. CCleaner is available from http://www.ccleaner.com.
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.
WPKG Package
<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package
id="ccleaner"
name="CCleaner"
revision="3.8.0.1475"
reboot="false"
priority="1090">
<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.8.0.1475"/>
<install cmd='%SOFTWARE%\ccleaner\ccsetup308_slim.exe /S' />
<upgrade cmd='%SOFTWARE%\ccleaner\ccsetup308_slim.exe /S' />
<remove cmd='"%ProgramFiles%\CCleaner\uninst.exe" /S' />
</package>
</packages>
Configuration
Installe CCleaner settings - winapp2 updated frequently at http://forum.piriform.com/index.php?showtopic=32066&st=0
<install cmd='%COMSPEC% /c copy "%SOFTWARE%\ccleaner\ccleaner.ini" "%PROGRAMFILES%\CCleaner\"' />
<install cmd='%COMSPEC% /c copy "%SOFTWARE%\ccleaner\winapp2.ini" "%PROGRAMFILES%\CCleaner\"' />
<upgrade cmd='%COMSPEC% /c copy "%SOFTWARE%\ccleaner\ccleaner.ini" "%PROGRAMFILES%\CCleaner\"' />
<upgrade cmd='%COMSPEC% /c copy "%SOFTWARE%\ccleaner\winapp2.ini" "%PROGRAMFILES%\CCleaner\"' />
Disable the update check for all users:
HKLM\Software\Piriform\CCleaner\UpdateCheck=REG_SZ:0
Remove CCleaner options from Recycle Bin right-click menu:
HKCR\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\Shell\Open CCleaner...
Delete any Desktop shortcuts:
del /q "%AllUsersProfile%\Desktop\CCleaner.lnk"
del /q "%PUBLIC%\Desktop\CCleaner.lnk"