Notices: This section not yet converted to new layout. Download stats are rolling back out.

This is not the latest version of CCleaner available.

CCleaner

5.02.5101

There are no package test results for this package

This package was approved by moderator purity on 1/30/2015.

The number-one tool for cleaning your Windows PC.

It protects your privacy online and makes your computer faster and more secure.

Notes

This package installs CCleaner without additional adware.

To install CCleaner, run the following command from the command line or from PowerShell:

C:\> choco install ccleaner --version 5.02.5101

To upgrade CCleaner, run the following command from the command line or from PowerShell:

C:\> choco upgrade ccleaner --version 5.02.5101

Files

Hide
  • tools\chocolateyInstall.ps1 Show
    $packageName = 'ccleaner'
    $installerType = 'EXE'
    $LCID = (Get-Culture).LCID
    $url = 'http://download.piriform.com/ccsetup502.exe'
    
    # The installer contains the 64-bit version too.
    # Therefore $url64 is identical to $url
    $url64 = $url
    $silentArgs = '/S /L=$LCID'
    
    # Please test every new version of CCleaner for possible adware/spyware/crapware which installs silently together with Piriform software products.
    # Only push the new package to the gallery if you are 100% sure that this package prevents the install of the bundled adware.
    $regAdd = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)\regAdd.ps1"
    
    $validExitCodes = @(0) #please insert other valid exit codes here, exit codes for ms http://msdn.microsoft.com/en-us/library/aa368542(VS.85).aspx
    
    try {
    
      # This adds a registry key which prevents Google Chrome from getting installed together with Piriform software products.
      Start-ChocolateyProcessAsAdmin "& `'$regAdd`'"
    
      Install-ChocolateyPackage $packageName $installerType $silentArgs $url $url64 -validExitCodes $validExitCodes
    
      Write-ChocolateySuccess $packageName
    
    } catch {
      Write-ChocolateyFailure $packageName $($_.Exception.Message)
      throw
    }
    
  • tools\chocolateyUninstall.ps1 Show
    $packageName = 'ccleaner'
    $installerType = 'EXE'
    $silentArgs = '/S'
    $unpath = "$Env:ProgramFiles\CCleaner\uninst.exe"
    $validExitCodes = @(0) #please insert other valid exit codes here, exit codes for ms http://msdn.microsoft.com/en-us/library/aa368542(VS.85).aspx
    
    try {
    
      Uninstall-ChocolateyPackage $packageName $installerType $silentArgs $unpath -validExitCodes $validExitCodes
    
      Write-ChocolateySuccess $packageName
    
    } catch {
      Write-ChocolateyFailure $packageName $($_.Exception.Message)
      throw
    }
    
  • tools\regAdd.ps1 Show
    # This adds a registry key which prevents Google Chrome from getting installed together with Speccy
    
    $processor = Get-WmiObject Win32_Processor
    $is64bit = $processor.AddressWidth -eq 64
    
    $regDirChrome = 'HKLM:\SOFTWARE\Google\No Chrome Offer Until'
    $regDir64Chrome = 'HKLM:\SOFTWARE\Wow6432Node\Google\No Chrome Offer Until'
    $regDirToolbar = 'HKLM:\SOFTWARE\Google\No Toolbar Offer Until'
    $regDir64Toolbar = 'HKLM:\SOFTWARE\Wow6432Node\Google\No Toolbar Offer Until'
    
    try {
    
      if ($is64bit) {
        if (-not(Test-Path $regDir64Chrome)) {New-Item $regDir64Chrome -ItemType directory -Force}
        New-ItemProperty -Name "Piriform Ltd" -Path $regDir64Chrome -PropertyType DWORD -Value 20991231 -Force
        if (-not(Test-Path $regDir64Toolbar)) {New-Item $regDir64Toolbar -ItemType directory -Force}
        New-ItemProperty -Name "Piriform Ltd" -Path $regDir64Toolbar -PropertyType DWORD -Value 20991231 -Force
      } else {
        if (-not(Test-Path $regDirChrome)) {New-Item $regDirChrome -ItemType directory -Force}
        New-ItemProperty -Name "Piriform Ltd" -Path $regDirChrome -PropertyType DWORD -Value 20991231 -Force
        if (-not(Test-Path $regDirToolbar)) {New-Item $regDirToolbar -ItemType directory -Force}
        New-ItemProperty -Name "Piriform Ltd" -Path $regDirToolbar -PropertyType DWORD -Value 20991231 -Force
      }
    
      Write-ChocolateySuccess $packageName
    
    } catch {
      Write-ChocolateyFailure $packageName $($_.Exception.Message)
      throw
    }
    

Virus Scan Results

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Dependencies

This package has no dependencies.

Package Maintainer(s)

Software Author(s)

  • Piriform

Tags

Version History

Version Downloads Last updated Status
CCleaner 5.38.6357.20171217 92489 Sunday, December 17, 2017 approved
CCleaner 5.38.6357 27726 Tuesday, December 12, 2017 approved
CCleaner 5.37.6309 97364 Wednesday, November 15, 2017 approved
CCleaner 5.36.6278 76686 Tuesday, October 24, 2017 approved
CCleaner 5.35.6210 76985 Wednesday, September 20, 2017 approved
CCleaner 5.34.6207 28826 Tuesday, September 12, 2017 approved
CCleaner 5.32.6129 53384 Tuesday, July 11, 2017 approved
CCleaner 5.31.6105 39879 Tuesday, June 13, 2017 approved
Show More

Discussion for the CCleaner Package

Ground rules:

  • This discussion is only about CCleaner and the CCleaner package. If you have feedback for Chocolatey, please contact the google group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or CCleaner, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.

comments powered by Disqus
Chocolatey.org uses cookies to enhance the user experience of the site.
Ok