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.10.5373

There are no package test results for this package

This package was approved as a trusted package on 9/24/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.10.5373

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

C:\> choco upgrade ccleaner --version 5.10.5373

Files

Hide
  • tools\chocolateyInstall.ps1 Show
    $packageName = 'ccleaner'
    $installerType = 'EXE'
    $LCID = (Get-Culture).LCID
    $url = 'http://download.piriform.com/ccsetup510.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.50.6911 21415 Thursday, November 29, 2018 approved
CCleaner 5.49.6856 27824 Monday, November 12, 2018 approved
CCleaner 5.48.6834 26396 Thursday, October 25, 2018 approved
CCleaner 5.47.6716.20181017 17657 Wednesday, October 17, 2018 approved
CCleaner 5.47.6716 36131 Thursday, September 20, 2018 approved
CCleaner 5.46.6652 28987 Thursday, August 30, 2018 approved
CCleaner 5.44.6575 53250 Tuesday, June 26, 2018 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