Skip to content

[BUG] Cannot update packages which need elevated rights in Avalonia UI #4697

@redactedscribe

Description

@redactedscribe

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.8

Windows version, edition, and architecture

Windows 11 Pro

Describe your issue

Since 2026.1.8 when bundled WinGet was removed, I can no longer update WinGet packages. This is because Avalonia is looking for C:\Program Files\UniGetUI\Avalonia\Assets\Utilities\UniGetUI Elevator.exe which does not exist. UniGetUI Elevator.exe exists in C:\Program Files\UniGetUI\Assets\Utilities.

Tested in Classic UI mode and WinGet works as expected.

Steps to reproduce the issue

Try to update a package which needs UniGetUI Elevator.exe.

UniGetUI Log

\-

Package Managers Logs

\-

Relevant information

Operation history:

Package update operation for Package=TheDocumentFoundation.LibreOffice with Manager=Winget
Installation options: <InstallOptions instance (only non-default values are shown)
OverridesNextLevelOpts: False>
Overriden options: <Scope=;RunAsAdministrator=;WG_SpecifyVersion=;PS_NoScope=False;Pip_BreakSystemPackages=False>
Version: 26.2.2.2 -> 26.2.3.2
Starting operation...
Executing process with StartInfo:
- FileName: "C:\Program Files\UniGetUI\Avalonia\Assets\Utilities\UniGetUI Elevator.exe"
- Arguments: ""D:\Scoop\shims\winget.exe"  update --id "TheDocumentFoundation.LibreOffice" --exact --source winget --accept-source-agreements --disable-interactivity --silent --include-unknown --accept-package-agreements --force"
Start Time: "06/05/2026 01:50:12"
System.ComponentModel.Win32Exception (2): An error occurred trying to start process 'C:\Program Files\UniGetUI\Avalonia\Assets\Utilities\UniGetUI Elevator.exe' with working directory 'C:\Users\user'. The system cannot find the file specified.
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at UniGetUI.PackageOperations.AbstractProcessOperation.PerformOperation() in D:\a\UniGetUI\UniGetUI\src\UniGetUI.PackageEngine.Operations\AbstractProcessOperation.cs:line 112
at UniGetUI.PackageOperations.AbstractOperation._runOperation() in D:\a\UniGetUI\UniGetUI\src\UniGetUI.PackageEngine.Operations\AbstractOperation.cs:line 316
LibreOffice could not be updated

Screenshots and videos

Image

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