[BUG] UniGetUI breaks itself when updating via package update
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.
- [x] I have checked the FAQ section for solutions.
- [x] This issue is about a bug (if it is not, please use the correct template).
UniGetUI Version
3.1.8
Windows version, edition, and architecture
Win 11 Pro N x64 24H2
Describe your issue
Updating UniGetUI via the package updates:
Closes the app, but no proper installation takes place. Starting the app is no longer possible after the attempted update. unins000.exe is also missing, which means uninstalling from the Windows installed apps is no longer possible.
The only fix is manually downloading the installer from Github and running it to overwrite/fix the installation.
https://github.com/marticliment/UniGetUI?tab=readme-ov-file#update-UniGetUI states this is a valid way to update, but it seems safer to me to use the built in updater and exclude the package from the software updates list.
Steps to reproduce the issue
- See software updates are available
- UniGetUI is one of them
- Click update selected packages (all are by default)
- When it's the UniGetUI package's turn in the queue the app closes and does not update
- Trying to start UniGetUI again does not work
UniGetUI Log
Cannot start the app, cannot reach logs.
Package Managers Logs
Cannot start the app, cannot reach logs.
Relevant information
No response
Screenshots and videos
No response
It used to work in the past, perhaps not anymore. I will investigate the issue
I encountered the same behaviour on 2 different Windows 11 machines (Desktop and Laptop). I found out the installer image was downloaded to WinGet's package cache
%LocalAppData%\Temp\UniGetUI\ElevatedWinGetTemp\WinGet\XPFFTQ032PTPHF.3.2.0
The local appdata crashdump contain several dumps related to the elevator:
And several administrative application error events in the event viewer:
The elevator shouldn't have anything to do with the update process... Nevertheless thanks for pointing out!
Any updates? I just broke my installation.
Not the actual fix, but from next version and beyond the installer will have Repair capability, using the "Installed programs -> Modify" feature on Windows Settings. And the installer will be more careful when deleting files