winget-cli: First usage feedback: multiple non-silent fails, one crash, and two types of repeats
Brief description of your issue
Sorry if this shouldn’t be reported this way, but I’m not yet up-to-speed on the Microsoft ways-of-work on Github.
After installing winget-cli this morning, and running winget upgrade --all
, I got the following feedback:
- Multiple non-silent fails
- One crash of winget
- Looping installation after fail
- Upgrades of up-to-date applications
Steps to reproduce
Have an old 32-bit version of Teamviewer installed on your 64 machine, together with any old version of the other apps listed below under Actual behaviour.
Then run winget upgrade --all
as administrator in a Windows Terminal session running Powershell as default.
Expected behavior
Winget to update these packages, and kill a running download when pressing CTRL+C.
Actual behavior
While downloading the Unity update of 2GB, I pressed CTRL+C because I needed my bandwidth for a Teams meeting, but it seems the download kept running even though I got my Powershell prompt back.
Multiple packages (also a number of packages not listed here) have visible installers. It wouldn’t be too much of an issue if these would be running in the background, but they are being pushed as top window, and get the focus of Windows, which makes it possible to accidentally cancel an installation, otherwise interrupt an installation, or close an error message.
- Battle.Net: Keeps re-installing the update (and launching after installation).
- Discord: Installer fails to install, because Discord.exe was still running. 2nd attempts installs a version that still needs to update when running for the first time.
- LockHunter: Keeps re-installing the update (and popping up their website after installation).
- Parsec: Installer hash does not match; this cannot be overridden when running as admin.
- PyCharm Community Edition: Installation fails, because it attempts to install into a non-empty directory. Then it re-tries, gives the same error, and continues to the next package. As long as the error is open, winget does not continue.
- Speccy: Keeps re-installing the update.
- Spotify: Fails because it can only be installed under user level, and not as administrator.
- TrackMania Nations Forever: Keeps re-installing the update (500MB slow download with visible installer).
- TeamViewer: Returns error 0x80072f7c and exits winget. After manually updating, it successfully skips this package.
- CORSAIR iCUE 4 Software: Installer freezes after spawning multiple C++ Application Development Frameworks (QtWebEngineProcess.exe). winget reported error 1603 and continued after I killed the installer.
- euroscope: Installer failed with exit code: 1603 (no user-interaction happened)
- PowerShell: Installation killed my PowerShell session, and with that it killed winget
- Unity: Keeps re-installing the update (2GB download!)
- Unity Hub: Keeps re-installing the update
- Ubisoft Connect: Keeps re-installing the update
- Visual Studio Community 2019: Keeps re-installing the update
- Barrier: Installer fails because the process takes too long to be killed
- Epic Games Launcher: Installer failed with exit code: 1603 (no user-interaction happened)
- Visual Studio Code: Keeps re-installing the update, application launches after installation
Mozilla Firefox, VLC media player, Zoom and Adobe Acrobat Reader DC aren’t automatically updating at all with winget upgrade --all
and return No applicable update found.
when trying to upgrade them one-by-one.
Environment
Windows Package Manager v1.0.11451
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.19041.1023
Package: Microsoft.DesktopAppInstaller v1.11.11451.0
PS C:\Users\maste> winget upgrade
Name Id Version Available Source
----------------------------------------------------------------------------------------------------------------
Battle.Net Blizzard.BattleNet Unknown 1.22.0.12040 winget
Discord Discord.Discord 1.0.9000 1.0.9002 winget
LockHunter CrystalRich.LockHunter Unknown 3.3.4.139 winget
Mozilla Firefox Mozilla.Firefox 84.0.2 88.0.1 winget
Parsec ParsecCloudInc.Parsec 150-36 150.47 winget
PyCharm Community Edition JetBrains.PyCharm.Community 203.6682.179 2021.1.1 winget
PyCharm Community Edition JetBrains.PyCharm.Community 211.7142.13 2021.1.1 winget
Speccy Piriform.Speccy 1.32 1.32.774 winget
Spotify Spotify.Spotify 1.1.60.668.gff09d345 latest winget
TrackMania Nations Forever Nadeo.TrackManiaNationsForever Unknown 2.11.26 winget
Unity UnityTechnologies.Unity 2018.4.26f1 2021.1.7f1 winget
Unity Hub UnityTechnologies.UnityHub 2.2.2 2.4.3 winget
Ubisoft Connect Ubisoft.Connect 38.2 121.0.0.10451 winget
VLC media player VideoLAN.VLC 3.0.11 3.0.14 winget
Zoom Zoom.Zoom 5.3.1 (52879.0927) 5.6.961 winget
Visual Studio Community 2019 Microsoft.VisualStudio.2019.Community 16.8.31005.135 16.10.31321.278 winget
Barrier DebaucheeOpenSourceGroup.Barrier 2.3.3-release 2.3.3 winget
CORSAIR iCUE 4 Software Corsair.iCUE 4.9.338 4.11.274 winget
euroscope gergelycsernak.euroscope 3.2 3.2.1.0 winget
Adobe Acrobat Reader DC Adobe.AdobeAcrobatReaderDC 21.001.20155 2021.001.20155 winget
Epic Games Launcher EpicGames.EpicGamesLauncher 1.1.257.0 1.2.17.0 winget
Visual Studio Code Microsoft.VisualStudioCode 1.56.2 1.56.2.054a929533 winget
Logs: DiagOutputDir.zip
About this issue
- Original URL
- State: open
- Created 3 years ago
- Reactions: 6
- Comments: 30 (18 by maintainers)
Thank you! I’m really looking forward to using this on an enterprise level, but it requires some finetuning 😃
I’ve read, checked, and double-checked the help page… Can’t understand how I’ve missed that one… Sorry ^^
Don’t worry, I know this is WIP and things cannot improve without feedback. Seeing the community working on this makes it worth posting the feedback in the first place. Even now WinGET already helps me so much!
Please let me know when to retest, so I can fill you in with the results of updating my current list of applications 😃
Sorry, wrong button…
I did re-install Windows 11 in the meantime, so this might not be completely representative anymore 😃 Running
winget upgrade --all
now, will post the results when finished. Thanks for all your very hard work on this project!@denelon thank you for getting back to me. I can confirm that CTRL+C now kills the download.
Since I’ve re-installed my Windows, a lot of the checks are uncheckable for me now. Other things that I’m noticing now:
Ryzen fails due to failed version comparison:
Discord fails due to it still running:
Unity is still being installed as a separate version when doing
upgrade --all
. Suggestion: Remove the upgrade option from Winget for this application.