Explicit Targeting and Unknown Packages #3066
-
I'm trying to use
I've tried using
Any ideas how I can upgrade the 8 packages and also how I can upgrade the package that needs explicit targeting? |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 6 replies
-
Explicit Targeting means that you need to pass the ID to upgrade it and it will be excluded from Regarding the unknown versions, it's likely they are already up to date. WinGet uses the version in the registry to determine if an application is up to date or not. If the installer doesn't write the version to the registry, it will always show as unknown. So, even after an upgrade, it's possible (and even likely) that the version will remain unknown. The other part of it is that a newer version may not be applicable, which means that even though it is available, there is something preventing it from being installed; but, these messages aren't always shown when using |
Beta Was this translation helpful? Give feedback.
-
I tried running However, when I then try
Running Windows 11 Pro (22H2) and running winget using Terminal (Run as Administrator) |
Beta Was this translation helpful? Give feedback.
-
Same issue; same symptoms. Let me know if I can provide some logs to help.
|
Beta Was this translation helpful? Give feedback.
-
Unfortunately we haven't found a good solution for Teams. What appears to be happening is when Team is installed for the current "user" rather than "machine" another package is installed "Teams Machine-Wide Installer". The matching logic detects that as the "first" match encountered. We're working on several issues related to matching and we're adding the "Area-Matching" label to those. We've started to work on the first few aspects of this problem. We will continue to refine the logic as we encounter sub-classes of this problem. |
Beta Was this translation helpful? Give feedback.
-
--name 'Microsoft Teams or --name 'Teams Machine-Wide Installer' works just fine. However, thre is a collision with Team installs when both items are installed (likely due to a managed application installation vs winget install). |
Beta Was this translation helpful? Give feedback.
-
I am experiencing similar issue on Win 11 23H2 until today.
Microsoft Teams classic Microsoft.Teams.Classic 1.6.00.29964 1.7.00.19353 winget Today, at first I run "winget upgrade Obsidian.Obsidian" and completed. So, I wonder that remaining Microsoft.Teams.Classic is caused by another issue. Regards. |
Beta Was this translation helpful? Give feedback.
Explicit Targeting means that you need to pass the ID to upgrade it and it will be excluded from
--all
. For Teams you would need to dowinget upgrade Microsoft.Teams
Regarding the unknown versions, it's likely they are already up to date. WinGet uses the version in the registry to determine if an application is up to date or not. If the installer doesn't write the version to the registry, it will always show as unknown. So, even after an upgrade, it's possible (and even likely) that the version will remain unknown. The other part of it is that a newer version may not be applicable, which means that even though it is available, there is something preventing it from being installed; but, th…