Created
October 13, 2016 00:25
-
-
Save SyrianBallaS/e51ae229cafae383d13f212abb3749f8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\Users\Sam>choco install ccleaner -debug -verbose | |
Chocolatey v0.10.3 | |
Chocolatey is running on Windows v 10.0.14393.0 | |
Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old". | |
Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old". | |
Command line: "C:\ProgramData\chocolatey\choco.exe" install ccleaner -debug -verbose | |
Received arguments: install ccleaner -debug -verbose | |
RemovePendingPackagesTask is now ready and waiting for PreRunMessage. | |
Sending message 'PreRunMessage' out if there are subscribers... | |
[Pending] Removing all pending packages that should not be considered installed... | |
Pending file found for Office365HomePremium, but the file is locked by another process. | |
The source 'https://chocolatey.org/api/v2/' evaluated to a 'normal' source type | |
NOTE: Hiding sensitive configuration data! Please double and triple | |
check to be sure no sensitive data is shown, especially if copying | |
output to a gist for review. | |
Configuration: CommandName='install'| | |
CacheLocation='C:\Users\Sam\AppData\Local\Temp\chocolatey'| | |
ContainsLegacyPackageInstalls='True'| | |
CommandExecutionTimeoutSeconds='7200'|WebRequestTimeoutSeconds='30'| | |
Sources='https://chocolatey.org/api/v2/'|SourceType='normal'| | |
Debug='True'|Verbose='True'|Force='False'|Noop='False'| | |
HelpRequested='False'|RegularOutput='True'|QuietOutput='False'| | |
PromptForConfirmation='False'|AcceptLicense='False'| | |
AllowUnofficialBuild='False'|Input='ccleaner'|AllVersions='False'| | |
SkipPackageInstallProvider='False'|PackageNames='ccleaner'| | |
Prerelease='False'|ForceX86='False'|OverrideArguments='False'| | |
NotSilent='False'|ApplyPackageParametersToDependencies='False'| | |
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'| | |
AllowMultipleVersions='False'|AllowDowngrade='False'| | |
ForceDependencies='False'|Information.PlatformType='Windows'| | |
Information.PlatformVersion='10.0.14393.0'| | |
Information.PlatformName='Windows'| | |
Information.ChocolateyVersion='0.10.3.0'| | |
Information.ChocolateyProductVersion='0.10.3'| | |
Information.FullName='choco, Version=0.10.3.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'| | |
Information.Is64Bit='True'|Information.IsInteractive='True'| | |
Information.IsUserAdministrator='True'| | |
Information.IsProcessElevated='True'| | |
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'| | |
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'| | |
Features.AllowEmptyChecksums='True'| | |
Features.AllowEmptyChecksumsSecure='True'| | |
Features.FailOnAutoUninstaller='True'| | |
Features.FailOnStandardError='True'|Features.UsePowerShellHost='True'| | |
Features.LogEnvironmentValues='False'|Features.VirusCheck='False'| | |
Features.FailOnInvalidOrMissingLicense='False'| | |
Features.IgnoreInvalidOptionsSwitches='True'| | |
Features.UsePackageExitCodes='True'| | |
Features.UseFipsCompliantChecksums='False'| | |
Features.ScriptsCheckLastExitCode='False'| | |
ListCommand.LocalOnly='False'| | |
ListCommand.IncludeRegistryPrograms='False'|ListCommand.PageSize='25'| | |
ListCommand.Exact='False'|ListCommand.ByIdOnly='False'| | |
ListCommand.IdStartsWith='False'|ListCommand.OrderByPopularity='False'| | |
ListCommand.ApprovedOnly='False'| | |
ListCommand.DownloadCacheAvailable='False'| | |
ListCommand.NotBroken='False'|UpgradeCommand.FailOnUnfound='False'| | |
UpgradeCommand.FailOnNotInstalled='False'| | |
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'| | |
NewCommand.AutomaticPackage='False'| | |
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'| | |
SourceCommand.Priority='0'|FeatureCommand.Command='unknown'| | |
ConfigCommand.Command='unknown'|PinCommand.Command='unknown'| | |
_ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _ | |
Installing the following packages: | |
ccleaner | |
By installing you accept licenses for the packages. | |
[NuGet] Installing 'ccleaner 5.22.5724'. | |
[NuGet] Added file 'chocolateyInstall.ps1' to folder 'ccleaner\tools'. | |
[NuGet] Added file 'chocolateyUninstall.ps1' to folder 'ccleaner\tools'. | |
[NuGet] Added file 'regAdd.ps1' to folder 'ccleaner\tools'. | |
[NuGet] Added file 'ccleaner.nuspec' to folder 'ccleaner'. | |
[NuGet] Added file 'ccleaner.nupkg' to folder 'ccleaner'. | |
[NuGet] Successfully installed 'ccleaner 5.22.5724'. | |
ccleaner v5.22.5724 [Approved] | |
ccleaner package files install completed. Performing other installation steps. | |
Setting installer args for ccleaner | |
Setting package parameters for ccleaner | |
Contents of 'C:\ProgramData\chocolatey\lib\ccleaner\tools\chocolateyInstall.ps1': | |
$packageName = 'ccleaner' | |
$installerType = 'EXE' | |
$LCID = (Get-Culture).LCID | |
$url = 'https://download.piriform.com/ccsetup522.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) | |
# 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 | |
Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\ccleaner\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '''] | |
Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by '' | |
Host version is 5.1.14393.0, PowerShell Version is '5.1.14393.206' and CLR Version is '4.0.30319.42000'. | |
Loading community extensions | |
Importing 'C:\ProgramData\chocolatey\extensions\mm-choco\Get-AppInstallLocation.psm1' | |
VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\mm-choco\Get-AppInstallLocation.psm1'. | |
VERBOSE: Exporting function 'Get-AppInstallLocation'. | |
VERBOSE: Importing function 'Get-AppInstallLocation'. | |
Importing 'C:\ProgramData\chocolatey\extensions\mm-choco\Register-Application.psm1' | |
VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\mm-choco\Register-Application.psm1'. | |
VERBOSE: Exporting function 'Register-Application'. | |
VERBOSE: Importing function 'Register-Application'. | |
VERBOSE: Exporting function 'Format-FileSize'. | |
VERBOSE: Exporting function 'Get-ChecksumValid'. | |
VERBOSE: Exporting function 'Get-ChocolateyUnzip'. | |
VERBOSE: Exporting function 'Get-ChocolateyWebFile'. | |
VERBOSE: Exporting function 'Get-EnvironmentVariable'. | |
VERBOSE: Exporting function 'Get-EnvironmentVariableNames'. | |
VERBOSE: Exporting function 'Get-FtpFile'. | |
VERBOSE: Exporting function 'Get-OSArchitectureWidth'. | |
VERBOSE: Exporting function 'Get-ToolsLocation'. | |
VERBOSE: Exporting function 'Get-UACEnabled'. | |
VERBOSE: Exporting function 'Get-UninstallRegistryKey'. | |
VERBOSE: Exporting function 'Get-VirusCheckValid'. | |
VERBOSE: Exporting function 'Get-WebFile'. | |
VERBOSE: Exporting function 'Get-WebFileName'. | |
VERBOSE: Exporting function 'Get-WebHeaders'. | |
VERBOSE: Exporting function 'Install-BinFile'. | |
VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'. | |
VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'. | |
VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'. | |
VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'. | |
VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'. | |
VERBOSE: Exporting function 'Install-ChocolateyPackage'. | |
VERBOSE: Exporting function 'Install-ChocolateyPath'. | |
VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'. | |
VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'. | |
VERBOSE: Exporting function 'Install-ChocolateyShortcut'. | |
VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'. | |
VERBOSE: Exporting function 'Install-ChocolateyZipPackage'. | |
VERBOSE: Exporting function 'Install-Vsix'. | |
VERBOSE: Exporting function 'Set-EnvironmentVariable'. | |
VERBOSE: Exporting function 'Set-PowerShellExitCode'. | |
VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'. | |
VERBOSE: Exporting function 'Test-ProcessAdminRights'. | |
VERBOSE: Exporting function 'Uninstall-BinFile'. | |
VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'. | |
VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'. | |
VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'. | |
VERBOSE: Exporting function 'Update-SessionEnvironment'. | |
VERBOSE: Exporting function 'Write-ChocolateyFailure'. | |
VERBOSE: Exporting function 'Write-ChocolateySuccess'. | |
VERBOSE: Exporting function 'Write-FileUpdateLog'. | |
VERBOSE: Exporting function 'Write-FunctionCallLogMessage'. | |
VERBOSE: Exporting function 'Get-AppInstallLocation'. | |
VERBOSE: Exporting function 'Register-Application'. | |
VERBOSE: Exporting alias 'Get-ProcessorBits'. | |
VERBOSE: Exporting alias 'Get-OSBitness'. | |
VERBOSE: Exporting alias 'Get-InstallRegistryKey'. | |
VERBOSE: Exporting alias 'Generate-BinFile'. | |
VERBOSE: Exporting alias 'Add-BinFile'. | |
VERBOSE: Exporting alias 'Start-ChocolateyProcess'. | |
VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'. | |
VERBOSE: Exporting alias 'Remove-BinFile'. | |
VERBOSE: Exporting alias 'refreshenv'. | |
VERBOSE: Importing function 'Format-FileSize'. | |
VERBOSE: Importing function 'Get-AppInstallLocation'. | |
VERBOSE: Importing function 'Get-ChecksumValid'. | |
VERBOSE: Importing function 'Get-ChocolateyUnzip'. | |
VERBOSE: Importing function 'Get-ChocolateyWebFile'. | |
VERBOSE: Importing function 'Get-EnvironmentVariable'. | |
VERBOSE: Importing function 'Get-EnvironmentVariableNames'. | |
VERBOSE: Importing function 'Get-FtpFile'. | |
VERBOSE: Importing function 'Get-OSArchitectureWidth'. | |
VERBOSE: Importing function 'Get-ToolsLocation'. | |
VERBOSE: Importing function 'Get-UACEnabled'. | |
VERBOSE: Importing function 'Get-UninstallRegistryKey'. | |
VERBOSE: Importing function 'Get-VirusCheckValid'. | |
VERBOSE: Importing function 'Get-WebFile'. | |
VERBOSE: Importing function 'Get-WebFileName'. | |
VERBOSE: Importing function 'Get-WebHeaders'. | |
VERBOSE: Importing function 'Install-BinFile'. | |
VERBOSE: Importing function 'Install-ChocolateyDesktopLink'. | |
VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'. | |
VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'. | |
VERBOSE: Importing function 'Install-ChocolateyFileAssociation'. | |
VERBOSE: Importing function 'Install-ChocolateyInstallPackage'. | |
VERBOSE: Importing function 'Install-ChocolateyPackage'. | |
VERBOSE: Importing function 'Install-ChocolateyPath'. | |
VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'. | |
VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'. | |
VERBOSE: Importing function 'Install-ChocolateyShortcut'. | |
VERBOSE: Importing function 'Install-ChocolateyVsixPackage'. | |
VERBOSE: Importing function 'Install-ChocolateyZipPackage'. | |
VERBOSE: Importing function 'Install-Vsix'. | |
VERBOSE: Importing function 'Register-Application'. | |
VERBOSE: Importing function 'Set-EnvironmentVariable'. | |
VERBOSE: Importing function 'Set-PowerShellExitCode'. | |
VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'. | |
VERBOSE: Importing function 'Test-ProcessAdminRights'. | |
VERBOSE: Importing function 'Uninstall-BinFile'. | |
VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'. | |
VERBOSE: Importing function 'Uninstall-ChocolateyPackage'. | |
VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'. | |
VERBOSE: Importing function 'Update-SessionEnvironment'. | |
VERBOSE: Importing function 'Write-ChocolateyFailure'. | |
VERBOSE: Importing function 'Write-ChocolateySuccess'. | |
VERBOSE: Importing function 'Write-FileUpdateLog'. | |
VERBOSE: Importing function 'Write-FunctionCallLogMessage'. | |
VERBOSE: Importing alias 'Add-BinFile'. | |
VERBOSE: Importing alias 'Generate-BinFile'. | |
VERBOSE: Importing alias 'Get-InstallRegistryKey'. | |
VERBOSE: Importing alias 'Get-OSBitness'. | |
VERBOSE: Importing alias 'Get-ProcessorBits'. | |
VERBOSE: Importing alias 'Invoke-ChocolateyProcess'. | |
VERBOSE: Importing alias 'refreshenv'. | |
VERBOSE: Importing alias 'Remove-BinFile'. | |
VERBOSE: Importing alias 'Start-ChocolateyProcess'. | |
Running 'ChocolateyScriptRunner' for ccleaner v5.22.5724 with packageScript 'C:\ProgramData\chocolatey\lib\ccleaner\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\ccleaner', installArguments: '', packageParameters: '', | |
Running 'C:\ProgramData\chocolatey\lib\ccleaner\tools\chocolateyInstall.ps1' | |
Running Start-ChocolateyProcessAsAdmin -statements '& 'C:\ProgramData\chocolatey\lib\ccleaner\tools\regAdd.ps1'' | |
Elevating Permissions and running powershell block: | |
$noSleep = $False | |
& import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyProfile.psm1' | Out-Null; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1' | Out-Null; | |
try{ | |
$progressPreference="SilentlyContinue" | |
& 'C:\ProgramData\chocolatey\lib\ccleaner\tools\regAdd.ps1' | |
if(!$noSleep){start-sleep 6} | |
} | |
catch{ | |
if(!$noSleep){start-sleep 8} | |
throw | |
} | |
This may take a while, depending on the statements. | |
Setting RunAs for elevation | |
#< CLIXML | |
VERBOSE: | |
VERBOSE: | |
VERBOSE: Piriform Ltd : 20991231 | |
VERBOSE: PSPath : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Google\No Chrome Offer Until | |
VERBOSE: PSParentPath : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Google | |
VERBOSE: PSChildName : No Chrome Offer Until | |
VERBOSE: PSDrive : HKLM | |
VERBOSE: PSProvider : Microsoft.PowerShell.Core\Registry | |
VERBOSE: | |
VERBOSE: Piriform Ltd : 20991231 | |
VERBOSE: PSPath : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Google\No Toolbar Offer Until | |
VERBOSE: PSParentPath : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Google | |
VERBOSE: PSChildName : No Toolbar Offer Until | |
VERBOSE: PSDrive : HKLM | |
VERBOSE: PSProvider : Microsoft.PowerShell.Core\Registry | |
VERBOSE: | |
VERBOSE: | |
VERBOSE: | |
<Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04"><Obj S="progress" RefId="0"><TN RefId="0"><T>System.Management.Automation.PSCustomObject</T><T>System.Object</T></TN><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>Preparing modules for first use.</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj><Obj S="progress" RefId="1"><TNRef RefId="0" /><MS><I64 N="SourceId">2</I64><PR N="Record"><AV>Preparing modules for first use.</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj><S S="debug">Host version is 5.1.14393.206, PowerShell Version is '5.1.14393.206' and CLR Version is '4.0.30319.42000'.</S><S S="debug">Loading community extensions</S><S S="debug">Importing 'C:\ProgramData\chocolatey\extensions\mm-choco\Get-AppInstallLocation.psm1'</S><S S="verbose">Loading module from path 'C:\ProgramData\chocolatey\extensions\mm-choco\Get-AppInstallLocation.psm1'.</S><S S="verbose">Exporting function 'Get-AppInstallLocation'.</S><S S="verbose">Importing function 'Get-AppInstallLocation'.</S><S S="debug">Importing 'C:\ProgramData\chocolatey\extensions\mm-choco\Register-Application.psm1'</S><S S="verbose">Loading module from path 'C:\ProgramData\chocolatey\extensions\mm-choco\Register-Application.psm1'.</S><S S="verbose">Exporting function 'Register-Application'.</S><S S="verbose">Importing function 'Register-Application'.</S><S S="verbose">Exporting function 'Format-FileSize'.</S><S S="verbose">Exporting function 'Get-ChecksumValid'.</S><S S="verbose">Exporting function 'Get-ChocolateyUnzip'.</S><S S="verbose">Exporting function 'Get-ChocolateyWebFile'.</S><S S="verbose">Exporting function 'Get-EnvironmentVariable'.</S><S S="verbose">Exporting function 'Get-EnvironmentVariableNames'.</S><S S="verbose">Exporting function 'Get-FtpFile'.</S><S S="verbose">Exporting function 'Get-OSArchitectureWidth'.</S><S S="verbose">Exporting function 'Get-ToolsLocation'.</S><S S="verbose">Exporting function 'Get-UACEnabled'.</S><S S="verbose">Exporting function 'Get-UninstallRegistryKey'.</S><S S="verbose">Exporting function 'Get-VirusCheckValid'.</S><S S="verbose">Exporting function 'Get-WebFile'.</S><S S="verbose">Exporting function 'Get-WebFileName'.</S><S S="verbose">Exporting function 'Get-WebHeaders'.</S><S S="verbose">Exporting function 'Install-BinFile'.</S><S S="verbose">Exporting function 'Install-ChocolateyDesktopLink'.</S><S S="verbose">Exporting function 'Install-ChocolateyEnvironmentVariable'.</S><S S="verbose">Exporting function 'Install-ChocolateyExplorerMenuItem'.</S><S S="verbose">Exporting function 'Install-ChocolateyFileAssociation'.</S><S S="verbose">Exporting function 'Install-ChocolateyInstallPackage'.</S><S S="verbose">Exporting function 'Install-ChocolateyPackage'.</S><S S="verbose">Exporting function 'Install-ChocolateyPath'.</S><S S="verbose">Exporting function 'Install-ChocolateyPinnedTaskBarItem'.</S><S S="verbose">Exporting function 'Install-ChocolateyPowershellCommand'.</S><S S="verbose">Exporting function 'Install-ChocolateyShortcut'.</S><S S="verbose">Exporting function 'Install-ChocolateyVsixPackage'.</S><S S="verbose">Exporting function 'Install-ChocolateyZipPackage'.</S><S S="verbose">Exporting function 'Install-Vsix'.</S><S S="verbose">Exporting function 'Set-EnvironmentVariable'.</S><S S="verbose">Exporting function 'Set-PowerShellExitCode'.</S><S S="verbose">Exporting function 'Start-ChocolateyProcessAsAdmin'.</S><S S="verbose">Exporting function 'Test-ProcessAdminRights'.</S><S S="verbose">Exporting function 'Uninstall-BinFile'.</S><S S="verbose">Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.</S><S S="verbose">Exporting function 'Uninstall-ChocolateyPackage'.</S><S S="verbose">Exporting function 'Uninstall-ChocolateyZipPackage'.</S><S S="verbose">Exporting function 'Update-SessionEnvironment'.</S><S S="verbose">Exporting function 'Write-ChocolateyFailure'.</S><S S="verbose">Exporting function 'Write-ChocolateySuccess'.</S><S S="verbose">Exporting function 'Write-FileUpdateLog'.</S><S S="verbose">Exporting function 'Write-FunctionCallLogMessage'.</S><S S="verbose">Exporting function 'Get-AppInstallLocation'.</S><S S="verbose">Exporting function 'Register-Application'.</S><S S="verbose">Exporting alias 'Get-ProcessorBits'.</S><S S="verbose">Exporting alias 'Get-OSBitness'.</S><S S="verbose">Exporting alias 'Get-InstallRegistryKey'.</S><S S="verbose">Exporting alias 'Generate-BinFile'.</S><S S="verbose">Exporting alias 'Add-BinFile'.</S><S S="verbose">Exporting alias 'Start-ChocolateyProcess'.</S><S S="verbose">Exporting alias 'Invoke-ChocolateyProcess'.</S><S S="verbose">Exporting alias 'Remove-BinFile'.</S><S S="verbose">Exporting alias 'refreshenv'.</S><S S="verbose">Importing function 'Format-FileSize'.</S><S S="verbose">Importing function 'Get-AppInstallLocation'.</S><S S="verbose">Importing function 'Get-ChecksumValid'.</S><S S="verbose">Importing function 'Get-ChocolateyUnzip'.</S><S S="verbose">Importing function 'Get-ChocolateyWebFile'.</S><S S="verbose">Importing function 'Get-EnvironmentVariable'.</S><S S="verbose">Importing function 'Get-EnvironmentVariableNames'.</S><S S="verbose">Importing function 'Get-FtpFile'.</S><S S="verbose">Importing function 'Get-OSArchitectureWidth'.</S><S S="verbose">Importing function 'Get-ToolsLocation'.</S><S S="verbose">Importing function 'Get-UACEnabled'.</S><S S="verbose">Importing function 'Get-UninstallRegistryKey'.</S><S S="verbose">Importing function 'Get-VirusCheckValid'.</S><S S="verbose">Importing function 'Get-WebFile'.</S><S S="verbose">Importing function 'Get-WebFileName'.</S><S S="verbose">Importing function 'Get-WebHeaders'.</S><S S="verbose">Importing function 'Install-BinFile'.</S><S S="verbose">Importing function 'Install-ChocolateyDesktopLink'.</S><S S="verbose">Importing function 'Install-ChocolateyEnvironmentVariable'.</S><S S="verbose">Importing function 'Install-ChocolateyExplorerMenuItem'.</S><S S="verbose">Importing function 'Install-ChocolateyFileAssociation'.</S><S S="verbose">Importing function 'Install-ChocolateyInstallPackage'.</S><S S="verbose">Importing function 'Install-ChocolateyPackage'.</S><S S="verbose">Importing function 'Install-ChocolateyPath'.</S><S S="verbose">Importing function 'Install-ChocolateyPinnedTaskBarItem'.</S><S S="verbose">Importing function 'Install-ChocolateyPowershellCommand'.</S><S S="verbose">Importing function 'Install-ChocolateyShortcut'.</S><S S="verbose">Importing function 'Install-ChocolateyVsixPackage'.</S><S S="verbose">Importing function 'Install-ChocolateyZipPackage'.</S><S S="verbose">Importing function 'Install-Vsix'.</S><S S="verbose">Importing function 'Register-Application'.</S><S S="verbose">Importing function 'Set-EnvironmentVariable'.</S><S S="verbose">Importing function 'Set-PowerShellExitCode'.</S><S S="verbose">Importing function 'Start-ChocolateyProcessAsAdmin'.</S><S S="verbose">Importing function 'Test-ProcessAdminRights'.</S><S S="verbose">Importing function 'Uninstall-BinFile'.</S><S S="verbose">Importing function 'Uninstall-ChocolateyEnvironmentVariable'.</S><S S="verbose">Importing function 'Uninstall-ChocolateyPackage'.</S><S S="verbose">Importing function 'Uninstall-ChocolateyZipPackage'.</S><S S="verbose">Importing function 'Update-SessionEnvironment'.</S><S S="verbose">Importing function 'Write-ChocolateyFailure'.</S><S S="verbose">Importing function 'Write-ChocolateySuccess'.</S><S S="verbose">Importing function 'Write-FileUpdateLog'.</S><S S="verbose">Importing function 'Write-FunctionCallLogMessage'.</S><S S="verbose">Importing alias 'Add-BinFile'.</S><S S="verbose">Importing alias 'Generate-BinFile'.</S><S S="verbose">Importing alias 'Get-InstallRegistryKey'.</S><S S="verbose">Importing alias 'Get-OSBitness'.</S><S S="verbose">Importing alias 'Get-ProcessorBits'.</S><S S="verbose">Importing alias 'Invoke-ChocolateyProcess'.</S><S S="verbose">Importing alias 'refreshenv'.</S><S S="verbose">Importing alias 'Remove-BinFile'.</S><S S="verbose">Importing alias 'Start-ChocolateyProcess'.</S></Objs> | |
Command ["C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -ExecutionPolicy bypass -EncodedCommand IAAgACAAIAAgACAAJABuAG8AUwBsAGUAZQBwACAAPQAgACQARgBhAGwAcwBlAA0ACgAgACAAIAAgACAAIAAmACAAaQBtAHAAbwByAHQALQBtAG8AZAB1AGwAZQAgAC0AbgBhAG0AZQAgACAAJwBDADoAXABQAHIAbwBnAHIAYQBtAEQAYQB0AGEAXABjAGgAbwBjAG8AbABhAHQAZQB5AFwAaABlAGwAcABlAHIAcwBcAGMAaABvAGMAbwBsAGEAdABlAHkAUAByAG8AZgBpAGwAZQAuAHAAcwBtADEAJwAgAHwAIABPAHUAdAAtAE4AdQBsAGwAOwAgACYAIABpAG0AcABvAHIAdAAtAG0AbwBkAHUAbABlACAALQBuAGEAbQBlACAAIAAnAEMAOgBcAFAAcgBvAGcAcgBhAG0ARABhAHQAYQBcAGMAaABvAGMAbwBsAGEAdABlAHkAXABoAGUAbABwAGUAcgBzAFwAYwBoAG8AYwBvAGwAYQB0AGUAeQBJAG4AcwB0AGEAbABsAGUAcgAuAHAAcwBtADEAJwAgAHwAIABPAHUAdAAtAE4AdQBsAGwAOwAgAA0ACgAgACAAIAAgACAAIAB0AHIAeQB7AA0ACgAgACAAIAAgACAAIAAgACAAJABwAHIAbwBnAHIAZQBzAHMAUAByAGUAZgBlAHIAZQBuAGMAZQA9ACIAUwBpAGwAZQBuAHQAbAB5AEMAbwBuAHQAaQBuAHUAZQAiAA0ACgAgACAAIAAgACAAIAAgACAAJgAgACcAQwA6AFwAUAByAG8AZwByAGEAbQBEAGEAdABhAFwAYwBoAG8AYwBvAGwAYQB0AGUAeQBcAGwAaQBiAFwAYwBjAGwAZQBhAG4AZQByAFwAdABvAG8AbABzAFwAcgBlAGcAQQBkAGQALgBwAHMAMQAnAA0ACgAgACAAIAAgACAAIAAgACAAaQBmACgAIQAkAG4AbwBTAGwAZQBlAHAAKQB7AHMAdABhAHIAdAAtAHMAbABlAGUAcAAgADYAfQANAAoAIAAgACAAIAAgACAAfQANAAoAIAAgACAAIAAgACAAYwBhAHQAYwBoAHsADQAKACAAIAAgACAAIAAgACAAIABpAGYAKAAhACQAbgBvAFMAbABlAGUAcAApAHsAcwB0AGEAcgB0AC0AcwBsAGUAZQBwACAAOAB9AA0ACgAgACAAIAAgACAAIAAgACAAdABoAHIAbwB3AA0ACgAgACAAIAAgACAAIAB9AA==] exited with '0'. | |
Finishing 'Start-ChocolateyProcessAsAdmin' | |
0 | |
Running Install-ChocolateyPackage -validExitCodes '0' -packageName 'ccleaner' -fileType 'EXE' -silentArgs '/S /L=1033' -url 'https://download.piriform.com/ccsetup522.exe' -url64bit 'https://download.piriform.com/ccsetup522.exe' | |
Running Get-ChocolateyWebFile -packageName 'ccleaner' -fileFullPath 'C:\Users\Sam\AppData\Local\Temp\chocolatey\ccleaner\5.22.5724\ccleanerInstall.EXE' -url 'https://download.piriform.com/ccsetup522.exe' -url64bit 'https://download.piriform.com/ccsetup522.exe' -checksum '' -checksumType '' -checksum64 '' -checksumType64 '' -options 'System.Collections.Hashtable' -getOriginalFileName 'True' | |
Running Get-ProcessorBits -compare '64' | |
CPU is 64 bit | |
Setting url to 'https://download.piriform.com/ccsetup522.exe' and bitPackage to 64 | |
Running Get-WebFileName -url 'https://download.piriform.com/ccsetup522.exe' -defaultName 'ccleanerInstall.EXE' | |
Using response url to determine file name. 'https://download.piriform.com/ccsetup522.exe' | |
File name determined from url is 'ccsetup522.exe' | |
Running Get-WebHeaders -url 'https://download.piriform.com/ccsetup522.exe' -ErrorAction 'Stop' | |
Setting the UserAgent to 'chocolatey command line' | |
Request Headers: | |
'Accept':'*/*' | |
'User-Agent':'chocolatey command line' | |
Response Headers: | |
'Connection':'keep-alive' | |
'x-amz-meta-cb-modifiedtime':'Fri, 26 Aug 2016 19:24:51 GMT' | |
'x-amz-version-id':'F9dCwwTtG.E62WJ4k2cxxn2b0qB1Bni4' | |
'Age':'20893' | |
'X-Cache':'Hit from cloudfront' | |
'X-Amz-Cf-Id':'w_I3urUhjwqbuRh-d_ifbnHUEak5-uSE8h4gq9_50y_3sh893P8GNQ==' | |
'Accept-Ranges':'bytes' | |
'Content-Length':'8244656' | |
'Content-Type':'application/octet-stream' | |
'Date':'Wed, 21 Sep 2016 12:42:11 GMT' | |
'ETag':'"db9530dff0a71d48e4877d47990af006"' | |
'Last-Modified':'Tue, 13 Sep 2016 09:29:46 GMT' | |
'Server':'AmazonS3' | |
'Via':'1.1 e9301a0d750906b6da569b367fef2f83.cloudfront.net (CloudFront)' | |
ccleaner's requested file has already been downloaded. Using cached copy at | |
'C:\Users\Sam\AppData\Local\Temp\chocolatey\ccleaner\5.22.5724\ccsetup522.exe'. | |
No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare | |
Checking that 'C:\Users\Sam\AppData\Local\Temp\chocolatey\ccleaner\5.22.5724\ccsetup522.exe' is the size we expect it to be. | |
Verifying package provided checksum of '' for 'C:\Users\Sam\AppData\Local\Temp\chocolatey\ccleaner\5.22.5724\ccsetup522.exe'. | |
Running Get-ChecksumValid -file 'C:\Users\Sam\AppData\Local\Temp\chocolatey\ccleaner\5.22.5724\ccsetup522.exe' -checksum '' -checksumType '' -originalUrl 'https://download.piriform.com/ccsetup522.exe' | |
Empty checksums are allowed due to allowEmptyChecksums feature or option. | |
Running Install-ChocolateyInstallPackage -packageName 'ccleaner' -fileType 'EXE' -silentArgs '/S /L=1033' -file 'C:\Users\Sam\AppData\Local\Temp\chocolatey\ccleaner\5.22.5724\ccsetup522.exe' -validExitCodes '0' -useOnlyPackageSilentArguments 'False' | |
Installing ccleaner... | |
Running Start-ChocolateyProcessAsAdmin -validExitCodes '0' -workingDirectory 'C:\Users\Sam\AppData\Local\Temp\chocolatey\ccleaner\5.22.5724' -statements '/S /L=1033 ' -exeToRun 'C:\Users\Sam\AppData\Local\Temp\chocolatey\ccleaner\5.22.5724\ccsetup522.exe' | |
Elevating Permissions and running ["C:\Users\Sam\AppData\Local\Temp\chocolatey\ccleaner\5.22.5724\ccsetup522.exe" /S /L=1033 ]. This may take a while, depending on the statements. | |
Setting RunAs for elevation | |
Command ["C:\Users\Sam\AppData\Local\Temp\chocolatey\ccleaner\5.22.5724\ccsetup522.exe" /S /L=1033 ] exited with '0'. | |
Finishing 'Start-ChocolateyProcessAsAdmin' | |
ccleaner has been installed. | |
Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\ccleaner\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '''] exited with '0'. | |
Calling command ['"C:\WINDOWS\System32\shutdown.exe" /a'] | |
Command ['"C:\WINDOWS\System32\shutdown.exe" /a'] exited with '1116' | |
Capturing package files in 'C:\ProgramData\chocolatey\lib\ccleaner' | |
Found 'C:\ProgramData\chocolatey\lib\ccleaner\ccleaner.nupkg' | |
with checksum '0FD961B19B12BF78CCD104B86729B3AF' | |
Found 'C:\ProgramData\chocolatey\lib\ccleaner\ccleaner.nuspec' | |
with checksum '5CB9FCF7B8D24C27724CAF641CFB62A1' | |
Found 'C:\ProgramData\chocolatey\lib\ccleaner\tools\chocolateyInstall.ps1' | |
with checksum 'A5A041D5414D3012469D136BF36A158D' | |
Found 'C:\ProgramData\chocolatey\lib\ccleaner\tools\chocolateyUninstall.ps1' | |
with checksum '5323C6F64EB532F3CBC209B87E6FB275' | |
Found 'C:\ProgramData\chocolatey\lib\ccleaner\tools\regAdd.ps1' | |
with checksum '831EEF18965421736A5247C088DB3A64' | |
Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\ccleaner.5.22.5724\.registry.update". | |
Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\ccleaner.5.22.5724\.files.update". | |
Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\ccleaner.5.22.5724\.sxs". | |
Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\ccleaner.5.22.5724\.pin". | |
Attempting to delete directory "C:\ProgramData\chocolatey\lib-bad\ccleaner". | |
Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers... | |
The install of ccleaner was NOT successful. | |
Error while running 'C:\ProgramData\chocolatey\lib\ccleaner\tools\chocolateyInstall.ps1'. | |
See log for details. | |
Moving 'C:\ProgramData\chocolatey\lib\ccleaner' | |
to 'C:\ProgramData\chocolatey\lib-bad\ccleaner' | |
Attempting to delete file "C:\Users\Sam\AppData\Local\NuGet\Cache\ccleaner.5.22.5724.nupkg". | |
Chocolatey installed 0/1 packages. 1 packages failed. | |
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log). | |
Failures | |
- ccleaner - Error while running 'C:\ProgramData\chocolatey\lib\ccleaner\tools\chocolateyInstall.ps1'. | |
See log for details. | |
Sending message 'PostRunMessage' out if there are subscribers... | |
Exiting with 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment