WingetUI installs user setup instead of upgrading system installation on upgrade
This bug is quite annoying.
Steps to Reproduce
- Install an old version of VSCode in the machine scope:
winget install Microsoft.VisualStudioCode --scope machine -v <old version> - Upgrade VSCode via WingetUI
- WingetUI installs the user setup of VSCode, leaving with two installations of VSCode (user and machine wide)
Alternatively, upgrading via the commandline (winget upgrade Microsoft.VisualStudioCode) properly upgrades VSCode.
Mhmm... Which version of winget are you running on your local machine?
v1.3.2091
Same for me

I believe this was fixed by https://github.com/marticliment/WingetUI/pull/575
It should. I'll test it further but it should
Tested the latest commit, same thing. Here is from the live output:

User setup is installed.
Expected output:

@sitiom do you still get two separate vscode installs after using WingetUI to update?
@sitiom do you still get two separate vscode installs after using WingetUI to update?
Yes
@sitiom, which version of winget are you running on your system?
v1.3.2691
Could you please test it now, with the latest commit?
Now it works, thanks.