-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Allow winget
to install MS Store packages without account just like the MS Store
#1585
Comments
Tangentially related: #1558 (this isn't a duplicate of that, but that feature/bug is fallout from this issue). Since the Microsoft Store lets you download without an account just fine, I don't think there would be any legal issues with it. |
I would say this is a bug. If the Microsoft Store lets you install free apps without a Microsoft Account, then there should be no such restriction when automating the same action on the command line. |
We are working on this issue with the "msstore" source. We agree authentication shouldn't be required for "free" Apps. |
Same problem here. Totally an anti-feature. Needless to says its also an anti-feature that some apps simply refuse to install trough the store if on a machine with local account i.e all my test VMs and a bunch of family machines that I maintain. Why can I install WhatsApp without account but not Telegram? but then Unigram (unofficial telegram app) can be installed again. They are all free, why would I need an account.
|
Well, just like Android with Google Play. It's weird though why some apps would require an account and some not through MS Store. |
I think that line is converting the error from the Store API, they’ll have to change it over there, not in winget. |
Thats true, but google just abuse its monopoly as the by far largest app store. MS on the other hand should want people to use the store so if they make it intentionally inconvenient, less people will use it. If the store wont let me download telegram I just load it form the official website or use an alternative software repository especially for automated installs there is no way I'm going to add a login to my scripts then get my account banned when the script runs to many times and all that possible side effects its juts not worth it. |
I was under the impression that it worked already in the past and with the store app it still does work for most apps it just ignores it if you close the login popup. Maybe winget could ignore the error as well. |
Hi All, do we have any workaround for this issue?? |
Not at this time. winget just talks to the Microsoft Store API, which doesn't have a way to work around this. |
You also will need to fetch the licensing
This actually runs deeper than that. You only need an account to install it via "official" store means, which Even such primitive and free stuff like |
I suppose that installing by Microsoft Store itself without an account as my video shows is an "official" store mean. |
Note that the whole free apps having licenses still thing isn't new to msstore, consoles and other licensed stores have been doing it forever. |
If I have to automate installation I can automate accepting the license by hardcoding the "y"es |
Wasn't meaning to say that this isnt a issue. More trying to head off the people who always show up and whine about how winget and msstore are the worst things ev4r |
@TrashAccount3424 Cant do that with winget and MS store, you have to automate that with Business or Education enterprise tool and local package store. Very convoluted, involved and unstable process that requires super-precise. 1:1 ritual to work. |
Yeah, I know I cant because they intentionally disabled it. And as for MS store yes I sorta can, most apps do not require an account (unless on windows 11 for some reason) anyway this is an intentional decision by someone at MS to make it not work. Its not like people here request some kind of feature that is out of the scope of what winget is supposed to do. We just want the tool to be useful (again). |
Even on Windows 11 an account is not needed for most apps, as my video shows. Unless something changed after I recorded it. |
I'll try to provide some clarity here. The Microsoft Store has very explicit requirements around licensing, age ratings, and a plethora of other considerations. The APIs the Windows Package Manager calls weren't designed for this use case. Several teams here at Microsoft are working closely together to build great experiences. Lots of sequencing is involved for both development and testing, and then we get into the other requirements for building software and releasing it in general. Sadly, it always takes more time than we would like. There are almost always more needs and wants than resources to get the work done. We have to prioritize and justify relative priority with each team involved. This issue is a high priority, and it will take several teams to get across the finish line. The work is in progress, but we have to be careful not to cause other unintended consequences. We also have several other scenarios to enable things like being able to install apps from the store that are paid (this would require the MSA holding the entitlement to be logged in), |
OMG, this is the worst issue related to getting the Azure VPN client rolled out to hundreds of desktops. Frankly, it's ridiculous and the Azure VPN Client needs to be available from another location. |
This issue renders |
While I do agree that this is a major issue in winget, I think it's not fair to judge it entirely for it. This is only for the msstore source. There is an astonishing number of packages available in the winget-pkgs source that works just fine. Also, the maintainers already acknowledged the issue's importance and they say they are working on it. Even gave us details about why it's taking that long (lack of the correct APIs in Microsoft Store, if I understood well, which means it's probably involving multiple Teams at Microsoft and so). |
Is there any sort of ETA on this? It's already annoying enough that because of Microsoft's UWP requirements, Intel drivers are not including the Intel Graphics Command Center and instead require an IT person to download it via the Microsoft Store. I want this to be automated for deployment. |
It is already a big step that this is in the above linked milestone: https://github.com/microsoft/winget-cli/milestone/37 |
There are a lot of competing priorities. Maybe it would help to understand how we're prioritizing them. |
I'm running winget v1.3.2091 but still finding I cannot install the Power Apps msstore app in the SYSTEM context with Intune, failing with something that definitely appears to be a store authentication error: Full log below...
So I refute the bug fix terminology |
That's not an error originating from the store source. That error is based on how the Windows Package Manager is delivered to the client machine. The work we're doing for Intune integration includes a separate NuGet package that enables system context access to the COM API exposed by the Windows Package Manager. |
I've been able to get Annoyingly this brings me back to why I'm here. Right now there is no official path for installing Microsoft's own Power Apps app via Intune as 'required' nor let alone in the system context/to all users of the device, because it is not available as an offline licensed app via the old Windows Store for Business. Its really annoying that the old store was deprecated before necessary functionality was provided in the new Store. I'd hoped Thanks for listening to my rant :) |
If you interactively logon with the system context, then the "App Installer" can be registered and winget would be available. The Intune team is driving the private preview with winget integration. There has been heavy lifting to enable Intune to be able to install packages/Apps from the Microsoft Store via winget. The mechanism involves Intune deploying the NuGet package with "in process" COM access to the client machine, and then calling the winget COM APIs to perform the instal/upgrade/uninstall actions on the client machine. |
Understood. Hopefully they're able to restore functionality relating to deploying msstore apps soon. EDIT: Oh, and thanks massively for replying - promptly too! Really appreciate it. |
Do we have any progress at all on this front, 2 years later. Can we now install paid MS store apps like, for example, video games that come with X-Box GamePass and use MS store infrastructure for redistribution? |
@Kein this issue is resolved. I think you are referring to: |
Sure, this issue is, but the question I've asked in the context of the statement you made, here. |
The question appears to be rhetorical. My statement still stands. The team building the WinGet client, the supporting tools, and infrastructure are actively working with other teams at Microsoft including the Microsoft Store, Intune, and others. I would absolutely love to be able to install Apps I've paid for from the Microsoft Store using WinGet as well as X-Box GamePass games. There are many competing priorities and limited resources. Other work in progress is currently higher in priority. Out of respect for those who are following this issue and receiving e-mail notifications, please create a new discussion if you would like to discuss this further. 😊 |
Yep, just another stalling maneuver by the oh so typically incompetent developers. Can't work it into one your little "sprints"? I guess you aren't "agile" enough hmm? Go reread your comment and you'll understand why actual sysadmins are frustrated with you and your lack of performance. |
Oh wow. This should be one of the less pleasant comments I've ever read in GitHub. Anyway, I would also recommend opening a new discussion if you want to continue on it, as this specific issue was addressed already. |
We're not here to be pleasant. We're not here to open new discussions. We're here to tell you that you're doing a bad job with the product we use. |
(I'm not from Microsoft, as many other people here reading your comments) |
There is a colossal difference between frustration and active malice. Malice is seldom actually helpful. If you are genuinely this mad at a program you are in fact not forced to use, just......don't move to it and start using it until you feel its worth using. Its not like the entire company's force is behind this one project. |
Description of the new feature/enhancement
On my work PC, I do not connect an account to the MS Store (because it only accepts Microsoft account, and I only have a Microsoft 365 business account). However, while the
winget
cli fails to install any packages from the MS Store due to the lack of the account, the MS Store itself let me download just fine.Ideally the
winget
should allow too, so that I can simplify and automate the environment setup of my team and colleagues in the work as well.GIF
LVMkMgKS9p.mp4
Additional context
I don't know, perhaps this should be a bug rather than an enhancement?
The text was updated successfully, but these errors were encountered: