Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[multiple IDs for single package]: Daum.PotPlayer #150565

Open
2 tasks done
slycordinator opened this issue Apr 22, 2024 · 5 comments
Open
2 tasks done

[multiple IDs for single package]: Daum.PotPlayer #150565

slycordinator opened this issue Apr 22, 2024 · 5 comments
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation.

Comments

@slycordinator
Copy link

Please confirm these before moving forward

  • I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
  • I have not been informed if the issue is resolved in a preview version of the winget client.

Category of the issue

Installation issue.

Brief description of your issue

When one installs the package with ID = Daum.PotPlayer from the winget source, the installed package shows in winget with a different name and with no source.

On a 64-bit PC, it is installed as with ID = PotPlayer64

Steps to reproduce

  1. run winget search 'Daum.PotPlayer'
  2. Note that there's a package with that ID
  3. run winget install 'Daum.PotPlayer'
  4. run winget list | Select-String 'Daum.PotPlayer'
  5. notice the list is empty
  6. run winget list | Select-String 'PotPlayer'
  7. notice a package listed with ID = PotPlayer64 and source field is empty

Actual behavior

The winget package installs itself under a different ID with no mention of it being from winget.

Note in the below output, I'm on a Korean work PC and the installed name "팟플레이어-64비트" is Korean for "PotPlayer-64bit".

> winget search 'Daum.PotPlayer'
이름      장치 ID        버전   원본
---------------------------------------
PotPlayer Daum.PotPlayer 240315 winget
이름                                                                        장치 ID                                                                         버전                원본
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
팟플레이어-64비트                                                           PotPlayer64                                                                     240315

Expected behavior

The package installed through winget to install itself with the same ID as itself and to install showing the source as winget

Environment

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

Windows: Windows.Desktop v10.0.19045.4291
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.22.10861.0

Winget Directories
-------------------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages
Installer Downloads                %USERPROFILE%\Downloads

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

Admin Setting                             State
--------------------------------------------------
LocalManifestFiles                        Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Disabled

Screenshots and Logs

No response

@slycordinator slycordinator added the Issue-Bug It either shouldn't be doing this or needs an investigation. label Apr 22, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage This work item needs to be triaged by a member of the core team. label Apr 22, 2024
@Trenly
Copy link
Contributor

Trenly commented Apr 23, 2024

What is happening here is that the version of PotPlayer you have on your PC doesn’t correlate to the Daum.PotPlayer package that WinGet knows about. WinGet can detect that it is installed on your PC, but since it can't find an available package that it matches to, it prints the ProductCode as the Identifier and the Source remains empty

@microsoft-github-policy-service microsoft-github-policy-service bot removed the Needs-Triage This work item needs to be triaged by a member of the core team. label Apr 23, 2024
@slycordinator
Copy link
Author

What is happening here is that the version of PotPlayer you have on your PC doesn’t correlate to the Daum.PotPlayer package that WinGet knows about. WinGet can detect that it is installed on your PC, but since it can't find an available package that it matches to, it prints the ProductCode as the Identifier and the Source remains empty

The version of PotPlayer that I have installed was installed through WinGet.

@slycordinator
Copy link
Author

slycordinator commented Apr 23, 2024

I've uninstalled PotPlayer

$ powershell.exe -Command '$OutputEncoding = [Console]::OutputEncoding = [Text.UTF8Encoding]::UTF8 ;  winget list | Select-String PotPlayer'
$

Now, I install it through winget using the name Daum.PotPlayer

$ powershell.exe -Command '$OutputEncoding = [Console]::OutputEncoding = [Text.UTF8Encoding]::UTF8 ;  winget install Daum.PotPlayer'
Found PotPlayer [Daum.PotPlayer] Version 240315
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://t1.daumcdn.net/potplayer/PotPlayer/Version/Latest/PotPlayerSetup64.exe
  ██████████████████████████████  36.0 MB / 36.0 MB
Successfully verified installer hash
Starting package install...
Successfully installed
$

And now the installed package shows up as if it weren't installed through WinGet

$ powershell.exe -Command '$OutputEncoding = [Console]::OutputEncoding = [Text.UTF8Encoding]::UTF8 ;  (winget list | Select-String PotPlayer | out-string).trim()'
팟플레이어-64비트                        PotPlayer64                               240315
$

@Trenly
Copy link
Contributor

Trenly commented Apr 23, 2024

What is happening here is that the version of PotPlayer you have on your PC doesn’t correlate to the Daum.PotPlayer package that WinGet knows about. WinGet can detect that it is installed on your PC, but since it can't find an available package that it matches to, it prints the ProductCode as the Identifier and the Source remains empty

The version of PotPlayer that I have installed was installed through WinGet.

Then perhaps it is the korean locale which is causing the correlation to fail

@slycordinator
Copy link
Author

What is happening here is that the version of PotPlayer you have on your PC doesn’t correlate to the Daum.PotPlayer package that WinGet knows about. WinGet can detect that it is installed on your PC, but since it can't find an available package that it matches to, it prints the ProductCode as the Identifier and the Source remains empty

The version of PotPlayer that I have installed was installed through WinGet.

Then perhaps it is the korean locale which is causing the correlation to fail

In that case, it would seem that WinGet isn't tracking the fact that the same package/installer might have multiple identifiers based on various locales.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation.
Projects
None yet
Development

No branches or pull requests

2 participants