Repository navigation
Open
Labels
Area-MatchingIssue related to correlation between installed package and manifestIssue-BugIt either shouldn't be doing this or needs an investigation.
Description
Brief description of your issue
Probably related to #2966
Tried to pin MS Teams, but it said package was not found. Ran winget list Teams and saw:
PS C:\git\winget-pkgs> winget list Teams
Name Id Version Available Source
---------------------------------------------------------------------------
Microsoft Teams Microsoft.Teams 1.6.00.1381 winget
Teams Machine-Wide Installer Microsoft.Teams 1.5.0.8070 1.6.00.376 winget
Tried to use --name and --id to specify the package, but it found the one from MS Store
Steps to reproduce
Install teams, try to pin with winget pin add --name "Microsoft Teams" --id "Microsoft.Teams" --blocking
Expected behavior
Found Microsoft Teams [Microsoft.Teams]
Pin added successfully
Actual behavior
Found Microsoft Teams [XP8BT8DW290MPQ]
Pin added successfully
Environment
PS C:\git\winget-pkgs> winget --info
Windows Package Manager (Preview) v1.5.441-preview
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.19045.2486
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.20.441.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
Admin Setting State
--------------------------------------------------
LocalManifestFiles Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride Disabled
LocalArchiveMalwareScanOverride DisabledReacted by vaughan-naidoo, hanjo and Eligio Mariño
Metadata
Metadata
Assignees
Labels
Area-MatchingIssue related to correlation between installed package and manifestIssue-BugIt either shouldn't be doing this or needs an investigation.
Activity
hanjo commentedon Apr 18, 2023
Closely related: It's possible to add the Teams listed above by running
winget pin add --name "Teams Machine-Wide Installer" -eOutput:
This seems to work.
However, it will not be shown when running
winget pin list.