[Package Issue]: Bitwarden.Bitwarden version 2024.1.0 unable to upgrade with scope machine resulting in duplicated installations with different scopes #135380
Labels
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Milestone
Please confirm these before moving forward
Category of the issue
Side-By-Side installation.
Brief description of your issue
When upgrading my current system-wide installation of the Bitwarden client, it results in a completely new installation but only for the current user, resulting in two different installations: the original one with scope machine and out-of-date, and the newer one with scope user and up-to-date.
Steps to reproduce
First of all, you need to install an older version of Bitwarden for all users (if so, you can ignore this command and go to the next one):
Then, upgrade the current installation with this command:
winget.exe upgrade Bitwarden.Bitwarden
Then, run the following command to create a new function to check the duplicated installs (extracted from
SandboxTest.ps1
under theTools
directory of this repository):Then, execute that function:
Get-ARPTable
You can check that the Bitwarden client is installed twice, the newer one up-to-date with scope
User
and the original one out-of-date with scopeMachine
:Actual behavior
It does not upgrade my current installation but instead install the new version with scope user, resulting in two different installs.
Expected behavior
Upgrade my current installation with scope machine.
Environment
Screenshots and Logs
The text was updated successfully, but these errors were encountered: