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

Officially support downloading signed appx packages from the Store for distribution via own website #578

Closed
benstevens48 opened this issue Sep 23, 2020 · 1 comment
Labels
Issue-Feature This is a feature request for the Windows Package Manager client. msstore Issue related to "msstore" REST source
Milestone

Comments

@benstevens48
Copy link

benstevens48 commented Sep 23, 2020

Description of the new feature/enhancement

Presumably, in order to install apps from the Store, winget uses a publicly accessible API to download the signed app packages. This proposal is that the API should be officially documented. The API should include the ability to download the latest signed packages from specified package flights (as well as the unlighted version), and possibly also specified package versions.

The use-case is for developers to be able to distribute the signed app packages via their own website. Crucially, this would allow developers to offer old versions of apps or different branches such as LTS, current and beta, by creating an AppInstaller file and uploading the packages to their own website. (Currently there is no way to do this with the Store, except by collecting a limited number of users email addresses to add to a package flight, which is impractical). This is especially useful for apps with addon purchases, since it is very difficult (currently) to think of a way of distributing an app outside the Store while maintaining access to addon purchases. The Store would still receive a cut of addon purchases as they would continue to work in the normal way.

Ideally there would be an even more friendly way to download the packages and create an AppInstaller file, but the API would be a first step.

For further discussion on this issue, please see microsoft/WindowsAppSDK#39, and also let me know if anything in their warrants a new issue here. Also, if the idea of being able to install old versions of apps (in a user-friendly way) is being addressed via some other means, please let me know, and then maybe this issue is obsolete.

Proposed technical implementation details (optional)

This is actually already possible, it's just not officially supported - see the comment here microsoft/WindowsAppSDK#39 (comment).

Ideally, an app installed via an AppInstaller file outside the Store would not be automatically upgraded via the Store. However, this can be worked around (somewhat hackishly) by ensuring versions intended to be installed outside the Store have a very large package version number, so the unflighted package version number will always be lower.

@benstevens48 benstevens48 added the Issue-Feature This is a feature request for the Windows Package Manager client. label Sep 23, 2020
@ghost ghost added the Needs-Triage Issue need to be triaged label Sep 23, 2020
@denelon denelon removed the Needs-Triage Issue need to be triaged label Sep 24, 2020
@denelon denelon added the msstore Issue related to "msstore" REST source label Mar 30, 2023
@denelon denelon added this to the v1.6 Client milestone Jun 12, 2023
@denelon denelon added this to WinGet Jul 6, 2023
@denelon denelon modified the milestones: v1.6 Client, v1.7 Client Aug 8, 2023
@denelon denelon modified the milestones: v1.7 Client, 1.8 Client Sep 26, 2023
@denelon denelon modified the milestones: 1.8 Client, v1.7 Client Oct 12, 2023
@denelon denelon modified the milestones: v1.7 Client, 1.8 Client Jan 4, 2024
@denelon denelon closed this as completed Jul 3, 2024
@github-project-automation github-project-automation bot moved this to Done in WinGet Jul 3, 2024
@RokeJulianLockhart
Copy link

#578 (comment)

@denelon, where is this documented?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Feature This is a feature request for the Windows Package Manager client. msstore Issue related to "msstore" REST source
Projects
None yet
Development

No branches or pull requests

5 participants
@benstevens48 @RokeJulianLockhart @denelon and others