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

Attempt to update dependencies when not registered #4606

Merged
merged 1 commit into from
Jul 2, 2024

Conversation

JohnMcPMS
Copy link
Member

@JohnMcPMS JohnMcPMS commented Jul 2, 2024

Fixes #4337

Change

Before registering the package for repair, ensure that the dependencies are present and in good standing. Fortunately, the existing function to install the dependencies does this, so we just call it.

Validation

Successfully repaired a machine in the state described in #4337 (provisioned, "registered" for the user, but Xaml 2.8 missing).
[Was not 100% successful since I forgot to build the production version and it wanted to find wingetdev.exe, but verified manually that the repair succeeded.]

Microsoft Reviewers: Open in CodeFlow

@JohnMcPMS JohnMcPMS requested a review from a team as a code owner July 2, 2024 18:05
@JohnMcPMS
Copy link
Member Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@JohnMcPMS JohnMcPMS merged commit c6111d0 into microsoft:master Jul 2, 2024
8 checks passed
@JohnMcPMS JohnMcPMS deleted the repair-fix branch July 2, 2024 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Repair-WinGetPackageManager does not consider dependencies in the AppInstallerNotRegistered case
2 participants