Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Add 'msstore' as a source for Winget #87

Closed
RavenMacDaddy opened this issue Jul 16, 2022 · 12 comments
Closed

Feature request: Add 'msstore' as a source for Winget #87

RavenMacDaddy opened this issue Jul 16, 2022 · 12 comments
Labels
needs-further-study new-feature A new feature that could be useful in WingetUI

Comments

@RavenMacDaddy
Copy link
Contributor

RavenMacDaddy commented Jul 16, 2022

image

Obviously this would allow to install apps from the Microsoft Store, and is available by default in Windows AFAIK; I've not made any specific configurations for that. (Windows 11)

It's possible through CLI, so go ahead and tell me if it's possible to add to the app.

@marticliment
Copy link
Owner

I tried with early winget versions and it was an absolute disaster. I'll try it again with those new stabler builds

@marticliment marticliment added new-feature A new feature that could be useful in WingetUI needs-further-study labels Jul 16, 2022
@marticliment
Copy link
Owner

For the moment, msstore origin search does not allow full searches, so thay won't be added. (Please note that updates are managed through the MS Store and they can still be uninstalled from ElevenClock)

@marticliment marticliment closed this as not planned Won't fix, can't repro, duplicate, stale Sep 28, 2022
@upintheairsheep
Copy link

It might be possible using the API of this tool:
https://store.rg-adguard.net/

and for searching, a headless browser can be used.

@marticliment
Copy link
Owner

do they have an open api?

@upintheairsheep
Copy link

do they have an open api?

Yes, they do have an easily reverse engineerable API, however this only gets the appx and msix files, not the search and metadata. For MSStore you could use some sort of headless browser

@marticliment
Copy link
Owner

reverse engeenering a private api is not an acceptable thing, because youwe would. be using their resources without their permission, which:

  1. is not ethical
  2. is unreliable and can break at any time

also, using a browser to gather information is not reliable, because we would be

  1. infringing Microsoft terms
  2. hidden browser Windows are resource intensive and, in general, not a good practice
  3. a little change in the website would break completely the script.

winget in fact soees support Microsoft store packages, but with one particularity: winget can not lost all available packages, resulting in the impisiblity to get a list of all of them.
Thats why msstore apps are not shown.
if you find a way to get a list of all of them, please let me know and I'll add it.

@ppvnf
Copy link
Contributor

ppvnf commented Apr 23, 2023

@marticliment
Copy link
Owner

The issue here is the same as winget (in fact, winget uses this api): Ther's no way to get a list of all the packages.

@marticliment
Copy link
Owner

This issue has been fixed in #1042

@Alistair1231
Copy link

So this is implemented after all? I came here from the FAQ, which stated this as proof that it won't be implemented?

Q: Can I add "msstore" as a source for Winget in the app?
A: This is not possible, nor is it planned for the near future.
See more details in issue #87.

@marticliment
Copy link
Owner

yes, but I finished changing all the legacy codebase, so msstore and other dynamic load package managers could be implemented

@Alistair1231
Copy link

Ah. well awesome. I also now saw that it said "near future".
Thanks for the response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-further-study new-feature A new feature that could be useful in WingetUI
Projects
None yet
Development

No branches or pull requests

5 participants