AnthonyMastrean / chocolateypackages

Application packages for Windows
https://chocolatey.org/profiles/AnthonyMastrean
18 stars 63 forks source link

franz fails to uninstall #389

Open etheaven opened 4 years ago

etheaven commented 4 years ago

after doing choco uninstall franz -y this happens


2020-06-12 23:54:02,843 2632 [DEBUG] - --- End of List ---
2020-06-12 23:54:02,928 2632 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\franz".
2020-06-12 23:54:02,931 2632 [DEBUG] - Backing up existing franz prior to operation.
2020-06-12 23:54:02,932 2632 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\franz'
 to 'C:\ProgramData\chocolatey\lib-bkp\franz'
2020-06-12 23:54:04,945 2632 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\franz".
2020-06-12 23:54:04,946 2632 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\franz\franz.nupkg"
 to "C:\ProgramData\chocolatey\lib\franz\franz.nupkg".
2020-06-12 23:54:04,947 2632 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\franz\franz.nuspec"
 to "C:\ProgramData\chocolatey\lib\franz\franz.nuspec".
2020-06-12 23:54:04,947 2632 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\franz\tools".
2020-06-12 23:54:04,948 2632 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\franz\tools\chocolateyinstall.ps1"
 to "C:\ProgramData\chocolatey\lib\franz\tools\chocolateyinstall.ps1".
2020-06-12 23:54:04,949 2632 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\franz\tools\chocolateyuninstall.ps1"
 to "C:\ProgramData\chocolatey\lib\franz\tools\chocolateyuninstall.ps1".
2020-06-12 23:54:04,949 2632 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\franz\tools\FranzSetup.exe.ignore"
 to "C:\ProgramData\chocolatey\lib\franz\tools\FranzSetup.exe.ignore".
2020-06-12 23:54:06,461 2632 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\franz'
2020-06-12 23:54:06,462 2632 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\franz\franz.nupkg'
  with checksum '02217E6E87C4B13AF5F8BD3E883209A3'
2020-06-12 23:54:06,462 2632 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\franz\franz.nuspec'
  with checksum '63EA3E219164A5FDCB1621B0AC58E53A'
2020-06-12 23:54:06,462 2632 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\franz\tools\chocolateyinstall.ps1'
  with checksum '0769DB066C88C31E8E03D0D0F9090782'
2020-06-12 23:54:06,463 2632 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\franz\tools\chocolateyuninstall.ps1'
  with checksum '44B8DB1176D8B7C859B9F2BE7346FEF4'
2020-06-12 23:54:06,463 2632 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\franz\tools\FranzSetup.exe.ignore'
  with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2020-06-12 23:54:06,576 2632 [INFO ] - [NuGet] Uninstalling 'franz 5.5.0'.
2020-06-12 23:54:06,578 2632 [INFO ] - 
franz v5.5.0
2020-06-12 23:54:06,594 2632 [DEBUG] - Setting installer args for franz
2020-06-12 23:54:06,594 2632 [DEBUG] - Setting package parameters for franz
2020-06-12 23:54:06,595 2632 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\franz\tools\chocolateyuninstall.ps1':
2020-06-12 23:54:06,600 2632 [DEBUG] - $ErrorActionPreference = 'Stop';

$packageName = 'franz'
$softwareName = 'franz*'
$installerType = 'EXE' 

$silentArgs = '/S'
$validExitCodes = @(0)

$uninstalled = $false
$local_key     = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*'
$machine_key   = 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\*'
$machine_key6432 = 'HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*'

[array]$key = Get-ItemProperty -Path @($machine_key6432,$machine_key, $local_key) `
                        -ErrorAction SilentlyContinue `
         | ? { $_.DisplayName -like "$softwareName" }

if ($key.Count -eq 1) {
  $key | % { 
    $file = "$($_.UninstallString)"

    if ($installerType -eq 'MSI') {
      $silentArgs = "$($_.PSChildName) $silentArgs"

      $file = ''
    }

    Uninstall-ChocolateyPackage -PackageName $packageName `
                                -FileType $installerType `
                                -SilentArgs "$silentArgs" `
                                -ValidExitCodes $validExitCodes `
                                -File "$file"
  }
} elseif ($key.Count -eq 0) {
  Write-Warning "$packageName has already been uninstalled by other means."
} elseif ($key.Count -gt 1) {
  Write-Warning "$key.Count matches found!"
  Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
  Write-Warning "Please alert package maintainer the following keys were matched:"
  $key | % {Write-Warning "- $_.DisplayName"}
}
2020-06-12 23:54:06,623 2632 [DEBUG] - 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\franz\tools\chocolateyuninstall.ps1' -installArguments '' -packageParameters ''']
2020-06-12 23:54:06,632 2632 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2020-06-12 23:54:07,842 2632 [DEBUG] - Host version is 5.1.19041.1, PowerShell Version is '5.1.19041.1' and CLR Version is '4.0.30319.42000'.
2020-06-12 23:54:08,120 2632 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-06-12 23:54:08,120 2632 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-06-12 23:54:08,121 2632 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-06-12 23:54:08,121 2632 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-06-12 23:54:08,121 2632 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-06-12 23:54:08,121 2632 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-06-12 23:54:08,122 2632 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-06-12 23:54:08,122 2632 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-06-12 23:54:08,122 2632 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-06-12 23:54:08,122 2632 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-06-12 23:54:08,123 2632 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-06-12 23:54:08,123 2632 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-06-12 23:54:08,123 2632 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-06-12 23:54:08,123 2632 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-06-12 23:54:08,124 2632 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-06-12 23:54:08,124 2632 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-06-12 23:54:08,124 2632 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-06-12 23:54:08,124 2632 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-06-12 23:54:08,125 2632 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-06-12 23:54:08,125 2632 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-06-12 23:54:08,125 2632 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-06-12 23:54:08,126 2632 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-06-12 23:54:08,126 2632 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-06-12 23:54:08,126 2632 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-06-12 23:54:08,127 2632 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-06-12 23:54:08,127 2632 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-06-12 23:54:08,127 2632 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-06-12 23:54:08,127 2632 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-06-12 23:54:08,128 2632 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-06-12 23:54:08,128 2632 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-06-12 23:54:08,128 2632 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-06-12 23:54:08,129 2632 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-06-12 23:54:08,129 2632 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-06-12 23:54:08,129 2632 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-06-12 23:54:08,129 2632 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-06-12 23:54:08,130 2632 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-06-12 23:54:08,130 2632 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-06-12 23:54:08,130 2632 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-06-12 23:54:08,130 2632 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-06-12 23:54:08,136 2632 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-06-12 23:54:08,136 2632 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-06-12 23:54:08,136 2632 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-06-12 23:54:08,137 2632 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-06-12 23:54:08,137 2632 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-06-12 23:54:08,140 2632 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-06-12 23:54:08,140 2632 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-06-12 23:54:08,141 2632 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-06-12 23:54:08,141 2632 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-06-12 23:54:08,141 2632 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-06-12 23:54:08,141 2632 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-06-12 23:54:08,142 2632 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-06-12 23:54:08,142 2632 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-06-12 23:54:08,142 2632 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-06-12 23:54:08,150 2632 [DEBUG] - Loading community extensions
2020-06-12 23:54:08,180 2632 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'
2020-06-12 23:54:08,181 2632 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'.
2020-06-12 23:54:08,231 2632 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-06-12 23:54:08,233 2632 [INFO ] - VERBOSE: Exporting function 'Get-AppInstallLocation'.
2020-06-12 23:54:08,233 2632 [INFO ] - VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
2020-06-12 23:54:08,233 2632 [INFO ] - VERBOSE: Exporting function 'Get-EffectiveProxy'.
2020-06-12 23:54:08,234 2632 [INFO ] - VERBOSE: Exporting function 'Get-PackageCacheLocation'.
2020-06-12 23:54:08,234 2632 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-06-12 23:54:08,235 2632 [INFO ] - VERBOSE: Exporting function 'Get-WebContent'.
2020-06-12 23:54:08,235 2632 [INFO ] - VERBOSE: Exporting function 'Register-Application'.
2020-06-12 23:54:08,235 2632 [INFO ] - VERBOSE: Exporting function 'Remove-Process'.
2020-06-12 23:54:08,250 2632 [INFO ] - VERBOSE: Importing function 'Get-AppInstallLocation'.
2020-06-12 23:54:08,251 2632 [INFO ] - VERBOSE: Importing function 'Get-AvailableDriveLetter'.
2020-06-12 23:54:08,251 2632 [INFO ] - VERBOSE: Importing function 'Get-EffectiveProxy'.
2020-06-12 23:54:08,251 2632 [INFO ] - VERBOSE: Importing function 'Get-PackageCacheLocation'.
2020-06-12 23:54:08,252 2632 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2020-06-12 23:54:08,252 2632 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2020-06-12 23:54:08,252 2632 [INFO ] - VERBOSE: Importing function 'Get-WebContent'.
2020-06-12 23:54:08,253 2632 [INFO ] - VERBOSE: Importing function 'Register-Application'.
2020-06-12 23:54:08,253 2632 [INFO ] - VERBOSE: Importing function 'Remove-Process'.
2020-06-12 23:54:08,259 2632 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-dotnetfx\chocolatey-dotnetfx.psm1'
2020-06-12 23:54:08,260 2632 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-dotnetfx\chocolatey-dotnetfx.psm1'.
2020-06-12 23:54:08,273 2632 [INFO ] - VERBOSE: Exporting function 'Install-DotNetFramework'.
2020-06-12 23:54:08,273 2632 [INFO ] - VERBOSE: Exporting function 'Install-DotNetDevPack'.
2020-06-12 23:54:08,274 2632 [INFO ] - VERBOSE: Importing function 'Install-DotNetDevPack'.
2020-06-12 23:54:08,274 2632 [INFO ] - VERBOSE: Importing function 'Install-DotNetFramework'.
2020-06-12 23:54:08,275 2632 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2020-06-12 23:54:08,275 2632 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2020-06-12 23:54:08,317 2632 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2020-06-12 23:54:08,317 2632 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2020-06-12 23:54:08,318 2632 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2020-06-12 23:54:08,318 2632 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2020-06-12 23:54:08,318 2632 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-06-12 23:54:08,319 2632 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-06-12 23:54:08,319 2632 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-06-12 23:54:08,319 2632 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-06-12 23:54:08,320 2632 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-06-12 23:54:08,320 2632 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-06-12 23:54:08,320 2632 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-06-12 23:54:08,320 2632 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-06-12 23:54:08,321 2632 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-06-12 23:54:08,321 2632 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-06-12 23:54:08,321 2632 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-06-12 23:54:08,321 2632 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-06-12 23:54:08,322 2632 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-06-12 23:54:08,322 2632 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-06-12 23:54:08,322 2632 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-06-12 23:54:08,322 2632 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-06-12 23:54:08,323 2632 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-06-12 23:54:08,323 2632 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-06-12 23:54:08,323 2632 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-06-12 23:54:08,323 2632 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-06-12 23:54:08,324 2632 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-06-12 23:54:08,324 2632 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-06-12 23:54:08,324 2632 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-06-12 23:54:08,325 2632 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-06-12 23:54:08,325 2632 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-06-12 23:54:08,325 2632 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-06-12 23:54:08,325 2632 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-06-12 23:54:08,326 2632 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-06-12 23:54:08,326 2632 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-06-12 23:54:08,326 2632 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-06-12 23:54:08,327 2632 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-06-12 23:54:08,327 2632 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-06-12 23:54:08,327 2632 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-06-12 23:54:08,327 2632 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-06-12 23:54:08,328 2632 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-06-12 23:54:08,328 2632 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-06-12 23:54:08,328 2632 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-06-12 23:54:08,328 2632 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-06-12 23:54:08,329 2632 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-06-12 23:54:08,329 2632 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-06-12 23:54:08,329 2632 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-06-12 23:54:08,329 2632 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-06-12 23:54:08,330 2632 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-06-12 23:54:08,330 2632 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-06-12 23:54:08,330 2632 [INFO ] - VERBOSE: Exporting function 'Get-AppInstallLocation'.
2020-06-12 23:54:08,331 2632 [INFO ] - VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
2020-06-12 23:54:08,331 2632 [INFO ] - VERBOSE: Exporting function 'Get-EffectiveProxy'.
2020-06-12 23:54:08,331 2632 [INFO ] - VERBOSE: Exporting function 'Get-PackageCacheLocation'.
2020-06-12 23:54:08,331 2632 [INFO ] - VERBOSE: Exporting function 'Get-WebContent'.
2020-06-12 23:54:08,332 2632 [INFO ] - VERBOSE: Exporting function 'Register-Application'.
2020-06-12 23:54:08,332 2632 [INFO ] - VERBOSE: Exporting function 'Remove-Process'.
2020-06-12 23:54:08,332 2632 [INFO ] - VERBOSE: Exporting function 'Install-DotNetDevPack'.
2020-06-12 23:54:08,332 2632 [INFO ] - VERBOSE: Exporting function 'Install-DotNetFramework'.
2020-06-12 23:54:08,333 2632 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2020-06-12 23:54:08,333 2632 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2020-06-12 23:54:08,333 2632 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-06-12 23:54:08,333 2632 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-06-12 23:54:08,334 2632 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-06-12 23:54:08,334 2632 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-06-12 23:54:08,334 2632 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-06-12 23:54:08,335 2632 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-06-12 23:54:08,335 2632 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-06-12 23:54:08,335 2632 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-06-12 23:54:08,335 2632 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-06-12 23:54:08,336 2632 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2020-06-12 23:54:08,336 2632 [INFO ] - VERBOSE: Importing function 'Get-AppInstallLocation'.
2020-06-12 23:54:08,336 2632 [INFO ] - VERBOSE: Importing function 'Get-AvailableDriveLetter'.
2020-06-12 23:54:08,337 2632 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2020-06-12 23:54:08,337 2632 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2020-06-12 23:54:08,337 2632 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2020-06-12 23:54:08,337 2632 [INFO ] - VERBOSE: Importing function 'Get-EffectiveProxy'.
2020-06-12 23:54:08,338 2632 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2020-06-12 23:54:08,338 2632 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2020-06-12 23:54:08,338 2632 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2020-06-12 23:54:08,338 2632 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2020-06-12 23:54:08,339 2632 [INFO ] - VERBOSE: Importing function 'Get-PackageCacheLocation'.
2020-06-12 23:54:08,339 2632 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2020-06-12 23:54:08,339 2632 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2020-06-12 23:54:08,340 2632 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2020-06-12 23:54:08,340 2632 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2020-06-12 23:54:08,340 2632 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2020-06-12 23:54:08,340 2632 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2020-06-12 23:54:08,341 2632 [INFO ] - VERBOSE: Importing function 'Get-WebContent'.
2020-06-12 23:54:08,341 2632 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2020-06-12 23:54:08,341 2632 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2020-06-12 23:54:08,341 2632 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2020-06-12 23:54:08,342 2632 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2020-06-12 23:54:08,342 2632 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2020-06-12 23:54:08,342 2632 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2020-06-12 23:54:08,342 2632 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2020-06-12 23:54:08,343 2632 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2020-06-12 23:54:08,343 2632 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2020-06-12 23:54:08,343 2632 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2020-06-12 23:54:08,344 2632 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2020-06-12 23:54:08,344 2632 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2020-06-12 23:54:08,344 2632 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2020-06-12 23:54:08,344 2632 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2020-06-12 23:54:08,345 2632 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2020-06-12 23:54:08,345 2632 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2020-06-12 23:54:08,345 2632 [INFO ] - VERBOSE: Importing function 'Install-DotNetDevPack'.
2020-06-12 23:54:08,345 2632 [INFO ] - VERBOSE: Importing function 'Install-DotNetFramework'.
2020-06-12 23:54:08,346 2632 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2020-06-12 23:54:08,346 2632 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2020-06-12 23:54:08,346 2632 [INFO ] - VERBOSE: Importing function 'Register-Application'.
2020-06-12 23:54:08,347 2632 [INFO ] - VERBOSE: Importing function 'Remove-Process'.
2020-06-12 23:54:08,347 2632 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2020-06-12 23:54:08,347 2632 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2020-06-12 23:54:08,347 2632 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2020-06-12 23:54:08,348 2632 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2020-06-12 23:54:08,348 2632 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2020-06-12 23:54:08,348 2632 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2020-06-12 23:54:08,348 2632 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-06-12 23:54:08,349 2632 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2020-06-12 23:54:08,349 2632 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2020-06-12 23:54:08,349 2632 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2020-06-12 23:54:08,350 2632 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2020-06-12 23:54:08,350 2632 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2020-06-12 23:54:08,350 2632 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2020-06-12 23:54:08,350 2632 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2020-06-12 23:54:08,351 2632 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2020-06-12 23:54:08,351 2632 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2020-06-12 23:54:08,352 2632 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2020-06-12 23:54:08,352 2632 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2020-06-12 23:54:08,352 2632 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2020-06-12 23:54:08,352 2632 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2020-06-12 23:54:08,353 2632 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2020-06-12 23:54:08,353 2632 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2020-06-12 23:54:08,353 2632 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2020-06-12 23:54:08,385 2632 [DEBUG] - ---------------------------Script Execution---------------------------
2020-06-12 23:54:08,386 2632 [DEBUG] - Running 'ChocolateyScriptRunner' for franz v5.5.0 with packageScript 'C:\ProgramData\chocolatey\lib\franz\tools\chocolateyuninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\franz', installArguments: '', packageParameters: '',
2020-06-12 23:54:08,391 2632 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\franz\tools\chocolateyuninstall.ps1'
2020-06-12 23:54:08,655 2632 [DEBUG] - Running Uninstall-ChocolateyPackage -packageName 'franz' -fileType 'EXE' -silentArgs '/S' -validExitCodes '0' -file '"C:\Users\ss\AppData\Local\Programs\franz\Uninstall Franz.exe" /currentuser' 
2020-06-12 23:54:08,666 2632 [INFO ] - Uninstalling franz...
2020-06-12 23:54:08,724 2632 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0' -statements '/S ' -exeToRun '"C:\Users\ss\AppData\Local\Programs\franz\Uninstall Franz.exe" /currentuser' 
2020-06-12 23:54:08,726 2632 [DEBUG] - Unable to use current location for Working Directory. Using Cache Location instead.
2020-06-12 23:54:08,752 2632 [DEBUG] - Test-ProcessAdminRights: returning True
2020-06-12 23:54:08,762 2632 [DEBUG] - Elevating permissions and running ["C:\Users\ss\AppData\Local\Programs\franz\Uninstall Franz.exe" /currentuser" /S ]. This may take a while, depending on the statements.
2020-06-12 23:54:08,779 2632 [ERROR] - ERROR: Exception calling "GetFullPath" with "1" argument(s): "Illegal characters in path."
2020-06-12 23:54:08,801 2632 [DEBUG] - 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\franz\tools\chocolateyuninstall.ps1' -installArguments '' -packageParameters '''] exited with '-1'.
2020-06-12 23:54:08,804 2632 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2020-06-12 23:54:08,837 2632 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2020-06-12 23:54:08,837 2632 [ERROR] - franz uninstall not successful.
2020-06-12 23:54:08,842 2632 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\franz\tools\chocolateyuninstall.ps1'.
 See log for details.
2020-06-12 23:54:08,845 2632 [ERROR] - franz not uninstalled. An error occurred during uninstall:
 franz uninstall not successful.
2020-06-12 23:54:08,856 2632 [WARN ] - 
Chocolatey uninstalled 0/1 packages. 1 packages failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2020-06-12 23:54:08,857 2632 [INFO ] - 
2020-06-12 23:54:08,858 2632 [ERROR] - Failures
2020-06-12 23:54:08,860 2632 [ERROR] -  - franz (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\franz\tools\chocolateyuninstall.ps1'.
 See log for details.
2020-06-12 23:54:08,861 2632 [WARN ] - 
If a package uninstall is failing and/or you've already uninstalled the
 software outside of Chocolatey, you can attempt to run the command
 with `-n` to skip running a chocolateyUninstall script, additionally
 adding `--skip-autouninstaller` to skip an attempt to automatically
 remove system-installed software. This will only remove the packaging
 files and not things like software installed to Programs and Features.

If a package is failing because it is a dependency of another package
 or packages, then you may first need to consider if it needs removed
 as it is typically installed as a dependency for a reason. If you
 decide that you still want to remove it, head into
 `$env:ChocolateyInstall\lib` and find the package folder you want
 removed. Then delete the folder for the package. This option should
 only be used as a last resort.

2020-06-12 23:54:08,868 2632 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2020-06-12 23:54:08,876 2632 [DEBUG] - Exiting with -1