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

Support installing purchased Apps from the Microsoft Store

Open denelon opened this issue 4 years ago • 15 comments

Description of the new feature/enhancement

I would like to be able to install Apps that I have already paid for from the Microsoft Store using the Windows Package Manager.

Proposed technical implementation details (optional)

In order to install paid Apps from the Microsoft Store, the customer needs to be "logged in" to the Microsoft Store with their Microsoft Account (MSA).

Note: There are likely implications related to the "import" and "export" commands.

denelon avatar Apr 28 '21 17:04 denelon

how about non purchaased? is it me are none of my app store installed programs listed here?>

pb5050 avatar May 01 '21 18:05 pb5050

The current Microsoft Store source only shows a specific list of applications that have been added by the winget developers, presumably at some point the source will have all of them.

jedieaston avatar May 02 '21 15:05 jedieaston

This is a must have feature. Search/Install/Uninstall any Microsoft Store app (paid or not).

vandreytrindade avatar May 27 '21 12:05 vandreytrindade

Hi,

I want to make sure that all my apps are controled by winget now that it is becoming stable.

I cannot install HEVC with winget currently, even though I paid for it in the Store, I guess that it is linked with the current issue?

❯ winget install 9N4WGH0Z6VHQ --accept-package-agreements --accept-source-agreements
Found HEVC Video Extensions from Device Manufacturer [9N4WGH0Z6VHQ] Version Unknown
This package is provided through Microsoft Store. winget may need to acquire the package from Microsoft Store on behalf of the current user.
Version: Unknown
Publisher: Microsoft Corporation
Publisher Support Url: https://support.microsoft.com/products/windows?os=windows-10
Description: Play High Efficiency Video Coding (HEVC) videos in any video app on your Windows 10 device. These extensions are designed to take advantage of hardware capabilities on some newer devices— including those with an Intel 7th Generation Core processor and newer GPU to support 4K and Ultra HD content. For devices that don’t have hardware support for HEVC videos, software support is provided, but the playback experience might vary based on the video resolution and PC performance. These extensions also let you encode HEVC content on devices that don’t have a hardware-based video encoder.
License: https://go.microsoft.com/fwlink/?LinkId=822631
Privacy Url: https://privacy.microsoft.com/en-us/privacystatement
Copyright: (c) 2017 Microsoft
Agreements:
Category: Utilities & tools
Pricing: Free
Free Trial: No
Terms of Transaction: https://aka.ms/microsoft-store-terms-of-transaction
Seizure Warning: https://aka.ms/microsoft-store-seizure-warning
Store License Terms: https://aka.ms/microsoft-store-license


Verifying/Requesting package acquisition...
Verifying/Requesting package acquisition failed: server error

remidebette avatar Nov 14 '22 10:11 remidebette

@remidebette,

That's correct. This issue is tracking the request to support installing paid apps where the user already has an entitlement. It will require work on both the WinGet team and the Microsoft Store team.

denelon avatar Nov 14 '22 17:11 denelon

I just realized that Xbox app has winget as a requirement to "install games". Does that mean WG already has support for subscribed content tied to account?

Kein avatar Mar 07 '23 23:03 Kein

They've integrated with WinGet, but I don't know if they already handle the concept of "provisioned" packages or not.

denelon avatar Mar 07 '23 23:03 denelon

I've just realized this issue isnt part of any Project or Milestone.

Kein avatar Apr 05 '23 19:04 Kein

Quick update. We believe WinGet will be able to install "entitled" apps that one has previously purchased once the "msstore" source has been updated to support packages with entitlements. We're working with the Microsoft Store team on a timeline. We will update this issue once we have an idea when they are likely to prioritize this feature request.

denelon avatar Apr 20 '23 17:04 denelon

What does "entitled" mean in this context and why there is such accent on it?

Kein avatar Apr 20 '23 18:04 Kein

I'm using the term "entitled" to align with the APIs WinGet is calling. If an application has been purchased, the account/user/device would have an "entitlement" for the package/application in question. There are some limitations for some applications that have been "purchased". In some cases, these could be limited to the number of devices the package/application could be installed on.

We're not expecting WinGet to be involved in a "purchase" flow, but assuming an application/package has been purchased, then WinGet should be able to install applications based on the context of the user/device when WinGet is used to request the installation of a package/application via the Microsoft Store.

denelon avatar Apr 20 '23 18:04 denelon

How is the authentication part will be done? What will it use to verify user? Let's assume the case where Windows Store is never installed.

Kein avatar Apr 20 '23 20:04 Kein

We call a generic entitlement (only good for "Free" and rated "e") for the device if no user is logged into the Microsoft Store. We're anticipating multiple future scenarios.

denelon avatar Apr 21 '23 03:04 denelon

if no user is logged into the Microsoft Store. That is what I'm asking about. Logged in how? Exactly via MS Store app? Via OS system-wide login? Or winget will have its own auth mechanism?

Kein avatar Apr 21 '23 09:04 Kein

Is this request completed? it would be better if options are available on winget-cli itself to verify the credentials rather than asking users to log through mstore and install apps through winget.

albintho avatar Aug 20 '24 12:08 albintho

print"patrick"

Itsamejonah avatar Sep 05 '24 20:09 Itsamejonah

is there any Update on this issue ?

Obendorf96 avatar Nov 10 '25 10:11 Obendorf96