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

[IMPROVEMENT] WinGet: Detect alternative return codes for missing elevation #3093

Open
3 tasks done
RokeJulianLockhart opened this issue Dec 19, 2024 · 3 comments
Open
3 tasks done
Assignees
Labels
enhancement An improvement to WingetUI ready-to-go
Milestone

Comments

@RokeJulianLockhart
Copy link

Please confirm these before moving forward.

  • I have searched for my feature proposal and have not found a work-in-progress/duplicate/resolved/discarded issue.
  • This improvement refers to an existing feature. If you want to suggest a new feature, please use this template.
  • This improvement is not a bug. If you want to report a bug, please use this template.

Describe the improvement

As #3092 (comment) explains, Microsoft.WSL necessitates elevation to S-1-5-21-3393590545-1630102450-2353009815-500 to have its package updated.

Consequently, this should automatically occur when a package installation fails with error code 0x80073d28, if that code corresponds uniquely to this situation.

Describe how this improvement could help users

It would mean less guesswork on the part of the ignorant, and less manual labor (or necessary automation) on the part of those with multiple packages which necessitate this to be updated.

@marticliment
Copy link
Owner

Note for me:
Requires adding the special return code 0x80073D28 or -2147009240 as UAC-required. This is not a standard WinGet return code, but refers to a failure on AppxPackage registering due to missing privileges

@marticliment marticliment added this to the Details milestone Dec 19, 2024
@RokeJulianLockhart

This comment was marked as resolved.

@marticliment marticliment changed the title [IMPROVEMENT] Automatically elevate to update packages which necessitate it. [IMPROVEMENT] WinGet: Detect alternative return codes for missing elevation Dec 23, 2024
@marticliment
Copy link
Owner

Forgot to do so, my bad

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An improvement to WingetUI ready-to-go
Projects
None yet
Development

No branches or pull requests

2 participants