Skip to content

[BUG] Unable to save Bundles #4496

@Devotech1

Description

@Devotech1

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

2026.1.2

Windows version, edition, and architecture

Win 11 Pro 25h2

Describe your issue

When attempting to save a bundle the following error is shown on all tested devices:

Image

Steps to reproduce the issue

Save any type of bundle from gui.

UniGetUI Log

[3/18/2026 7:54:40 AM]    __  __      _ ______     __  __  ______
                         / / / /___  (_) ____/__  / /_/ / / /  _/
                        / / / / __ \/ / / __/ _ \/ __/ / / // /
                       / /_/ / / / / / /_/ /  __/ /_/ /_/ // /
                       \____/_/ /_/_/\____/\___/\__/\____/___/
                           Welcome to UniGetUI Version 2026.1.2
[3/18/2026 7:54:40 AM]
[3/18/2026 7:54:40 AM] Build 107
[3/18/2026 7:54:40 AM] Data directory C:\Users\tom\AppData\Local\UniGetUI
[3/18/2026 7:54:40 AM] Encoding Code Page set to 437
[3/18/2026 7:54:41 AM] Loaded language locale: en
[3/18/2026 7:54:41 AM] Lang files were updated successfully from GitHub
[3/18/2026 7:54:41 AM] Unable to retrieve secret for resource 'UniGetUI/GitHubAccessToken': Element not found.
                       
                       Cannot get credential from Vault
[3/18/2026 7:54:41 AM] .NET Tool is not enabled
[3/18/2026 7:54:41 AM] vcpkg is not enabled
[3/18/2026 7:54:41 AM] Cargo is not enabled
[3/18/2026 7:54:41 AM] Npm is not enabled
[3/18/2026 7:54:41 AM] Chocolatey is not enabled
[3/18/2026 7:54:41 AM] Scoop is not enabled
[3/18/2026 7:54:41 AM] Randomly-generated background API auth token: kb5wxwlb45ycw3x4ijsdru89tq48kcklmvu7xalqgld6vzp9tffgkmcjoj63w1et
[3/18/2026 7:54:41 AM] PowerShell is enabled and was found on C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
[3/18/2026 7:54:41 AM] PowerShell7 is enabled and was found on C:\Program Files\PowerShell\7\pwsh.exe
[3/18/2026 7:54:41 AM] Pip is enabled and was found on C:\Users\tom\AppData\Local\Microsoft\WindowsApps\python.exe
[3/18/2026 7:54:41 AM] Connected to WinGet API using bundled in-proc activation.
[3/18/2026 7:54:41 AM] WinGet activation mode selected: bundled in-proc COM | Source: C:\Program Files\UniGetUI\winget-cli_x64\WindowsPackageManager.dll
[3/18/2026 7:54:41 AM] Winget is enabled and was found on C:\Users\tom\AppData\Local\Microsoft\WindowsApps\winget.exe
[3/18/2026 7:54:42 AM] Updater source 'ProductInfo' returned version 2026.1.2.0 (upgradable=False)
[3/18/2026 7:54:42 AM] Api running on http://localhost:7058
[3/18/2026 7:54:42 AM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                       █▀▀▀▀▀▀▀▀▀▀▀▀▀ 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.7920                                                                          
                       █          PSEdition                      Desktop                                                                                 
                       █          PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                 
                       █          BuildVersion                   10.0.26100.7920                                                                         
                       █          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.
                       ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[3/18/2026 7:54:42 AM] An error occurred while initialising package manager Pip
[3/18/2026 7:54:42 AM] System.InvalidOperationException: Microsoft Store python alias is not a valid python install
                          at UniGetUI.PackageEngine.Managers.PipManager.Pip._loadManagerVersion(String& version) in D:\a\UniGetUI\UniGetUI\src\UniGetUI.PackageEngine.Managers.Pip\Pip.cs:line 433
                          at UniGetUI.PackageEngine.ManagerClasses.Manager.PackageManager.Initialize() in D:\a\UniGetUI\UniGetUI\src\UniGetUI.PackageEngine.PackageManagerClasses\Manager\PackageManager.cs:line 102
[3/18/2026 7:54:42 AM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                       █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                       █ Name: WinGet (aka Winget)
                       █ Executable name: "winget.exe"
                       █ Executable path: "C:\Users\tom\AppData\Local\Microsoft\WindowsApps\winget.exe"
                       █ Call arguments: ""
                       █ Version: System WinGet (CLI) Version: v1.28.220
                       █          Using Native WinGet helper (COM Api)
                       █          Activation mode: bundled in-proc COM
                       █          Activation source: C:\Program Files\UniGetUI\winget-cli_x64\WindowsPackageManager.dll
                       █          
                       █ WinGet is enabled and ready to go.
                       ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[3/18/2026 7:54:42 AM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                       █▀▀▀▀▀▀▀▀▀▀▀▀▀ 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.5
                       █          
                       █ PowerShell 7.x is enabled and ready to go.
                       ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[3/18/2026 7:54:45 AM] LoadComponentsAsync finished executing. All managers loaded. Proceeding to interface.
[3/18/2026 7:54:46 AM] Downloaded new icons and screenshots successfully!
[3/18/2026 7:54:46 AM] Integrity check passed successfully!
[3/18/2026 7:54:47 AM] Found 0 installed packages from PowerShell7
[3/18/2026 7:54:47 AM] Found 0 installed packages from PowerShell7
[3/18/2026 7:54:47 AM] Found 0 available updates from PowerShell7
[3/18/2026 7:54:47 AM] Found 0 installed packages from PowerShell
[3/18/2026 7:54:47 AM] Found 0 installed packages from PowerShell
[3/18/2026 7:54:47 AM] Found 0 available updates from PowerShell
[3/18/2026 7:54:47 AM] Found 168 installed packages from Winget
[3/18/2026 7:54:47 AM] Found 3 available updates from Winget
[3/18/2026 7:54:54 AM] An error occurred when saving packages to a file
[3/18/2026 7:54:54 AM] System.InvalidCastException: Unable to cast object of type 'ExternalLibraries.Pickers.Classes.FileSaveDialogRCW' to type 'ExternalLibraries.Pickers.Interfaces.FileSaveDialog'.
                          at ExternalLibraries.Pickers.Classes.Helper.ShowSave(IntPtr windowHandle, FOS fos, List`1 typeFilters, String name) in D:\a\UniGetUI\UniGetUI\src\ExternalLibraries.FilePickers\Classes\Helper.cs:line 58
                          at UniGetUI.Interface.SoftwarePages.PackageBundlesPage.SaveFile() in D:\a\UniGetUI\UniGetUI\src\UniGetUI\Pages\SoftwarePages\PackageBundlesPage.cs:line 594
[3/18/2026 7:55:03 AM] Manager Pip is disabled but yet GetInstalledPackages was called
[3/18/2026 7:55:03 AM] Found 0 installed packages from PowerShell7
[3/18/2026 7:55:04 AM] Found 168 installed packages from Winget
[3/18/2026 7:55:04 AM] Found 0 installed packages from PowerShell
[3/18/2026 8:03:15 AM] An error occurred when saving packages to a file
[3/18/2026 8:03:15 AM] System.InvalidCastException: Unable to cast object of type 'ExternalLibraries.Pickers.Classes.FileSaveDialogRCW' to type 'ExternalLibraries.Pickers.Interfaces.FileSaveDialog'.
                          at ExternalLibraries.Pickers.Classes.Helper.ShowSave(IntPtr windowHandle, FOS fos, List`1 typeFilters, String name) in D:\a\UniGetUI\UniGetUI\src\ExternalLibraries.FilePickers\Classes\Helper.cs:line 58
                          at UniGetUI.Interface.SoftwarePages.PackageBundlesPage.SaveFile() in D:\a\UniGetUI\UniGetUI\src\UniGetUI\Pages\SoftwarePages\PackageBundlesPage.cs:line 594
[3/18/2026 8:04:02 AM] An error occurred when saving packages to a file
[3/18/2026 8:04:02 AM] System.InvalidCastException: Unable to cast object of type 'ExternalLibraries.Pickers.Classes.FileSaveDialogRCW' to type 'ExternalLibraries.Pickers.Interfaces.FileSaveDialog'.
                          at ExternalLibraries.Pickers.Classes.Helper.ShowSave(IntPtr windowHandle, FOS fos, List`1 typeFilters, String name) in D:\a\UniGetUI\UniGetUI\src\ExternalLibraries.FilePickers\Classes\Helper.cs:line 58
                          at UniGetUI.Interface.SoftwarePages.PackageBundlesPage.SaveFile() in D:\a\UniGetUI\UniGetUI\src\UniGetUI\Pages\SoftwarePages\PackageBundlesPage.cs:line 594
[3/18/2026 8:04:54 AM] Manager Pip is disabled but yet GetInstalledPackages was called
[3/18/2026 8:04:55 AM] Found 0 installed packages from PowerShell7
[3/18/2026 8:04:55 AM] Found 0 installed packages from PowerShell
[3/18/2026 8:04:56 AM] Found 168 installed packages from Winget
[3/18/2026 8:04:56 AM] Adding missing package Surfshark.Surfshark to installed packages list
[3/18/2026 8:04:59 AM] WinGet package Devolutions.RemoteDesktopManager is installed on a system-wide scope, forcing administrator rights...
[3/18/2026 8:04:59 AM] Loaded operation parameters for package id=Devolutions.RemoteDesktopManager on manager Winget and operation Update: update --id "Devolutions.RemoteDesktopManager" --exact --source winget --accept-source-agreements --disable-interactivity --silent --include-unknown --accept-package-agreements --force
[3/18/2026 8:04:59 AM] Caching admin rights for process id 20164
[3/18/2026 8:05:35 AM] Clearing UAC prompt since there are no remaining operations
[3/18/2026 8:05:35 AM] Resetting administrator rights cache for process id 20164
[3/18/2026 8:19:28 AM] Manager Pip is disabled but yet GetInstalledPackages was called
[3/18/2026 8:19:28 AM] Found 0 installed packages from PowerShell7
[3/18/2026 8:19:29 AM] Found 0 installed packages from PowerShell
[3/18/2026 8:19:29 AM] Found 168 installed packages from Winget
[3/18/2026 8:19:29 AM] Adding missing package Devolutions.RemoteDesktopManager to installed packages list
[3/18/2026 8:31:39 AM] Manager Pip is disabled but yet GetInstalledPackages was called
[3/18/2026 8:31:39 AM] Found 0 installed packages from PowerShell7
[3/18/2026 8:31:40 AM] Found 0 installed packages from PowerShell
[3/18/2026 8:31:43 AM] An error occurred when saving packages to a file
[3/18/2026 8:31:43 AM] System.InvalidCastException: Unable to cast object of type 'ExternalLibraries.Pickers.Classes.FileSaveDialogRCW' to type 'ExternalLibraries.Pickers.Interfaces.FileSaveDialog'.
                          at ExternalLibraries.Pickers.Classes.Helper.ShowSave(IntPtr windowHandle, FOS fos, List`1 typeFilters, String name) in D:\a\UniGetUI\UniGetUI\src\ExternalLibraries.FilePickers\Classes\Helper.cs:line 58
                          at UniGetUI.Interface.SoftwarePages.PackageBundlesPage.SaveFile() in D:\a\UniGetUI\UniGetUI\src\UniGetUI\Pages\SoftwarePages\PackageBundlesPage.cs:line 594
[3/18/2026 8:31:44 AM] Found 168 installed packages from Winget
[3/18/2026 8:33:24 AM] Manager Pip is disabled but yet GetInstalledPackages was called
[3/18/2026 8:33:25 AM] Found 0 installed packages from PowerShell7
[3/18/2026 8:33:26 AM] Found 168 installed packages from Winget
[3/18/2026 8:33:26 AM] Found 0 installed packages from PowerShell

Package Managers Logs

Manager WinGet with version:
System WinGet (CLI) Version: v1.28.220
Using Native WinGet helper (COM Api)
Activation mode: bundled in-proc COM
Activation source: C:\Program Files\UniGetUI\winget-cli_x64\WindowsPackageManager.dll

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


Logged native task on manager Winget. Task type is ListSources
Process start time: 3/18/2026 7:54:42 AM
Process end time:   3/18/2026 7:54:42 AM

-- Task information
 ...

The task reported success

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

Logged subprocess-based task on manager Winget. Task type is RefreshIndexes
Subprocess executable: "C:\Users\tom\AppData\Local\Microsoft\WindowsApps\winget.exe"
Command-line arguments: " source update --disable-interactivity "
Process start time: 3/18/2026 7:54:45 AM
Process end time:   3/18/2026 7:54:46 AM

-- Process STDOUT
 ...

Return code: SUCCESS (0)

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

Logged native task on manager Winget. Task type is ListInstalledPackages
Process start time: 3/18/2026 7:54:45 AM
Process end time:   3/18/2026 7:54:47 AM

-- Task information
 ...

The task reported success

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

Logged native task on manager Winget. Task type is OtherTask
Process start time: 3/18/2026 7:54:45 AM
Process end time:   3/18/2026 7:54:47 AM

-- Task information
 ...

The task reported success

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

Logged native task on manager Winget. Task type is ListUpdates
Process start time: 3/18/2026 7:54:46 AM
Process end time:   3/18/2026 7:54:47 AM

-- Task information
 ...

The task reported success

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

Logged native task on manager Winget. Task type is ListInstalledPackages
Process start time: 3/18/2026 7:55:03 AM
Process end time:   3/18/2026 7:55:04 AM

-- Task information
 ...

The task reported success

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

Logged native task on manager Winget. Task type is OtherTask
Process start time: 3/18/2026 7:55:03 AM
Process end time:   3/18/2026 7:55:04 AM

-- Task information
 ...

The task reported success

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

Logged native task on manager Winget. Task type is ListInstalledPackages
Process start time: 3/18/2026 8:04:54 AM
Process end time:   3/18/2026 8:04:56 AM

-- Task information
 ...

The task reported success

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

Logged native task on manager Winget. Task type is OtherTask
Process start time: 3/18/2026 8:04:54 AM
Process end time:   3/18/2026 8:04:56 AM

-- Task information
 ...

The task reported success

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

Logged native task on manager Winget. Task type is ListInstalledPackages
Process start time: 3/18/2026 8:19:28 AM
Process end time:   3/18/2026 8:19:29 AM

-- Task information
 ...

The task reported success

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

Logged native task on manager Winget. Task type is OtherTask
Process start time: 3/18/2026 8:19:28 AM
Process end time:   3/18/2026 8:19:29 AM

-- Task information
 ...

The task reported success

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

Logged native task on manager Winget. Task type is ListInstalledPackages
Process start time: 3/18/2026 8:31:39 AM
Process end time:   3/18/2026 8:31:44 AM

-- Task information
 ...

The task reported success

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

Logged native task on manager Winget. Task type is OtherTask
Process start time: 3/18/2026 8:31:39 AM
Process end time:   3/18/2026 8:31:44 AM

-- Task information
 ...

The task reported success

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

Logged native task on manager Winget. Task type is ListInstalledPackages
Process start time: 3/18/2026 8:33:24 AM
Process end time:   3/18/2026 8:33:26 AM

-- Task information
 ...

The task reported success

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

Logged native task on manager Winget. Task type is OtherTask
Process start time: 3/18/2026 8:33:24 AM
Process end time:   3/18/2026 8:33:26 AM

-- Task information
 ...

The task reported success

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

Logged native task on manager Winget. Task type is ListInstalledPackages
Process start time: 3/18/2026 8:34:34 AM
Process end time:   3/18/2026 8:34:36 AM

-- Task information
 ...

The task reported success

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

Logged native task on manager Winget. Task type is OtherTask
Process start time: 3/18/2026 8:34:34 AM
Process end time:   3/18/2026 8:34:36 AM

-- Task information
 ...

The task reported success

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

Relevant information

No response

Screenshots and videos

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions