Help - Search - Members - Calendar
Full Version: CCleaner newest version has new builds available
MSFN Forums > Unattended Windows Discussion & Support > Application Installs

   


Google Internet Forums Unattended CD/DVD Guide
ajua
if you use CCleaner as a lot people sure do, you can download the slim and potable releases of the latest version 2.01.507 . they are available at the download page

its great that they made a portable version. this way i can make a custom installer right away.
Kelsenellenelvian
YAY WOHOOOOO about freaking time.
ajua
QUOTE (Kelsenellenelvian @ Oct 4 2007, 09:12 PM) *
YAY WOHOOOOO about freaking time.


well said lol
NaDer_GenKO
How can i install this version silently without this options :
'Desktop icon'
'Automatically check for updates to CCleaner'
'Add CCleaner Yahoo! toolbar and use CCleaner from your browser'

Thanks in advance.
sp00f
QUOTE (elajua @ Oct 4 2007, 03:48 PM) *
if you use CCleaner as a lot people sure do, you can download the slim and potable releases of the latest version 2.01.507 . they are available at the download page

its great that they made a portable version. this way i can make a custom installer right away.

Not portable whistling.gif

CODE
Sorry to inform you, but CCleaner Portable is no longer available.

CCleaner 2.0 now has a portable function built-in. So, CCleaner Portable is no longer needed.

You can download CCleaner 2.0 at http://www.CCleaner.com/

I would like to think everyone for using CCleaner Portable!
NaDer_GenKO
OK.. 'sp00f'
you didnt answer my request ?!

i'm talking about the latest version "CCleaner 2.01"
and Not interested about portable tongue.gif
sp00f
whistling.gif
mr_smartepants
Pssst....slim.
whistling.gif
MHz
QUOTE (sp00f @ Oct 13 2007, 06:38 PM) *
Not portable whistling.gif

It is no longer programmed in Visual Basic which had dependencies but rather now is an executable programmed in C++ with only one configuration file. When you set it to not use the registry, then it creates an ini file within it's own directory and thus becomes suitable for portable use as well.

smile.gif
ajua
the portable build is still there. but as MHZ said, you can download the slim version version, tell it to not use the registry and use it as a portable version. the portable build is in zip archive so it doesnt need an installer.

i build my msi installer using this one.
NaDer_GenKO
QUOTE (MHz @ Oct 15 2007, 03:19 AM) *
It is no longer programmed in Visual Basic which had dependencies but rather now is an executable programmed in C++ with only one configuration file. When you set it to not use the registry, then it creates an ini file within it's own directory and thus becomes suitable for portable use as well.

smile.gif



QUOTE (elajua @ Oct 15 2007, 04:09 AM) *
the portable build is still there. but as MHZ said, you can download the slim version version, tell it to not use the registry and use it as a portable version. the portable build is in zip archive so it doesnt need an installer.

i build my msi installer using this one.


Thank you friends
Now i understand what should i do about.
radigast
I am trying to do a silent install without some of the default options checked.

For a little background info:
I used universal extractor to extract the setup.exe file, and located the iofile.ini, which seems to contain the Install option switches for the checkboxes. I am trying to DISable the following options:
1. Add Desktop Shortcut"
2. Context menus
3. "Automatically check for updates"

Any ideas how to repackage the installer so that these options are disabled by default, and the install is silent? How do you tell the CCleaner slim installer not to use the registry? Also, what program do you use to repackage the .exe setup file?
NaDer_GenKO
QUOTE (radigast @ Oct 18 2007, 09:09 AM) *
I am trying to do a silent install without some of the default options checked.

For a little background info:
I used universal extractor to extract the setup.exe file, and located the iofile.ini, which seems to contain the Install option switches for the checkboxes. I am trying to DISable the following options:
1. Add Desktop Shortcut"
2. Context menus
3. "Automatically check for updates"

Any ideas how to repackage the installer so that these options are disabled by default, and the install is silent? How do you tell the CCleaner slim installer not to use the registry? Also, what program do you use to repackage the .exe setup file?


I repackage it with Inno setup Without this options :
(Desktop icon, Context menus, check for updates and Yahoo toolbar )
Here the setup file and the script for you
Download link

and if you want to setup the Yahoo toolbar just remove the semicolon form [Run] Section and the last line in the [File] section
and Compile the script
NaDer_GenKO
Update to New Version v2.03.532
Download Link
skavenger
Bix thanks.
Works fine. thumbup.gif
Glaedr
Hey guys,

Is there any updated version of ccleaner?
The newest is 2.12 i think.



Cheers
Grake
Download the latest version here
ccleaner.exe /S

then I import this reg file. Removes the right click options on recycle bin and unchecks update.

CODE
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"
radix
QUOTE (Grake @ Oct 31 2008, 07:51 PM) *
Download the latest version here
ccleaner.exe /S

then I import this reg file. Removes the right click options on recycle bin and unchecks update.

CODE
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
CODE
ccleaner.exe /S
and then copy ccleaner.ini in installation folder (one of the settings is "Save all settings to INI file").
ajua
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.
HØLLØW
The best and easiest method is the one from radix.
radix
I wrote a little script for installing CCleaner slim version:
CODE
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
    EndIf
EndIf

If $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
    EndIf
EndIf

; Run the installer
RunWait($Installer & " /S")

#include <File.au3>

; Create ccleaner.ini
$IniFilePath = $InstallLocation & "\ccleaner.ini"
_FileCreate($IniFilePath)
; Write ini sections
IniWriteSection($IniFilePath, "Options", "")
; Write some keys and values in ccleaner.ini
IniWrite($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 32
EndFunc




Google Internet Forums Unattended CD/DVD Guide

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.