I found out, that Winget v1.6 does not have all source available in repository, but v1.7 does. If I compare Winget Search Discord in v1.6 and in v1.7, I get totally different results. Same happends with Chrome and 7-zip. But I can't upgrade winget to v1.7 from command line. Upgrade command Winget Upgrade or so completes successfully, but it is still 1.6.
Winget content comes and goes (by Microsoft)
I have proved myself several times, that one day some app is available in Winget repository and another day it is gone. This seems to be changing from time to time. Now the Discord is gone and it did work like 6 month ago or so.
I know that now Discord, as this example can be found with ID XPDC2RH70K22MN and install with winget command, but main question here is, why those IDs keep changing with time. This behavior makes automation scripts useless if the distribution breakes later. And this is not the only one example I have seen during last year.
2 answers
Sort by: Most helpful
-
Pavel yannara Mirochnitchenko 12,576 Reputation points MVP
2024-03-28T10:21:13.0033333+00:00 -
Pavel yannara Mirochnitchenko 12,576 Reputation points MVP
2024-03-28T15:32:33.2933333+00:00 To get full catalog support by winget, I guess it would require to install this package additionatelly