Devolutions / Devolutions/UniGetUI

[BUG] Installed packages list is almost empty (only Microsoft.WinGet.Client), despite winget list working

Open
#4,362 2 comments 0 reactions 1 assignee Claimed by @marticliment View on GitHub
bug
Dominant language
C#
Stars
26.1k
Forks
924
Avg merge
15h 52m
Merged PRs (30d)
52

Description

### Please confirm these before moving forward

- [x] I have searched for my issue and have not found a work-in-progress/duplicate/resolved issue.
- [x] I have tested that this issue has not been fixed in the latest [(beta or stable) release](https://github.com/marticliment/WingetUI/releases/).
- [x] I have checked the [FAQ](https://github.com/marticliment/WingetUI#frequently-asked-questions) section for solutions.
- [x] This issue is about a bug (if it is not, please use the [correct template](https://github.com/marticliment/WingetUI/issues/new/choose)).

### UniGetUI Version

3.3.6

### Windows version, edition, and architecture

Windows 11 Pro 10.0.26200.7623 (x64)

### Describe your issue

UniGetUI shows an almost empty "Installed packages" list.
Only "Microsoft.WinGet.Client" appears, while all other installed applications are missing.

On the same system, the WinGet CLI works correctly:
`winget list` returns ~400 installed packages.

The issue occurs in both the portable and installed versions of UniGetUI.
UniGetUI does not appear to reliably fall back to CLI enumeration when the WinGet PowerShell client/provider returns incomplete results.

### Steps to reproduce the issue

1. Install Windows 11 with multiple applications installed.
2. Ensure WinGet CLI works (`winget list` shows many packages).
3. Start UniGetUI (portable or installed).
4. Open "Installed packages".

Result:
Only Microsoft.WinGet.Client is shown.

UniGetUI should list the same installed applications as `winget list`,
or fall back to CLI enumeration when the PowerShell WinGet client returns incomplete data.

Installed packages list contains only:
- Microsoft.WinGet.Client

No other ARP / MSIX / Store applications are displayed.

### UniGetUI Log

```text
[25.01.2026 10:53:52] __ __ _ ______ __ __ ______
/ / / /___ (_) ____/__ / /_/ / / / _/
/ / / / __ \/ / / __/ _ \/ __/ / / // /
/ /_/ / / / / / /_/ / __/ /_/ /_/ // /
\____/_/ /_/_/\____/\___/\__/\____/___/
Welcome to UniGetUI Version 3.3.6
[25.01.2026 10:53:52]
[25.01.2026 10:53:52] Build 104
[25.01.2026 10:53:52] Data directory C:\Users\homeuser-nb\AppData\Local\UniGetUI
[25.01.2026 10:53:52] Encoding Code Page set to 850
[25.01.2026 10:53:52] Loaded language locale: de
[25.01.2026 10:53:52] Could not retrieve token (it may not exist): Element nicht gefunden.

Anmeldeinformationen können nicht aus dem Tresor abgerufen werden.
[25.01.2026 10:53:52] Randomly-generated background API auth token: bb0t5yn2ztt99byxm83f2mckqnfn359moal5ewjw0fvaip1gkelmaztrf8umh3ca
[25.01.2026 10:53:52] Api running on http://localhost:7058
[25.01.2026 10:53:52] Pip is enabled and was found on C:\Users\homeuser-nb\AppData\Local\Microsoft\WindowsApps\python.exe
[25.01.2026 10:53:52] Call to WhichMultiple with file cargo.exe returned non-zero status 1
[25.01.2026 10:53:52] Command cargo.exe was not found on the system
[25.01.2026 10:53:52] Cargo is enabled but was not found on the system!
[25.01.2026 10:53:52] Call to WhichMultiple with file choco.exe returned non-zero status 1
[25.01.2026 10:53:52] Command choco.exe was not found on the system
[25.01.2026 10:53:52] Chocolatey is enabled and was found on C:\Users\homeuser-nb\AppData\Local\UniGetUI\Chocolatey\choco.exe
[25.01.2026 10:53:52] Call to WhichMultiple with file npm.ps1 returned non-zero status 1
[25.01.2026 10:53:52] Command npm.ps1 was not found on the system
[25.01.2026 10:53:52] Npm is enabled but was not found on the system!
[25.01.2026 10:53:52] Call to WhichMultiple with file vcpkg.exe returned non-zero status 1
[25.01.2026 10:53:52] Command vcpkg.exe was not found on the system
[25.01.2026 10:53:52] PowerShell7 is enabled and was found on c:\program files\powershell\7\pwsh.exe
[25.01.2026 10:53:52] PowerShell is enabled and was found on C:\Windows\System32\windowspowershell\v1.0\powershell.exe
[25.01.2026 10:53:52] Call to WhichMultiple with file scoop.ps1 returned non-zero status 1
[25.01.2026 10:53:52] Command scoop.ps1 was not found on the system
[25.01.2026 10:53:52] Scoop is enabled but was not found on the system!
[25.01.2026 10:53:52] An error occurred while initialising package manager Chocolatey
[25.01.2026 10:53:52] System.ComponentModel.Win32Exception (2): An error occurred trying to start process 'C:\Users\homeuser-nb\AppData\Local\UniGetUI\Chocolatey\choco.exe' with working directory 'C:\Program Files\UniGetUI'. Das System kann die angegebene Datei nicht finden.
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo)
at UniGetUI.PackageEngine.Managers.ChocolateyManager.Chocolatey._loadManagerVersion(String& version) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.Chocolatey\Chocolatey.cs:line 317
at UniGetUI.PackageEngine.ManagerClasses.Manager.PackageManager.Initialize() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.PackageManagerClasses\Manager\PackageManager.cs:line 82
[25.01.2026 10:53:52] .NET Tool is enabled but was not found on the system!
[25.01.2026 10:53:53] An error occurred while initialising package manager Pip
[25.01.2026 10:53:53] System.Exception: Microsoft Store python alias is not a valid python install
at UniGetUI.PackageEngine.Managers.PipManager.Pip._loadManagerVersion(String& version) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.Pip\Pip.cs:line 379
at UniGetUI.PackageEngine.ManagerClasses.Manager.PackageManager.Initialize() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.PackageManagerClasses\Manager\PackageManager.cs:line 82
[25.01.2026 10:53:53] Call to WhichMultiple with file vcpkg returned non-zero status 1
[25.01.2026 10:53:53] Command vcpkg was not found on the system
[25.01.2026 10:53:53] Winget is enabled and was found on C:\Users\homeuser-nb\AppData\Local\Microsoft\WindowsApps\winget.exe
[25.01.2026 10:53:53] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: PowerShell 7.x (aka PowerShell7)
█ Executable name: "pwsh.exe"
█ Executable path: "c:\program files\powershell\7\pwsh.exe"
█ Call arguments: " -NoProfile -Command"
█ Version: PowerShell 7.5.4

█ PowerShell 7.x is enabled and ready to go.
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[25.01.2026 10:53:53] Lang files were updated successfully from GitHub
[25.01.2026 10:53:53] Call to WhichMultiple with file vcpkg returned non-zero status 1
[25.01.2026 10:53:53] Command vcpkg was not found on the system
[25.01.2026 10:53:53] Vcpkg root was not found. Please define the %VCPKG_ROOT% environment variable or define it from UniGetUI Settings
[25.01.2026 10:53:53] vcpkg is enabled but was not found on the system!
[25.01.2026 10:53:53] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: WinGet (aka Winget)
█ Executable name: "winget.exe"
█ Executable path: "C:\Users\homeuser-nb\AppData\Local\Microsoft\WindowsApps\winget.exe"
█ Call arguments: ""
█ Version: System WinGet (CLI) Version: v1.12.460
█ Using Native WinGet helper (COM Api)

█ WinGet is enabled and ready to go.
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[25.01.2026 10:53:53] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: PowerShell 5.x (aka PowerShell)
█ Executable name: "powershell.exe"
█ Executable path: "C:\Windows\System32\windowspowershell\v1.0\powershell.exe"
█ Call arguments: " -NoProfile -Command"
█ Version: Name Value
█ ---- -----
█ PSVersion 5.1.26100.7462
█ PSEdition Desktop
█ PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
█ BuildVersion 10.0.26100.7462
█ CLRVersion 4.0.30319.42000
█ WSManStackVersion 3.0
█ PSRemotingProtocolVersion 2.3
█ SerializationVersion 1.1.0.1

█ PowerShell 5.x is enabled and ready to go.
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[25.01.2026 10:53:55] LoadComponentsAsync finished executing. All managers loaded. Proceeding to interface.
[25.01.2026 10:53:56] Manager WinGet failed to list installed packages with exception InvalidOperationException: WinGet: Failed to connect to composite catalog.
[25.01.2026 10:53:56] Since this was the first attempt, Winget.AttemptFastRepair() will be called and the procedure will be restarted
[25.01.2026 10:53:56] Attempting to reconnect to WinGet COM Server...
[25.01.2026 10:53:56] Downloaded new icons and screenshots successfully!
[25.01.2026 10:53:56] Error finding installed packages on manager Winget
[25.01.2026 10:53:56] System.AggregateException: One or more errors occurred. (WinGet: Failed to connect to composite catalog.)
---> System.InvalidOperationException: WinGet: Failed to connect to composite catalog.
at UniGetUI.PackageEngine.Managers.WingetManager.NativeWinGetHelper.GetLocalWinGetPackages() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\ClientHelpers\NativeWinGetHelper.cs:line 240
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread, ExecutionContext, ContextCallback, Object)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread, ExecutionContext, ContextCallback, Object)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task&, Thread )
--- End of stack trace from previous location ---
at UniGetUI.Core.Classes.TaskRecycler`1._runTaskAndWait(Task`1 task, Int32 hash, Int32 cacheTimeSecsSecs) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.Core.Classes\TaskRecycler.cs:line 150
at UniGetUI.Core.Classes.TaskRecycler`1.RunOrAttach(Func`1 method, Int32 cacheTimeSecs) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.Core.Classes\TaskRecycler.cs:line 66
at UniGetUI.PackageEngine.Managers.WingetManager.NativeWinGetHelper.GetInstalledPackages_UnSafe() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\ClientHelpers\NativeWinGetHelper.cs:line 194
at UniGetUI.PackageEngine.Managers.WingetManager.WinGet.GetInstalledPackages_UnSafe() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\WinGet.cs:line 121
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread, ExecutionContext, ContextCallback, Object)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread, ExecutionContext, ContextCallback, Object)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task&, Thread )
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.Wait(Int32, CancellationToken)
at System.Threading.Tasks.Task.Wait(TimeSpan, CancellationToken)
at System.Threading.Tasks.Task.Wait(TimeSpan)
at UniGetUI.PackageEngine.ManagerClasses.Manager.PackageManager._getInstalledPackages(Boolean SecondAttempt) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.PackageManagerClasses\Manager\PackageManager.cs:line 330
[25.01.2026 10:53:57] Integrity check passed successfully!
[25.01.2026 10:53:57] Manager WinGet failed to list available updates with exception InvalidOperationException: WinGet: Failed to connect to composite catalog.
[25.01.2026 10:53:57] Since this was the first attempt, Winget.AttemptFastRepair() will be called and the procedure will be restarted
[25.01.2026 10:53:57] Attempting to reconnect to WinGet COM Server...
[25.01.2026 10:53:57] Found 0 installed packages from PowerShell7
[25.01.2026 10:53:57] Found 0 installed packages from PowerShell7
[25.01.2026 10:53:57] Found 0 available updates from PowerShell7
[25.01.2026 10:53:58] Found 1 installed packages from PowerShell
[25.01.2026 10:53:58] Found 1 installed packages from PowerShell
[25.01.2026 10:53:58] Found 0 available updates from PowerShell
[25.01.2026 10:53:58] Error finding updates on manager Winget
[25.01.2026 10:53:58] System.AggregateException: One or more errors occurred. (WinGet: Failed to connect to composite catalog.)
---> System.InvalidOperationException: WinGet: Failed to connect to composite catalog.
at UniGetUI.PackageEngine.Managers.WingetManager.NativeWinGetHelper.GetLocalWinGetPackages() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\ClientHelpers\NativeWinGetHelper.cs:line 240
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread, ExecutionContext, ContextCallback, Object)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread, ExecutionContext, ContextCallback, Object)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task&, Thread )
--- End of stack trace from previous location ---
at UniGetUI.Core.Classes.TaskRecycler`1._runTaskAndWait(Task`1 task, Int32 hash, Int32 cacheTimeSecsSecs) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.Core.Classes\TaskRecycler.cs:line 150
at UniGetUI.Core.Classes.TaskRecycler`1.RunOrAttach(Func`1 method, Int32 cacheTimeSecs) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.Core.Classes\TaskRecycler.cs:line 66
at UniGetUI.PackageEngine.Managers.WingetManager.NativeWinGetHelper.GetAvailableUpdates_UnSafe() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\ClientHelpers\NativeWinGetHelper.cs:line 155
at UniGetUI.PackageEngine.Managers.WingetManager.WinGet.GetAvailableUpdates_UnSafe() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\WinGet.cs:line 114
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread, ExecutionContext, ContextCallback, Object)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread, ExecutionContext, ContextCallback, Object)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task&, Thread )
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.Wait(Int32, CancellationToken)
at System.Threading.Tasks.Task.Wait(TimeSpan, CancellationToken)
at System.Threading.Tasks.Task.Wait(TimeSpan)
at UniGetUI.PackageEngine.ManagerClasses.Manager.PackageManager._getAvailableUpdates(Boolean SecondAttempt) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.PackageManagerClasses\Manager\PackageManager.cs:line 283
```

### Package Managers Logs

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

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

Logged native task on manager Winget. Task type is ListSources
Process start time: 25.01.2026 10:53:53
Process end time: 25.01.2026 10:53:53

-- Task information
...

The task reported success

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

Logged subprocess-based task on manager Winget. Task type is RefreshIndexes
Subprocess executable: "C:\Users\homeuser-nb\AppData\Local\Microsoft\WindowsApps\winget.exe"
Command-line arguments: " source update --disable-interactivity "
Process start time: 25.01.2026 10:53:55
Process end time: 25.01.2026 10:53:57

-- Process STDOUT
...

Return code: SUCCESS (0)

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

Logged native task on manager Winget. Task type is ListInstalledPackages
Process start time: 25.01.2026 10:53:55
Process end time: UNFINISHED

The task has not finished yet

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

Logged native task on manager Winget. Task type is OtherTask
Process start time: 25.01.2026 10:53:55
Process end time: 25.01.2026 10:53:56

-- Task information
...

-- Task errors
Failed to connect to installedSearchCatalogRef. Aborting.

The task reported a failure (0x1, 1, 1)

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

Logged native task on manager Winget. Task type is ListInstalledPackages
Process start time: 25.01.2026 10:53:56
Process end time: UNFINISHED

The task has not finished yet

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

Logged native task on manager Winget. Task type is OtherTask
Process start time: 25.01.2026 10:53:56
Process end time: 25.01.2026 10:53:56

-- Task information
...

-- Task errors
Failed to connect to installedSearchCatalogRef. Aborting.

The task reported a failure (0x1, 1, 1)

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

Logged native task on manager Winget. Task type is ListUpdates
Process start time: 25.01.2026 10:53:57
Process end time: UNFINISHED

The task has not finished yet

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

Logged subprocess-based task on manager Winget. Task type is RefreshIndexes
Subprocess executable: "C:\Users\homeuser-nb\AppData\Local\Microsoft\WindowsApps\winget.exe"
Command-line arguments: " source update --disable-interactivity "
Process start time: 25.01.2026 10:53:57
Process end time: 25.01.2026 10:53:58

-- Process STDOUT
...

Return code: SUCCESS (0)

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

Logged native task on manager Winget. Task type is ListUpdates
Process start time: 25.01.2026 10:53:58
Process end time: UNFINISHED

The task has not finished yet

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

Logged native task on manager Winget. Task type is OtherTask
Process start time: 25.01.2026 10:53:58
Process end time: 25.01.2026 10:53:58

-- Task information
...

-- Task errors
Failed to connect to installedSearchCatalogRef. Aborting.

The task reported a failure (0x1, 1, 1)

——————————————————————————————————————————
```

### Relevant information

_No response_

### Screenshots and videos

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.