Skip to content

Instantly share code, notes, and snippets.

@vorou
Created May 2, 2015 04:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vorou/3c92a536a9acb0fe6c79 to your computer and use it in GitHub Desktop.
Save vorou/3c92a536a9acb0fe6c79 to your computer and use it in GitHub Desktop.
Chocolatey v0.9.9.5
Chocolatey is running on Windows v 6.3.9600.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" uninstall -dvy rbtray
Received arguments: uninstall -dvy rbtray
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='uninstall'|
CacheLocation='C:\Users\vorou\AppData\Local\Temp'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|
Sources='https://chocolatey.org/api/v2/'|Debug='True'|Verbose='True'|
Force='False'|Noop='False'|HelpRequested='False'|RegularOutput='True'|
PromptForConfirmation='False'|AcceptLicense='True'|
AllowUnofficialBuild='False'|Input='rbtray'|AllVersions='False'|
SkipPackageInstallProvider='False'|PackageNames='rbtray'|
Prerelease='False'|ForceX86='False'|OverrideArguments='False'|
NotSilent='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|ForceDependencies='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='6.3.9600.0'|
Information.PlatformName='Windows 8.1'|
Information.ChocolateyVersion='0.9.9.5'|
Information.ChocolateyProductVersion='0.9.9.5'|
Information.FullName='choco, Version=0.9.9.5, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64Bit='True'|Information.IsInteractive='True'|
Information.IsUserAdministrator='True'|
Information.IsProcessElevated='True'|Features.AutoUninstaller='True'|
Features.CheckSumFiles='True'|ListCommand.LocalOnly='False'|
ListCommand.IncludeRegistryPrograms='False'|
UpgradeCommand.FailOnUnfound='False'|
NewCommand.AutomaticPackage='False'|SourceCommand.Command='unknown'|
FeatureCommand.Command='unknown'|PushCommand.TimeoutInSeconds='0'|
PinCommand.Command='unknown'|
_ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
Uninstalling the following packages:
rbtray
Backing up existing rbtray prior to upgrade.
Moving 'C:\ProgramData\chocolatey\lib\rbtray'
to 'C:\ProgramData\chocolatey\lib-bkp\rbtray'
Attempting to create directory "C:\ProgramData\chocolatey\lib\rbtray".
Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\rbtray\rbtray.nupkg"
to "C:\ProgramData\chocolatey\lib\rbtray\rbtray.nupkg".
Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\rbtray\RBTrayInstall.zip.txt"
to "C:\ProgramData\chocolatey\lib\rbtray\RBTrayInstall.zip.txt".
Attempting to create directory "C:\ProgramData\chocolatey\lib\rbtray\tools".
Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\rbtray\tools\chocolateyinstall.ps1"
to "C:\ProgramData\chocolatey\lib\rbtray\tools\chocolateyinstall.ps1".
Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\rbtray\tools\chocolateyuninstall.ps1"
to "C:\ProgramData\chocolatey\lib\rbtray\tools\chocolateyuninstall.ps1".
Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\rbtray\tools\GPL.txt"
to "C:\ProgramData\chocolatey\lib\rbtray\tools\GPL.txt".
Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\rbtray\tools\readme.txt"
to "C:\ProgramData\chocolatey\lib\rbtray\tools\readme.txt".
Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\rbtray\tools\removedll.ps1"
to "C:\ProgramData\chocolatey\lib\rbtray\tools\removedll.ps1".
Attempting to create directory "C:\ProgramData\chocolatey\lib\rbtray\tools\32bit".
Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\rbtray\tools\32bit\RBHook.dll"
to "C:\ProgramData\chocolatey\lib\rbtray\tools\32bit\RBHook.dll".
Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\rbtray\tools\32bit\RBTray.exe"
to "C:\ProgramData\chocolatey\lib\rbtray\tools\32bit\RBTray.exe".
Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\rbtray\tools\32bit\RBTray.exe.ignore"
to "C:\ProgramData\chocolatey\lib\rbtray\tools\32bit\RBTray.exe.ignore".
Attempting to create directory "C:\ProgramData\chocolatey\lib\rbtray\tools\64bit".
Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\rbtray\tools\64bit\RBHook.dll"
to "C:\ProgramData\chocolatey\lib\rbtray\tools\64bit\RBHook.dll".
Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\rbtray\tools\64bit\RBTray.exe"
to "C:\ProgramData\chocolatey\lib\rbtray\tools\64bit\RBTray.exe".
Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\rbtray\tools\64bit\RBTray.exe.ignore"
to "C:\ProgramData\chocolatey\lib\rbtray\tools\64bit\RBTray.exe.ignore".
Attempting to create directory "C:\ProgramData\chocolatey\lib\rbtray\tools\Source".
Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\rbtray\tools\Source\RBHook.cpp"
to "C:\ProgramData\chocolatey\lib\rbtray\tools\Source\RBHook.cpp".
Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\rbtray\tools\Source\RBHook.vcxproj"
to "C:\ProgramData\chocolatey\lib\rbtray\tools\Source\RBHook.vcxproj".
Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\rbtray\tools\Source\RBHook.vcxproj.filters"
to "C:\ProgramData\chocolatey\lib\rbtray\tools\Source\RBHook.vcxproj.filters".
Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\rbtray\tools\Source\RBTray.cpp"
to "C:\ProgramData\chocolatey\lib\rbtray\tools\Source\RBTray.cpp".
Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\rbtray\tools\Source\RBTray.h"
to "C:\ProgramData\chocolatey\lib\rbtray\tools\Source\RBTray.h".
Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\rbtray\tools\Source\RBTray.ico"
to "C:\ProgramData\chocolatey\lib\rbtray\tools\Source\RBTray.ico".
Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\rbtray\tools\Source\RBTray.rc"
to "C:\ProgramData\chocolatey\lib\rbtray\tools\Source\RBTray.rc".
Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\rbtray\tools\Source\RBTray.sln"
to "C:\ProgramData\chocolatey\lib\rbtray\tools\Source\RBTray.sln".
Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\rbtray\tools\Source\RBTray.vcxproj"
to "C:\ProgramData\chocolatey\lib\rbtray\tools\Source\RBTray.vcxproj".
Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\rbtray\tools\Source\RBTray.vcxproj.filters"
to "C:\ProgramData\chocolatey\lib\rbtray\tools\Source\RBTray.vcxproj.filters".
Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\rbtray\tools\Source\resource.h"
to "C:\ProgramData\chocolatey\lib\rbtray\tools\Source\resource.h".
Uninstalling 'rbtray 4.3.0.20150501'.
rbtray v4.3.0.20150501
Contents of 'C:\ProgramData\chocolatey\lib\rbtray\tools\chocolateyuninstall.ps1':
$ErrorActionPreference = 'Stop';
$process = Get-Process RBTray -ErrorAction SilentlyContinue
if ($process) {
Stop-Process $process
Write-Output "Process stopped, waiting for 5 sec."
Start-Sleep -s 5
}
$toolsDir ="$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
Start-ChocolateyProcessAsAdmin "& $($toolsDir)\removedll.ps1"
$packageName = 'rbtray'
UnInstall-ChocolateyZipPackage $packageName 'RBTray-4_3.zip'
$startupShortcut = "$env:APPDATA\Microsoft\Windows\Start Menu\Programs\Startup\RBTray.lnk"
if (Test-Path $startupShortcut) {
rm $startupShortcut
Write-Output "Removed startup shortcut."
}
Calling command ['"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -NoLogo -ExecutionPolicy Bypass -Command "[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\rbtray\tools\chocolateyuninstall.ps1' -installArguments '' -packageParameters ''"']
DEBUG: Posh version is 4.0
DEBUG: Loading community extensions
DEBUG: Importing 'C:\ProgramData\chocolatey\extensions\Devbox-Common.extension\Find-FilenameInPath.psm1'
VERBOSE: Loading module from path
'C:\ProgramData\chocolatey\extensions\Devbox-Common.extension\Find-FilenameInPath.psm1'.
VERBOSE: Exporting function 'Show-FilesInPath'.
VERBOSE: Exporting function 'Find-FileInPath'.
VERBOSE: Exporting function 'Find-FileInEnvPath'.
VERBOSE: Exporting function 'Test-FileInEnvPath'.
VERBOSE: Importing function 'Find-FileInEnvPath'.
VERBOSE: Importing function 'Find-FileInPath'.
VERBOSE: Importing function 'Show-FilesInPath'.
VERBOSE: Importing function 'Test-FileInEnvPath'.
DEBUG: Importing 'C:\ProgramData\chocolatey\extensions\Devbox-Common.extension\Get-RootPath.psm1'
VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\Devbox-Common.extension\Get-RootPath.psm1'.
VERBOSE: Exporting function 'Get-RootPath'.
VERBOSE: Importing function 'Get-RootPath'.
DEBUG: Importing 'C:\ProgramData\chocolatey\extensions\Devbox-Common.extension\Remove-EnvironmentVariable.psm1'
VERBOSE: Loading module from path
'C:\ProgramData\chocolatey\extensions\Devbox-Common.extension\Remove-EnvironmentVariable.psm1'.
VERBOSE: Exporting function 'Remove-EnvironmentVariable'.
VERBOSE: Importing function 'Remove-EnvironmentVariable'.
DEBUG: Importing 'C:\ProgramData\chocolatey\extensions\Devbox-Common.extension\Remove-Path.psm1'
VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\Devbox-Common.extension\Remove-Path.psm1'.
VERBOSE: Exporting function 'Remove-Path'.
VERBOSE: Exporting function 'Set-PathCleanup'.
VERBOSE: Importing function 'Remove-Path'.
VERBOSE: Importing function 'Set-PathCleanup'.
DEBUG: Importing 'C:\ProgramData\chocolatey\extensions\Devbox-Common.extension\Show-AppInfoInstalled.psm1'
VERBOSE: Loading module from path
'C:\ProgramData\chocolatey\extensions\Devbox-Common.extension\Show-AppInfoInstalled.psm1'.
VERBOSE: Exporting function 'Show-AppUninstallInfo'.
VERBOSE: Exporting function 'Stop-OnAppIsInstalled'.
VERBOSE: Importing function 'Show-AppUninstallInfo'.
VERBOSE: Importing function 'Stop-OnAppIsInstalled'.
VERBOSE: Exporting function 'Get-BinRoot'.
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-ProcessorBits'.
VERBOSE: Exporting function 'Get-UACEnabled'.
VERBOSE: Exporting function 'Get-VirusCheckValid'.
VERBOSE: Exporting function 'Get-WebFile'.
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-Vsix'.
VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
VERBOSE: Exporting function 'Set-EnvironmentVariable'.
VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
VERBOSE: Exporting function 'Test-ProcessAdminRights'.
VERBOSE: Exporting function 'Uninstall-BinFile'.
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 'Find-FileInEnvPath'.
VERBOSE: Exporting function 'Find-FileInPath'.
VERBOSE: Exporting function 'Show-FilesInPath'.
VERBOSE: Exporting function 'Test-FileInEnvPath'.
VERBOSE: Exporting function 'Get-RootPath'.
VERBOSE: Exporting function 'Remove-EnvironmentVariable'.
VERBOSE: Exporting function 'Remove-Path'.
VERBOSE: Exporting function 'Set-PathCleanup'.
VERBOSE: Exporting function 'Show-AppUninstallInfo'.
VERBOSE: Exporting function 'Stop-OnAppIsInstalled'.
VERBOSE: Exporting alias 'Generate-BinFile'.
VERBOSE: Exporting alias 'Add-BinFile'.
VERBOSE: Exporting alias 'Remove-BinFile'.
Process stopped, waiting for 5 sec.
DEBUG: Running 'Start-ChocolateyProcessAsAdmin' with exeToRun:'powershell', statements: '&
C:\ProgramData\chocolatey\lib\rbtray\tools\removedll.ps1'
DEBUG: Elevating Permissions and running powershell block:
$noSleep = $False
& import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1';
try{
$progressPreference="SilentlyContinue"
& C:\ProgramData\chocolatey\lib\rbtray\tools\removedll.ps1
if(!$noSleep){start-sleep 6}
}
catch{
if(!$noSleep){start-sleep 8}
throw
}
This may take a while, depending on the statements.
Removing the DLLs...
DLLs removed.
DEBUG: Finishing 'Start-ChocolateyProcessAsAdmin'
DEBUG: Running 'UnInstall-ChocolateyZipPackage' for rbtray RBTray-4_3.zip
Removed startup shortcut.
Command ['"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -NoLogo -ExecutionPolicy Bypass -Command "[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\rbtray\tools\chocolateyuninstall.ps1' -installArguments '' -packageParameters ''"'] exited with '0'
Skipping auto uninstaller - No registry snapshot.
Attempting to delete directory "C:\ProgramData\chocolatey\.chocolatey\rbtray.4.3.0.20150501".
Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\rbtray".
This is try 1/3. Retrying after 300 milliseconds.
Error converted to warning:
System.UnauthorizedAccessException: Access to the path 'RBHook.dll' is denied.
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at chocolatey.infrastructure.tolerance.FaultTolerance.<>c__DisplayClass1.<retry>b__0()
at chocolatey.infrastructure.tolerance.FaultTolerance.retry[T](Int32 numberOfTries, Func`1 function, Int32 waitDurationMilliseconds, Int32 increaseRetryByMilliseconds)
This is try 2/3. Retrying after 400 milliseconds.
Error converted to warning:
System.UnauthorizedAccessException: Access to the path 'RBHook.dll' is denied.
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at chocolatey.infrastructure.tolerance.FaultTolerance.<>c__DisplayClass1.<retry>b__0()
at chocolatey.infrastructure.tolerance.FaultTolerance.retry[T](Int32 numberOfTries, Func`1 function, Int32 waitDurationMilliseconds, Int32 increaseRetryByMilliseconds)
Maximum tries of 3 reached. Throwing error.
Attempted to remove 'C:\ProgramData\chocolatey\lib-bkp\rbtray' but had an error::
System.UnauthorizedAccessException: Access to the path 'RBHook.dll' is denied.
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at chocolatey.infrastructure.tolerance.FaultTolerance.<>c__DisplayClass1.<retry>b__0()
at chocolatey.infrastructure.tolerance.FaultTolerance.retry[T](Int32 numberOfTries, Func`1 function, Int32 waitDurationMilliseconds, Int32 increaseRetryByMilliseconds)
at chocolatey.infrastructure.tolerance.FaultTolerance.<>c__DisplayClass4.<try_catch_with_logging_exception>b__3()
at chocolatey.infrastructure.tolerance.FaultTolerance.try_catch_with_logging_exception[T](Func`1 function, String errorMessage, Boolean throwError, Boolean logWarningInsteadOfError)
Removed file 'RBTray.exe.ignore' to folder 'C:\ProgramData\chocolatey\lib\rbtray\tools\32bit'.
Removed file 'RBTray.exe.ignore' to folder 'C:\ProgramData\chocolatey\lib\rbtray\tools\64bit'.
Removed file 'chocolateyinstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\rbtray\tools'.
Removed file 'chocolateyuninstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\rbtray\tools'.
Removed file 'removedll.ps1' to folder 'C:\ProgramData\chocolatey\lib\rbtray\tools'.
Removed file 'rbtray.nupkg' to folder 'C:\ProgramData\chocolatey\lib\rbtray'.
The directory is not empty.
Successfully uninstalled 'rbtray 4.3.0.20150501'.
rbtray has been successfully uninstalled.
Chocolatey uninstalled 1/1 packages. 0 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment