winget-cli icon indicating copy to clipboard operation
winget-cli copied to clipboard

Wrong ID for Installed Application

Open MaidScientistIzutsumiMarin opened this issue 2 years ago • 0 comments

Brief description of your issue

Microsoft Edge has the ID 'Microsoft.OneDrive' instead of its own. This prevents me from reinstalling OneDrive through winget or the installer as newer version is supposedly present on my machine.

Steps to reproduce

I am not sure how to reproduce it, but it occurred while changing OneDrive from a user installation to a system installation through winget, by doing winget remove --purge Microsoft.OneDrive and then winget add --scope machine Microsoft.OneDrive. OneDrive was not launching so I then uninstalled it again.

Expected behavior

I would expect Edge to have the correct ID and not prevent me from reinstalling OneDrive.

Actual behavior

Running winget ls shows this entry for Edge.

Name                                          Id                                                  Version          Source
--------------------------------------------------------------------------------------------------------------------------
Microsoft Edge                                Microsoft.OneDrive                                  110.0.1587.50    winget

Environment

shell
Windows Package Manager v1.4.10173
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22621.1265
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.19.10173.0

Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

User Settings: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale