Glaedr Posted October 31, 2008 Share Posted October 31, 2008 Hey guys,Is there any updated version of ccleaner?The newest is 2.12 i think.Cheers Link to comment Share on other sites More sharing options...
Grake Posted October 31, 2008 Share Posted October 31, 2008 (edited) Download the latest version hereccleaner.exe /Sthen I import this reg file. Removes the right click options on recycle bin and unchecks update.Windows Registry Editor Version 5.00[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\Shell\Open CCleaner...] [-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\Shell\Run CCleaner] [HKEY_CURRENT_USER\Software\Piriform\CCleaner] "UpdateCheck"="0" Edited October 31, 2008 by Grake Link to comment Share on other sites More sharing options...
radix Posted October 31, 2008 Share Posted October 31, 2008 Download the latest version hereccleaner.exe /Sthen I import this reg file. Removes the right click options on recycle bin and unchecks update.Windows Registry Editor Version 5.00 [-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\Shell\Open CCleaner...] [-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\Shell\Run CCleaner] [HKEY_CURRENT_USER\Software\Piriform\CCleaner] "UpdateCheck"="0"I use ccleaner.exe /S and then copy ccleaner.ini in installation folder (one of the settings is "Save all settings to INI file"). Link to comment Share on other sites More sharing options...
ajua Posted November 3, 2008 Author Share Posted November 3, 2008 You can also make an SFX archive (or other setup authoring) using the portable version. This way you avoid the shell extension additions at all and more lines in your script/cmd files. Link to comment Share on other sites More sharing options...
HØLLØW Posted November 6, 2008 Share Posted November 6, 2008 The best and easiest method is the one from radix. Link to comment Share on other sites More sharing options...
radix Posted November 6, 2008 Share Posted November 6, 2008 I wrote a little script for installing CCleaner slim version:Opt("TrayIconDebug", 1); Installer file name$Installer = "ccsetup212_slim.exe"; Detect the Operating System type (32 bit or 64 bit)$OS = _OSBit()If $OS = 32 Then ; Installation folder $InstallLocation = @ProgramFilesDir & "\CCleaner" $PreviousInstallation = RegRead("HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\CCleaner", "UninstallString") If StringRight($PreviousInstallation, 1) = '"' Then $PreviousInstallation = StringTrimRight($PreviousInstallation, 1) EndIf If StringLeft($PreviousInstallation, 1) = '"' Then $PreviousInstallation = StringTrimLeft($PreviousInstallation, 1) EndIf If FileExists($PreviousInstallation) Then MsgBox(0x40010, @ScriptName, "Please uninstall previous version of CCleaner before using this script", 4) Exit EndIfEndIfIf $OS = 64 Then ; Installation folder $InstallLocation = @HomeDrive & "\Program Files (x86)\CCleaner" $PreviousInstallation = RegRead("HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\CCleaner", "UninstallString") If StringRight($PreviousInstallation, 1) = '"' Then $PreviousInstallation = StringTrimRight($PreviousInstallation, 1) EndIf If StringLeft($PreviousInstallation, 1) = '"' Then $PreviousInstallation = StringTrimLeft($PreviousInstallation, 1) EndIf If FileExists($PreviousInstallation) Then MsgBox(0x40010, @ScriptName, "Please uninstall previous version of CCleaner before using this script", 4) Exit EndIfEndIf; Run the installerRunWait($Installer & " /S")#include <File.au3>; Create ccleaner.ini$IniFilePath = $InstallLocation & "\ccleaner.ini"_FileCreate($IniFilePath); Write ini sectionsIniWriteSection($IniFilePath, "Options", ""); Write some keys and values in ccleaner.iniIniWrite($IniFilePath, "Options", "(App)Mozilla - Saved Form Information", "True")IniWrite($IniFilePath, "Options", "(App)Opera - Cookies", "True")IniWrite($IniFilePath, "Options", "(App)Autocomplete Form History", "True")IniWrite($IniFilePath, "Options", "(App)Start Menu Shortcuts", "True")IniWrite($IniFilePath, "Options", "(App)Desktop Shortcuts", "True")IniWrite($IniFilePath, "Options", "(App)Old Prefetch data", "True")IniWrite($IniFilePath, "Options", "(App)Menu Order Cache", "True")IniWrite($IniFilePath, "Options", "(App)Tray Notifications Cache", "True")IniWrite($IniFilePath, "Options", "(App)Window Size/Location Cache", "True")IniWrite($IniFilePath, "Options", "(App)User Assist History", "True")IniWrite($IniFilePath, "Options", "(App)IIS Log Files", "True")IniWrite($IniFilePath, "Options", "(App)Hotfix Uninstallers", "True")IniWrite($IniFilePath, "Options", "(App)Custom Folders", "True")IniWrite($IniFilePath, "Options", "DelayTemp", 0)IniWrite($IniFilePath, "Options", "HideWarnings", 1)IniWrite($IniFilePath, "Options", "AutoClose", 1)IniWrite($IniFilePath, "Options", "BackupPrompt", 0)IniWrite($IniFilePath, "Options", "UpdateCheck", 0)IniWrite($IniFilePath, "Options", "MSG_WARNMOZCACHE", "False")IniWrite($IniFilePath, "Options", "MSG_CONFIRMCLEAN", "False")Func _OSBit() Local $tOS = DllStructCreate("char[256]") Local $aGSWD = DllCall("Kernel32.dll", "int", "GetSystemWow64Directory", "ptr", DllStructGetPtr($tOS), "int", 256) If IsArray($aGSWD) And DllStructGetData($tOS, 1) Then Return 64 Return 32EndFunc Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now