Open
Conversation
GabiNun2
commented
Apr 23, 2026
| $msg = "[Invoke-WPFInstallUpgrade] Install process is currently running. Please check for a powershell window labeled 'Winget Install'" | ||
| [System.Windows.MessageBox]::Show($msg, "Winutil", [System.Windows.MessageBoxButton]::OK, [System.Windows.MessageBoxImage]::Warning) | ||
| return | ||
| } |
Contributor
Author
There was a problem hiding this comment.
no reason to check if winget install process is running because you can't click upgrade when installing apps since there is the "installing apps" pop out
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Type of Change
Description
The
Invoke-WPFInstallUpgradefunction was the only function that used both theGet-WinUtilInstallerProcessfunction andGet-WinUtilInstallerProcess.ps1function so i decided to remove them and makeInvoke-WPFInstallUpgradestandaloneI also made sure the upgrade process opens inside of the winutil window there was no reason for it to open another powershell window
I also made sure it check if winget is installed before upgrading all applications
This does mean we wont be able to use the ui while upgrading but who would want to use the ui while upgrading? the only fix would be to open another powershell window but that's stupid
Issue related to PR