-
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
Add a key for "Requires Elevation" to the manifest schema #1284
Comments
When is |
Yes, that's part of the intent here. We've run across several packages that require elevation even for user install. In some cases it's just a mistake in the installer build while in others, it's required to install a service the "user" package still depends on. |
I didn't know that some apps did that. That's super lame :(. |
Description of the new feature/enhancement
Some packages require elevation to install. The Windows Package Manager could provide settings and or arguments to filter results requiring elevation. Some users may not have the ability to elevate, and this could help eliminate a bad experience for them.
Proposed technical implementation details (optional)
Optional key "RequiresElevation". The default behavior when the key is not present is to treat it as true.
Edit:
We found examples of packages that do not work with elevation. This schema implementation was extended:
winget-cli/schemas/JSON/manifests/v1.1.0/manifest.installer.1.1.0.json
Lines 427 to 435 in 5a97e26
Related To:
The text was updated successfully, but these errors were encountered: