winstall icon indicating copy to clipboard operation
winstall copied to clipboard

Force MS Store as source for packages

Open mundodisco8 opened this issue 3 years ago • 1 comments

HI,

Maybe I'm getting things mixed, but I think there's a benefit on getting the apps installed from the MS Store, and it's that those apps will autoupdate. By default, it seems that Winstall provides package names that use winget as their source (for example, winstall provides Spotify.spotify as the package name for Spotify, and that seems to be the winget package.

C:\Users\joel.santos>winget show spotify
Multiple packages found matching input criteria. Please refine the input.
Name                         Id              Source
----------------------------------------------------
Spotify - Music and Podcasts 9NCBCSZSJRSB    msstore
Spotify                      Spotify.Spotify winget

I tried using Winstall's output and force the MS Store as source with -s msstore, but obviously it can't find the package as its name is the cryptic 9NCBCSZSJRSB.

Of course, I can periodically run winget update --all, and that would have the benefit of giving me a list of the updates to be performed, but to be fair, I don't micromanage my software that much.

mundodisco8 avatar Apr 22 '22 15:04 mundodisco8

People may want to use apps without MSStore issues. So that is not an issue for winstall. The true point that you should ask is an option to search packages from msstore. But we can use MSStore itself for that. As a result, at winstall web page, there can be a note that says that this page searchs for packages from source winget only. If you want to search apps from msstore by using winget, you can use this: winget search "<appname>" --source="msstore" For example, for spotify: winget search "Spotify" --source="msstore"

NJT145 avatar Jan 10 '23 17:01 NJT145