Winget content comes and goes (by Microsoft)

Pavel yannara Mirochnitchenko 12,576 Reputation points MVP
2024-03-23T19:27:53.5033333+00:00

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.

User's image

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.

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,583 questions
Microsoft Intune Application management
Microsoft Intune Application management
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Application management: The process of creating, configuring, managing, and monitoring applications.
941 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
5,048 questions
0 comments No comments
{count} vote

2 answers

Sort by: Most helpful
  1. Pavel yannara Mirochnitchenko 12,576 Reputation points MVP
    2024-03-28T10:21:13.0033333+00:00

    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.

    0 comments No comments

  2. 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

    https://github.com/microsoft/winget-cli/releases

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.