Devolutions / Devolutions/UniGetUI

[BUG] FreeCAD fails to intall, but it uninstalls

Open
#5,218 2 comments 0 reactions 1 assignee Claimed by @GabrielDuf View on GitHub
bug not-UniGetUI
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/Devolutions/UniGetUI/releases/).
- [x] I have checked the [FAQ](https://github.com/Devolutions/UniGetUI#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/Devolutions/UniGetUI/issues/new/choose)).

### UniGetUI Version

2026.2.5

### Windows version, edition, and architecture

Windows 11 Home 25H2 26220.8925

### Describe your issue

This has been happening for last couple of updates, FreeCAD never installs and gives me error: It started happening from freecad ver 1.1 > 1.1.2 and today > 1.1.3, most annoying part is that uniget uninstalls it just fine, but never installs it again, even when that system popup appears for admin privileges and I tap yes, for both uninstall and install, but installation fails so the app is just gone, it installs just fine if I use terminal to install it.
Uniget Output:
```
Package update operation for Package=FreeCAD.FreeCAD with Manager=Winget
Update options:
Overriden options:
Version: 1.1.2 -> 1.1.3
Starting operation...
Executing process with StartInfo:
- FileName: "C:\Users\plane\AppData\Local\Microsoft\WindowsApps\winget.exe"
- Arguments: "update --id "FreeCAD.FreeCAD" --exact --source winget --accept-source-agreements --disable-interactivity --silent --include-unknown --accept-package-agreements --force"
Start Time: "30/07/2026 17:39:33"
Found FreeCAD [FreeCAD.FreeCAD] Version 1.1.3
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://github.com/FreeCAD/FreeCAD/releases/download/1.1.3/FreeCAD_1.1.3-Windows-x86_64-py311-installer.exe
Successfully verified installer hash
Starting package uninstall...
Successfully uninstalled
Starting package install...
Installer failed with exit code: 2
End Time: "30/07/2026 17:52:28"
Process return value: "-1978335226" (0x8A150006)
FreeCAD could not be updated
```
Terminal output:
```
winget install FreeCAD.FreeCAD
Found FreeCAD [FreeCAD.FreeCAD] Version 1.1.3
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Successfully verified installer hash
Starting package install...
Successfully installed
```

### Steps to reproduce the issue

Background auto update, it updates automatically in background and I just accept when it asks for admin privileges.

### UniGetUI Log

```text
[30/07/2026 18:14:09] __ __ _ ______ __ __ ______
/ / / /___ (_) ____/__ / /_/ / / / _/
/ / / / __ \/ / / __/ _ \/ __/ / / // /
/ /_/ / / / / / /_/ / __/ /_/ /_/ // /
\____/_/ /_/_/\____/\___/\__/\____/___/
Welcome to UniGetUI Version 2026.2.5
[30/07/2026 18:14:09]
[30/07/2026 18:14:09] Build 107
[30/07/2026 18:14:09] UI Framework: Avalonia
[30/07/2026 18:14:09] Data directory C:\Users\plane\AppData\Local\UniGetUI
[30/07/2026 18:14:09] OS: Microsoft Windows 10.0.26220
[30/07/2026 18:14:09] Process arch: X64 (OS: X64)
[30/07/2026 18:14:09] Runtime: .NET 10.0.10
[30/07/2026 18:14:09] Loaded language locale: en
[30/07/2026 18:14:09] Elevated: False
[30/07/2026 18:14:09] Packaged (MSIX): False
[30/07/2026 18:14:09] Args: (none)
[30/07/2026 18:14:09] DXGI hardware GPU detection took 79.7 ms; hardware GPU: True
[30/07/2026 18:14:11] Command cargo-binstall.exe was not found on the system
[30/07/2026 18:14:11] Detected interrupted update attempt. Running=2026.2.5, Target=2026.2.6.0
[30/07/2026 18:14:11] Unable to retrieve secret for resource 'UniGetUI/GitHubAccessToken': Element not found.

Cannot get credential from Vault
[30/07/2026 18:14:11] Unable to retrieve secret for resource 'UniGetUI/GitHubAccessToken': Element not found.

Cannot get credential from Vault
[30/07/2026 18:14:12] Starting Avalonia shell bootstrap
[30/07/2026 18:14:12] Loaded language locale: en
[30/07/2026 18:14:12] Generated a IPC API auth token for the current session
[30/07/2026 18:14:12] Npm is enabled and was found on C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe
[30/07/2026 18:14:12] PowerShell is enabled and was found on C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
[30/07/2026 18:14:12] Command scoop.ps1 was not found on the system
[30/07/2026 18:14:12] Scoop is enabled but was not found on the system!
[30/07/2026 18:14:12] Chocolatey is enabled and was found on C:\ProgramData\chocolatey\bin\choco.exe
[30/07/2026 18:14:12] PowerShell7 is enabled and was found on C:\Users\plane\AppData\Local\Microsoft\WindowsApps\pwsh.exe
[30/07/2026 18:14:12] Command vcpkg.exe was not found on the system
[30/07/2026 18:14:12] Command cargo.exe was not found on the system
[30/07/2026 18:14:12] Cargo is enabled but was not found on the system!
[30/07/2026 18:14:12] Command bun.exe was not found on the system
[30/07/2026 18:14:12] Command bun.cmd was not found on the system
[30/07/2026 18:14:12] Connected to WinGet API using packaged COM activation.
[30/07/2026 18:14:12] WinGet activation mode selected: packaged COM registration | Source: system COM registration
[30/07/2026 18:14:12] Winget is enabled and was found on C:\Users\plane\AppData\Local\Microsoft\WindowsApps\winget.exe
[30/07/2026 18:14:12] Bun is enabled but was not found on the system!
[30/07/2026 18:14:12] Command vcpkg was not found on the system
[30/07/2026 18:14:13] Api running on named pipe UniGetUI.IPC
[30/07/2026 18:14:13] Pip is enabled and was found on C:\Users\plane\AppData\Local\Programs\Python\Python312\python.EXE
[30/07/2026 18:14:13] Command vcpkg was not found on the system
[30/07/2026 18:14:13] Vcpkg root was not found. Please define the %VCPKG_ROOT% environment variable or define it from UniGetUI Settings
[30/07/2026 18:14:13] vcpkg is enabled but was not found on the system!
[30/07/2026 18:14:13] Downloaded new icons and screenshots successfully!
[30/07/2026 18:14:13] Auto-updater source 'ProductInfo' returned version 2026.2.6.0 (upgradable=True)
[30/07/2026 18:14:13] Update to UniGetUI 2026.2.6.0 is available.
[30/07/2026 18:14:14] .NET Tool is enabled but was not found on the system!
[30/07/2026 18:14:14] Cached valid installer found, preparing to launch...
[30/07/2026 18:14:20] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: WinGet (aka Winget)
█ Executable name: "winget.exe"
█ Executable path: "C:\Users\plane\AppData\Local\Microsoft\WindowsApps\winget.exe"
█ Call arguments: ""
█ Version: System WinGet (CLI) Version: v1.29.280
█ Using Native WinGet helper (COM Api)
█ Activation mode: packaged COM registration
█ Activation source: system COM registration

█ WinGet is enabled and ready to go.
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[30/07/2026 18:14:21] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: PowerShell 7.x (aka PowerShell7)
█ Executable name: "pwsh.exe"
█ Executable path: "C:\Users\plane\AppData\Local\Microsoft\WindowsApps\pwsh.exe"
█ Call arguments: " -NoProfile -Command"
█ Version: PowerShell 7.6.4

█ PowerShell 7.x is enabled and ready to go.
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[30/07/2026 18:14:29] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: Pip (aka Pip)
█ Executable name: "pip"
█ Executable path: "C:\Users\plane\AppData\Local\Programs\Python\Python312\python.EXE"
█ Call arguments: "-m pip "
█ Version: pip 26.2 from C:\Users\plane\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip (python 3.12)

█ Pip is enabled and ready to go.
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[30/07/2026 18:14:31] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ 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.8925
█ PSEdition Desktop
█ PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
█ BuildVersion 10.0.26100.8925
█ 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.
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[30/07/2026 18:14:44] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: Chocolatey (aka Chocolatey)
█ Executable name: "choco.exe"
█ Executable path: "C:\ProgramData\chocolatey\bin\choco.exe"
█ Call arguments: ""
█ Version: 2.7.3

█ Chocolatey is enabled and ready to go.
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[30/07/2026 18:14:48] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: Npm (aka Npm)
█ Executable name: "npm"
█ Executable path: "C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe"
█ Call arguments: "-NoProfile -ExecutionPolicy Bypass -Command "C:\Program` Files\nodejs\npm.cmd" "
█ Version: 11.17.0

█ Npm is enabled and ready to go.
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
```

### Package Managers Logs

```text
Manager WinGet with version:
System WinGet (CLI) Version: v1.29.280
Using Native WinGet helper (COM Api)
Activation mode: packaged COM registration
Activation source: system COM registration

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

Logged native task on manager Winget. Task type is ListSources
Process start time: 30/07/2026 18:14:20
Process end time: 30/07/2026 18:14:20

-- Task information
...

The task reported success

——————————————————————————————————————————
Logged subprocess-based task on manager Winget. Task type is RefreshIndexes
Subprocess executable: "C:\Users\plane\AppData\Local\Microsoft\WindowsApps\winget.exe"
Command-line arguments: " source update --disable-interactivity "
Process start time: 30/07/2026 18:15:05
Process end time: 30/07/2026 18:15:52

-- Process STDOUT
...

Return code: SUCCESS (0)

——————————————————————————————————————————
Logged native task on manager Winget. Task type is ListInstalledPackages
Process start time: 30/07/2026 18:15:05
Process end time: UNFINISHED

-- Task information
...

The task has not finished yet

——————————————————————————————————————————
Logged native task on manager Winget. Task type is OtherTask
Process start time: 30/07/2026 18:15:05
Process end time: 30/07/2026 18:16:02

-- Task information
...

The task reported success

——————————————————————————————————————————
Logged native task on manager Winget. Task type is ListUpdates
Process start time: 30/07/2026 18:15:52
Process end time: 30/07/2026 18:16:19

-- Task information
...

The task reported success

——————————————————————————————————————————
Logged native task on manager Winget. Task type is ListInstalledPackages
Process start time: 30/07/2026 18:16:06
Process end time: UNFINISHED

-- Task information
...

The task has not finished yet

——————————————————————————————————————————
Logged native task on manager Winget. Task type is OtherTask
Process start time: 30/07/2026 18:16:06
Process end time: 30/07/2026 18:16:45

-- Task information
...

The task reported success

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

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