UniGetUI icon indicating copy to clipboard operation
UniGetUI copied to clipboard

WingetUI installs user setup instead of upgrading system installation on upgrade

Open sitiom opened this issue 3 years ago • 2 comments

This bug is quite annoying.

Steps to Reproduce

  1. Install an old version of VSCode in the machine scope: winget install Microsoft.VisualStudioCode --scope machine -v <old version>
  2. Upgrade VSCode via WingetUI
  3. 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.

sitiom avatar Sep 17 '22 02:09 sitiom

Mhmm... Which version of winget are you running on your local machine?

marticliment avatar Sep 17 '22 11:09 marticliment

v1.3.2091

sitiom avatar Sep 17 '22 11:09 sitiom

Same for me

image

Satanarious avatar Oct 06 '22 22:10 Satanarious

I believe this was fixed by https://github.com/marticliment/WingetUI/pull/575

ppvnf avatar Jan 03 '23 10:01 ppvnf

It should. I'll test it further but it should

marticliment avatar Jan 03 '23 11:01 marticliment

Tested the latest commit, same thing. Here is from the live output: image

User setup is installed.

Expected output: image

sitiom avatar Jan 03 '23 12:01 sitiom

@sitiom do you still get two separate vscode installs after using WingetUI to update?

ppvnf avatar Jan 03 '23 13:01 ppvnf

@sitiom do you still get two separate vscode installs after using WingetUI to update?

Yes

sitiom avatar Jan 03 '23 13:01 sitiom

@sitiom, which version of winget are you running on your system?

marticliment avatar Jan 03 '23 15:01 marticliment

v1.3.2691

sitiom avatar Jan 03 '23 15:01 sitiom

Could you please test it now, with the latest commit?

marticliment avatar Jan 03 '23 15:01 marticliment

Now it works, thanks.

sitiom avatar Jan 03 '23 16:01 sitiom