Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] UniGetUI reports “Uninstallation successful,” but software remain installed #3161

Closed
4 tasks done
GareArc opened this issue Jan 3, 2025 · 3 comments
Closed
4 tasks done
Assignees
Labels
bug Something isn't working important ready-to-go
Milestone

Comments

@GareArc
Copy link

GareArc commented Jan 3, 2025

Please confirm these before moving forward

  • I have searched for my issue and have not found a work-in-progress/duplicate/resolved issue.
  • I have tested that this issue has not been fixed in the latest (beta or stable) release.
  • I have checked the FAQ section for solutions.
  • This issue is about a bug (if it is not, please use the correct template).

UniGetUI Version

3.1.5

Windows version, edition, and architecture

Windows 11 Pro 10.0.26100 Build 26100

Describe your issue

All applications that I try to uninstall via UniGetUI show a message saying “Uninstall succeeded,” but the apps are never actually removed. According to the logs, there’s a COMException with GetApplicableInstaller when UniGetUI attempts to gather operation parameters for the uninstall.

Steps to reproduce the issue

  1. Launch UniGetUI
  2. Select any installed package
  3. Click on Uninstall.
  4. Observe that UniGetUI reports “Uninstallation successful,” but the software remains installed.
  5. Check logs → see a COMException in GetApplicableInstaller

UniGetUI Log

[1/3/2025 2:16:33 PM]    __  __      _ ______     __  __  ______
                        / / / /___  (_) ____/__  / /_/ / / /  _/
                       / / / / __ \/ / / __/ _ \/ __/ / / // /
                      / /_/ / / / / / /_/ /  __/ /_/ /_/ // /
                      \____/_/ /_/_/\____/\___/\__/\____/___/
                          Welcome to UniGetUI Version 3.1.5
[1/3/2025 2:16:33 PM]
[1/3/2025 2:16:33 PM] Build 74
[1/3/2025 2:16:33 PM] Encoding Code Page set to 936
[1/3/2025 2:16:34 PM] Using built-in UniGetUI Elevator
[1/3/2025 2:16:36 PM] Loaded language locale: en
[1/3/2025 2:16:37 PM] Randomly-generated background API auth token for the current session: 266ij08xwk5xwckhxve51cqyt5737ie2tbssia5eukw2w4a57vr7jd5xy5lw8nhl
[1/3/2025 2:16:37 PM] Api running on http://localhost:7058
[1/3/2025 2:16:37 PM] Lang files were updated successfully from GitHub
[1/3/2025 2:16:39 PM] Downloaded new icons and screenshots successfully!
[1/3/2025 2:16:39 PM] Command vcpkg was not found on the system
[1/3/2025 2:16:40 PM] Command cargo was not found on the system
[1/3/2025 2:16:40 PM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Cargo
                      █ Enabled: True
                      █ Found: False
                      █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT 
                      █ INSTALLED OR IT HAS BEEN MISCONFIGURED 
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[1/3/2025 2:16:40 PM] Command dotnet.exe was not found on the system
[1/3/2025 2:16:40 PM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: .NET Tool
                      █ Enabled: True
                      █ Found: False
                      █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT 
                      █ INSTALLED OR IT HAS BEEN MISCONFIGURED 
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[1/3/2025 2:16:40 PM] Command pwsh.exe was not found on the system
[1/3/2025 2:16:40 PM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: PowerShell7
                      █ Enabled: True
                      █ Found: False
                      █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT 
                      █ INSTALLED OR IT HAS BEEN MISCONFIGURED 
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[1/3/2025 2:16:40 PM] Command vcpkg was not found on the system
[1/3/2025 2:16:40 PM] Command vcpkg was not found on the system
[1/3/2025 2:16:40 PM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: vcpkg
                      █ Enabled: True
                      █ Found: False
                      █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT 
                      █ INSTALLED OR IT HAS BEEN MISCONFIGURED 
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[1/3/2025 2:16:40 PM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Pip
                      █ Enabled: True
                      █ Found: False
                      █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT 
                      █ INSTALLED OR IT HAS BEEN MISCONFIGURED 
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[1/3/2025 2:16:40 PM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Winget
                      █ Enabled: True
                      █ Found: True
                      █ Fancy exe name: winget.exe
                      █ Executable path: C:\Users\Gareth\AppData\Local\Microsoft\WindowsApps\winget.exe
                      █ Call arguments: 
                      █ Version: 
                      █   System WinGet CLI Version: v1.9.25200
                      █   Using Native WinGet helper (COM Api)
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[1/3/2025 2:16:40 PM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Npm
                      █ Enabled: True
                      █ Found: True
                      █ Fancy exe name: npm
                      █ Executable path: C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe
                      █ Call arguments:  -NoProfile -ExecutionPolicy Bypass -Command npm
                      █ Version: 
                      █   10.9.0
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[1/3/2025 2:16:40 PM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Scoop
                      █ Enabled: True
                      █ Found: True
                      █ Fancy exe name: scoop
                      █ Executable path: C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe
                      █ Call arguments:  -NoProfile -ExecutionPolicy Bypass -Command scoop
                      █ Version: 
                      █   Current Scoop version:
                      █   859d1db5 chore(release): Bump to version 0.5.2 (#6080)
                      █   
                      █   'main' bucket:
                      █   20a74fee6 x264: Update to version 3204
                      █   
                      █   'extras' bucket:
                      █   85cee6254 neovide: Update to version 0.14.0
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[1/3/2025 2:16:40 PM] Adding chocolatey to path since it was not on path.
[1/3/2025 2:16:41 PM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: PowerShell
                      █ Enabled: True
                      █ Found: True
                      █ Fancy exe name: powershell.exe
                      █ Executable path: C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe
                      █ Call arguments:  -NoProfile -Command
                      █ Version: 
                      █   Name                           Value                                                                                   
                      █   ----                           -----                                                                                   
                      █   PSVersion                      5.1.26100.2161                                                                          
                      █   PSEdition                      Desktop                                                                                 
                      █   PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                 
                      █   BuildVersion                   10.0.26100.2161                                                                         
                      █   CLRVersion                     4.0.30319.42000                                                                         
                      █   WSManStackVersion              3.0                                                                                     
                      █   PSRemotingProtocolVersion      2.3                                                                                     
                      █   SerializationVersion           1.1.0.1
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[1/3/2025 2:16:41 PM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Chocolatey
                      █ Enabled: True
                      █ Found: True
                      █ Fancy exe name: choco.exe
                      █ Executable path: C:\Users\Gareth\AppData\Local\UniGetUI\Chocolatey\choco.exe
                      █ Call arguments: 
                      █ Version: 
                      █   2.2.2
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[1/3/2025 2:16:41 PM] LoadComponentsAsync finished executing. All managers loaded. Proceeding to interface.
[1/3/2025 2:16:42 PM] Dependency Scoop-Search for manager Scoop is present
[1/3/2025 2:16:42 PM] Dependency Git for manager Scoop is present
[1/3/2025 2:16:42 PM] Found 2 installed packages from Scoop
[1/3/2025 2:16:43 PM] Found 0 installed packages from Chocolatey
[1/3/2025 2:16:43 PM] Found 0 available updates from Chocolatey
[1/3/2025 2:16:43 PM] Found 0 available updates from Winget
[1/3/2025 2:16:43 PM] Found 139 installed packages from Winget
[1/3/2025 2:16:44 PM] Found 1 installed packages from PowerShell
[1/3/2025 2:16:44 PM] Found 3 installed packages from Npm
[1/3/2025 2:16:44 PM] Command vcpkg was not found on the system
[1/3/2025 2:16:44 PM] Found 0 available updates from Npm
[1/3/2025 2:16:45 PM] Found 2 installed packages from Scoop
[1/3/2025 2:16:45 PM] Found 0 available updates from PowerShell
[1/3/2025 2:16:46 PM] Found 0 available updates from Scoop
[1/3/2025 2:17:08 PM] A fatal error ocurred while loading operation parameters for package id=DigitalScholar.Zotero on manager Winget and operation Uninstall
[1/3/2025 2:17:08 PM] System.Runtime.InteropServices.COMException (0x8A15003F)
                         at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|38_0(Int32 hr)
                         at ABI.Microsoft.Management.Deployment.IPackageVersionInfo4Methods.GetApplicableInstaller(IObjectReference _obj, InstallOptions options) in C:\SomePrograms\WingetUI-Store\src\WindowsPackageManager.Interop\obj\x64\Release\net8.0-windows10.0.22621.0\Generated Files\CsWinRT\Microsoft.Management.Deployment.cs:line 8868
                         at Microsoft.Management.Deployment.PackageVersionInfo.GetApplicableInstaller(InstallOptions options) in C:\SomePrograms\WingetUI-Store\src\WindowsPackageManager.Interop\obj\x64\Release\net8.0-windows10.0.22621.0\Generated Files\CsWinRT\Microsoft.Management.Deployment.cs:line 3845
                         at UniGetUI.PackageEngine.Managers.WingetManager.NativePackageHandler._getInstallationOptionsOnDict(IPackage package, ConcurrentDictionary`2& source, Boolean installed) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\ClientHelpers\NativePackageHandler.cs:line 104
                         at UniGetUI.PackageEngine.Managers.WingetManager.NativePackageHandler.GetInstallationOptions(IPackage package, OperationType operation) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\ClientHelpers\NativePackageHandler.cs:line 79
                         at UniGetUI.PackageEngine.Managers.WingetManager.WinGetPkgOperationHelper._getOperationParameters(IPackage package, IInstallationOptions options, OperationType operation) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\Helpers\WinGetPkgOperationHelper.cs:line 89
                         at UniGetUI.PackageEngine.Classes.Manager.BaseProviders.PackagePkgOperationHelper.GetParameters(IPackage package, IInstallationOptions options, OperationType operation) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.PackageManagerClasses\Manager\Helpers\PackagePkgOperationHelper.cs:line 35

Package Managers Logs

Manager WinGet with version:
System WinGet CLI Version: v1.9.25200
Using Native WinGet helper (COM Api)

——————————————————————————————————————————


Logged native task on manager Winget. Task type is ListSources
Process start time: 1/3/2025 2:16:40 PM
Process end time:   1/3/2025 2:16:40 PM

-- Task information
 ...

The task reported success

——————————————————————————————————————————

Logged native task on manager Winget. Task type is ListInstalledPackages
Process start time: 1/3/2025 2:16:41 PM
Process end time:   1/3/2025 2:16:43 PM

-- Task information
 ...

The task reported success

——————————————————————————————————————————

Logged subprocess-based task on manager Winget. Task type is RefreshIndexes
Subprocess executable: "C:\Users\Gareth\AppData\Local\Microsoft\WindowsApps\winget.exe"
Command-line arguments: " source update --disable-interactivity"
Process start time: 1/3/2025 2:16:41 PM
Process end time:   1/3/2025 2:16:42 PM

-- Process STDOUT
 ...

Return code: SUCCESS (0)

——————————————————————————————————————————

Logged native task on manager Winget. Task type is OtherTask
Process start time: 1/3/2025 2:16:41 PM
Process end time:   1/3/2025 2:16:43 PM

-- Task information
 ...

The task reported success

——————————————————————————————————————————

Logged native task on manager Winget. Task type is ListUpdates
Process start time: 1/3/2025 2:16:42 PM
Process end time:   1/3/2025 2:16:43 PM

The task reported success

——————————————————————————————————————————

Relevant information

  1. Directly running winget uninstall <AppID> in PowerShell works as expected and removes the app without any errors.
  2. Installing new apps and upgrading existing apps via UniGetUI works fine; only uninstallation fails.

Screenshots and videos

No response

@GareArc GareArc added the bug Something isn't working label Jan 3, 2025
@GareArc GareArc changed the title [BUG] WingetUI reports “Uninstallation successful,” but software remain installed [BUG] UniGetUI reports “Uninstallation successful,” but software remain installed Jan 3, 2025
@marticliment marticliment added this to the Bugs milestone Jan 4, 2025
@b1naryzer0
Copy link

Can confirm, same behaviour here, Windows 11 Pro 10.0.26100 Build 26100

@marticliment
Copy link
Owner

This issue was actually fixed on #3070

@gonviegas
Copy link

gonviegas commented Jan 28, 2025

I just fresh installed Windows 11 24H2, fully updated it and I have this exact issue:

UniGetUI says that packages were uninstalled but when I refresh Installed Packages they are still there. Tried latest release and also latest Beta and same behavior happens.

EDIT:

by installing latest Beta, restarting windows and then running UniGetUI as administrator, I was able to uninstall packages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working important ready-to-go
Projects
None yet
Development

No branches or pull requests

4 participants