-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some packages will not listed by winget upgrade, even upgrade packages are available in winget repository #1093
Comments
@Karl-WE we're looking into these. This is one of those areas where the matching is quite challenging. We're looking at an "UpgradeCode" that hopefully will help with these specific packages and many other .MSI installers. |
In my case Winget lists these packages after execution "winget upgrade", but it does not work correctly. |
Hello, just had the very same problem on version winget v1.2.10271. I have the following outdated packages (version 11.0.60610) :
And I should be offered (version 11.0.61030.0) :
But winget upgrade does not show any update for those packages. Thank you. |
I believe we've got enough of the work in place with Windows Package Manager 1.3 Release Candidate to resolve these issues. Some work will need to be done on the manifests to add the correct data for Windows Apps & Features in the manifest. |
The Visual C++ Redistributable manifests have been updated with the appsAndFeatures data to help with matching in the registry. They have also been split into two packages by architecture to help. |
@Karl-WE We just released WinGet 1.4 today. I wanted to follow up and see if this Issue is still actively causing trouble or not. |
Hi Demitrius, I would need to install older C++ distributions to test this. I expect 1.4 is found in the official releases. There are some other quirks I have documented in my backlog to repro and report. Will let you know how this is going about C++. |
Thanks. I also wanted to cross-link: We're seeing some forced reboots even when we pass the arguments to suppress them. |
I still sometimes see the behaviour that packages won't upgrade or not being listed, other packages than listed in this PR. I am collecting repros on this. Quite hard to track. |
Yes, they are. This is one of the areas where MSIX based installations tend to shine. MSI's aren't terrible since they have a "3010 ERROR_SUCCESS_REBOOT_REQUIRED", but lots of .exe installers pull in other dependencies. It's often the case that those other dependencies are runtimes that need to be rebooted in order to apply. |
[Policy] Command-Upgrade |
We've been working on the side-by-side scenarios. You could try the latest release and enable the experimental feature on: Please provide feedback at: |
Hello @denelon, checking my OP it was about MS C++ redist, where one usually do not want side by side versions. I am not sure if the reported issue, from long ago is still something that happen. |
Brief description of your issue
Certain packages that are installed on a device will not be handled (or not handled correctly) via Winget upgrade
This might also affect other packages. In this case the source and target installers are MSI so there is no confusion about different installers.
winget list shows the packages and their installer IDs. (see environment)
Steps to reproduce
Expected behavior
winget upgrade should list available upgrades for these packages
Actual behavior
winget upgrade does not list upgrades for these packages
Environment
Windows Package Manager v1.0.11451
Copyright (c) Microsoft Corporation. Alle Rechte vorbehalten.
Windows: Windows.Desktop v10.0.21390.1
Paket: Microsoft.DesktopAppInstaller v1.11.11451.0
Windows 10 Insider Dev 21390
Any other software?
Upgraded the packages manually via winget install
result:
PS C:\WINDOWS\system32> winget list c++
Name ID Version
Microsoft Visual C++ 2012 Redistributable (x86) - 11.0.61030 {33d1fd90-4274-48a1-9bc1-97e33d9c2d6f} 11.0.61030.0
Microsoft Visual C++ 2015-2019 Redistributable (x64) - 14.29.30037 {4b2f3795-f407-415e-88d5-8c8ab322909d} 14.29.30037.0
Microsoft Visual C++ 2012 Redistributable (x64) - 11.0.61030 {ca67548a-5ebe-413a-b50c-4b9ceb6d66c6} 11.0.61030.0
Microsoft Visual C++ 2015-2019 Redistributable (x86) - 14.29.30037 {dfea0fad-88b2-4a1f-8536-3f8f9391f4ef} 14.29.30037.0
The text was updated successfully, but these errors were encountered: