Open essenciary opened 4 months ago
What happens when you click on "Update now"?
It installs the update. But when I restart the app, again, it shows the update notification.
Are you running any antivirus that could be interfiering with the update process?
Just the default windows security.
Also, potentially unrelated, but some updates keep coming back. Ex, I've successfully updated Chrome, the Visual C++ redistributable packages and the NVIDIA CUDA Toolkit, but they keep showing up (7zip fails to be updated with error).
This is a bug with WinGet, please right-click the faulting packages -> skip this version
Could this WinGet issue be causing the WinGetUI update problem as well? The readme says
WingetUI has a built-in autoupdater. However, it can also be updated like any other package within WingetUI (since WingetUI is available through Winget and Scoop).
No
I was running into a similar bug, so I did some investigating.
Short: The auto-updater doesn't work when WingetUI is installed via scoop (and possably chocolatey).
Long:
It looks like when you click the update button in Winget, Winget downloads an installer which installs Winget to either %LOCALAPPDATA%/Programs/
if you select "Current User" or I'm assuming one of the Program Files
directories if you select all users. This likely works for users who installed WingetUI via the installer.
The problem is that I originally installed Winget using scoop, so the scoop version remained unupdated. This led to me having two Winget installs, so the app would show as either version 3.0.1 or 3.0.2 depending on which version got launched.
I worked around the issue by running scoop update wingetui
and deleting the other install.
Notes: You say that you attempted to update using the installer from GitHub, but if you originally installed via a different method and did not uninstall WingetUI prior to using the installer, the installer would just have the effect mentioned above.
This does not explain the crashing you are experiencing, so that may be a different bug.
Of course, if you do not have a scoop/chocolatey installation, and this is unrelated, let me know and I will report this in a new issue.
@CoolSpy3 Thanks for your reply. You're right.
WingetUI path: C:\Users\adria\scoop\apps\wingetui\current\WingetUI.exe
Scoop update:
Scoop was updated successfully!
wingetui: 3.0.1 -> 3.0.2
Updating one outdated app:
Updating 'wingetui' (3.0.1 -> 3.0.2)
Downloading new version
WingetUI.Installer.exe (76.0 MB) [==============================================================================================================================] 100%
Checking hash of WingetUI.Installer.exe ... ok.
Uninstalling 'wingetui' (3.0.1)
Unlinking ~\scoop\apps\wingetui\current
Installing 'wingetui' (3.0.2) [64bit] from extras bucket
Loading WingetUI.Installer.exe from cache
Extracting WingetUI.Installer.exe ... done.
Linking ~\scoop\apps\wingetui\current => ~\scoop\apps\wingetui\3.0.2
Creating shortcut for WingetUI (WingetUI.exe)
'wingetui' (3.0.2) was installed successfully!
Now WingetUI no longer shows the update banner.
So then: a) why does not WingetUI scoop update itself? Scoop is enabled. b) why does not WingetUI show in Scoop as a source for itself?
It doesn't seem to use other enabled packages either, for ex pip
:
https://xon.sh/ default install is via pip.
~ which pip in cmd at 11:26:48
C:\Users\adria\.pyenv\pyenv-win\shims\pip
I will investigate this
@marticliment just wanted to say thanks for the great software, it's very powerful and productive and I really enjoy it. We're also building OSS in Barcelona @ https://genieframework.com/ and I know how rewarding but also how very challenging it can be at times. Congrats and maybe we'll meet for a coffee someday.
Please confirm these before moving forward
Describe your issue
I keep getting the in-app notification that WingetUI 3.02 is ready to be installed. I have updated from within the notification multiple times, the notification keeps coming back. I've also downloaded the latest release from Github and installed manually. The notification keeps coming back.
Probably related, WingetUI first crashes after an update. I start the app, then the app exists without showing a UI. Restarting successfully runs the app, with the update notification. So maybe the update fails (crashes the app) and some sort of rollback kicks in?
Steps to reproduce the issue
Open the app, you'll see the update notification. Use "Update now" to update and restart the app. The notification will show up again.
WingetUI Log
Truncated cause github says it's too long