winget upgrade does not respect the scope used on installation #5099
Labels
Command-Upgrade
Issue related to WinGet Upgrade
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Brief description of your issue
When using winget install in a non-elevated terminal, the installation is done with
scope: user
. However, when using upgrade immediately after in the same terminal window, the scope is identified assystem
.Steps to reproduce
Install v27.17.0
Upgrade to latest
Expected behavior
It should also identify
Installer [Arm64,msi,User,] is current best choice
on upgrade.Actual behavior
It identifies
Installer [Arm64,msi,Machine,] is current best choice
.Full logs below.
WinGet-2024-12-28-17-26-54.424.log
WinGet-2024-12-28-17-24-39.755.log
Environment
The text was updated successfully, but these errors were encountered: