winget-cli icon indicating copy to clipboard operation
winget-cli copied to clipboard

MS Store shows an update, but Winget does not

Open Reeceeboii opened this issue 3 years ago • 8 comments

Brief description of your issue

I have Termius installed on my system via Winget.

When I open the Microsoft Store, I can see that there is an available update for it that I can install:

image image

However, Winget does not show any available update, despite msstore being the source, and the installed version being 7.45.1.0 (the same version as listed in the MS Store):

PS> winget list | sls termius

Termius - SSH client                     9NK1GDVPX09V                             7.45.1.0                      msstore

PS> winget upgrade | sls termius

I have updated the msstore source to see if that was causing it, but this update is still not being picked up by Winget.

Am I right in assuming that the msstore source is a mirror of the actual MS Store? I.e. an update visible in the MS Store GUI should also be available as a Winget package upgrade? Or are the updates done slightly differently?

Steps to reproduce

  1. Install Termius via Winget (ID 9NK1GDVPX09V)
  2. Wait for an update to be available via the Microsoft Store
  3. List upgrades either via winget upgrade or check for available versions via winget list | sls termius

Expected behavior

MS Store updates should be visible and installable via Winget.

Actual behavior

They are not.

Environment

Windows Package Manager v1.2.11601
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22000.832
Package: Microsoft.DesktopAppInstaller v1.17.11601.0

Reeceeboii avatar Jul 26 '22 12:07 Reeceeboii

@Reeceeboii for traditional Universal Windows Platform (UWP) in the Microsoft Store, the Windows Package Manager does not yet receive version information. The version reported is "Unknown". We're working with the Microsoft Store team to expose versions for these types of apps so we can determine when an upgrade is available in Windows Package Manager.

denelon avatar Jul 26 '22 15:07 denelon

@denelon I've actually never published a UWP app to the store so am unsure how their versioning works but, afaik, Termius is not a UWP application.

Anyway, you are correct - if I run:

PS> winget search termius

The msstore package returns Unknown for its version. I was assuming that winget was fully aware of the versioning data as this appears in winget's outputs once it is installed locally. I wasn't aware that winget can't actually receive the upstream version.

I'm happy for this issue to be closed if it is already being tracked elsewhere!

Reeceeboii avatar Jul 26 '22 23:07 Reeceeboii

I'll keep this one open to track the "external" work for the versioning information to be presented in the Microsoft Store source.

denelon avatar Jul 27 '22 15:07 denelon

I have the same issue with Sysinternals suite. Its really annoying as it makes the 'upgrade' command not that usefull.

dcarapic avatar Oct 27 '22 07:10 dcarapic

Hey, a quick update here. The store is starting to expose the version information for the Win32 packages. Today the version is present in winget show <packageId>, but not yet in winget search <packageId>.

 denelon  winget search "Adobe Acrobat Reader DC"
Name                             Id                          Version      Source
----------------------------------------------------------------------------------
Adobe Acrobat Reader DC          XPDP273C0XHQH2              Unknown      msstore
Adobe Acrobat Reader DC          Adobe.Acrobat.Reader.32-bit 22.003.20258 winget
Adobe Acrobat Reader DC (64-bit) Adobe.Acrobat.Reader.64-bit 22.003.20258 winget
 denelon  winget show "Adobe Acrobat Reader DC" -s msstore
Found Adobe Acrobat Reader DC [XPDP273C0XHQH2]
Version: 22.003.20258
Publisher: Adobe Inc.
Publisher Url: http://www.adobe.com/
Description:
  Adobe Acrobat Reader is the free, trusted global standard for viewing, printing, e-signing, sharing, and annotating PDFs.

denelon avatar Nov 15 '22 21:11 denelon

I'd also like to be able to trigger update scans via winget as we only show the private store which effectively blocks access to the whole Microsoft Store (even updates scans) in Windows 11.

We do not want to give users full access to the Store.

Ig3l avatar Nov 16 '22 10:11 Ig3l

@Reeceeboii for traditional Universal Windows Platform (UWP) in the Microsoft Store, the Windows Package Manager does not yet receive version information. The version reported is "Unknown".

I'm sorry, is this supposed to work now?

Jorilx avatar May 03 '24 14:05 Jorilx