Skip to content

Cleanup winget upgrade#4410

Open
GabiNun2 wants to merge 5 commits intoChrisTitusTech:mainfrom
GabiNun2:patch-4
Open

Cleanup winget upgrade#4410
GabiNun2 wants to merge 5 commits intoChrisTitusTech:mainfrom
GabiNun2:patch-4

Conversation

@GabiNun2
Copy link
Copy Markdown
Contributor

@GabiNun2 GabiNun2 commented Apr 23, 2026

Type of Change

  • New feature
  • Bug fix
  • Documentation update
  • UI/UX improvement

Description

The Invoke-WPFInstallUpgrade function was the only function that used both the Get-WinUtilInstallerProcess function and Get-WinUtilInstallerProcess.ps1 function so i decided to remove them and make Invoke-WPFInstallUpgrade standalone

I 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

  • Resolves #

@github-actions github-actions Bot added the new feature New feature or request label 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
}
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant