Hide MSIX components with no match from `winget list`
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start with PredefinedInstalledSourceFactory.cpp, ARPHelper.cpp, and ReportListResult, then trace how installed MSIX packages are enumerated and correlated. Check how package manifests expose AllowExternalContent and visible app list entries, and how ARP SystemComponent entries are filtered. The issue is done when uncorrelated MSIX components are hidden from winget list; consider the enumeration performance concern raised in the issue.
由索引模型根据 Issue 内容生成。
描述
Relevant area(s)
WinGet CLI
Description of the new feature / enhancement
winget list currently shows MSIX packages that aren't really apps - identity packages registered by Win32 installers, shell extensions, and headless runtime/data packages. They can't be correlated to a source, so they show as MSIX\<full name> rows instead. Usually a Win32 entry already represents the product and it's correlated instead.
On my machine, 69 of the MSIX rows have no source. Three of them are apps. Some examples:
Adobe Acrobat MSIX\AdobeAcrobatDCCoreApp_26.1.0.0_x64__33qsgwvbc… 26.1.0.0
Adobe Acrobat (64-bit) Adobe.Acrobat.Pro 26.002.22031 winget
EpmShellExtension MSIX\Microsoft.EpmShellExtension_1.0.0.0_neutral__… 1.0.0.0
Microsoft Edge Microsoft.Edge 157.0.4341.42 winget
Microsoft Edge MSIX\Microsoft.MicrosoftEdge.Stable_152.0.4191.53_… 152.0.4191.53
PowerToys (Preview) x64 Microsoft.PowerToys 0.102.3001.0 winget
PowerToys PowerRename Context Menu MSIX\Microsoft.PowerToys.PowerRenameContextMenu_0.… 0.102.3001.0
PSTokenizerShared MSIX\WindowsWorkload.PSTokenizerShared.Data.3.5_1.… 1.2508.888.0
Windows Package Manager Source (winget) V2 MSIX\Microsoft.Winget.Source_2026.1108.637.6_neutr… 2026.1108.637.6
| Unmapped MSIX rows | Count | Identifier |
|---|---|---|
| Packages with external location (Adobe CoreApps, Edge, Office helpers, OneDriveSync, PowerToys context menus, VS Code, EpmShellExtension, WinMerge, Local AI Manager) | 15 | AllowExternalContent |
Headless packages (WindowsWorkload.* AI components, winget's own source packages, OpenAI.CodexPrimaryRuntime.*) |
51 | No Application element, or every app has AppListEntry="none" |
| Apps with a Start entry (Command Palette, Windows Security, an Edge PWA) | 3 | None I can find |
winget list already hides ARP entries with SystemComponent set.
But it only skips PackageSignatureKind::System MSIX packages.
Proposed technical implementation details
Hide these packages from winget list when they have no available match.
- In
PredefinedInstalledSourceFactory, mark MSIX packages as components when the manifest setsAllowExternalContent, or when no application has a visible app list entry. - In
ReportListResult, skip uncorrelated installed packages that are marked as components.
Questions:
- Do we need
--include-componentsto show the skipped entries? We don't for ARP, so I lean towards no - This approach reads each package's manifest during enumeration, would have to make sure it's not too slow
- 主要语言
- C++
- 星标
- 26.6k
- 派生
- 1.8k
- 平均合并
- 3 天 10 小时
- 30 天内合并 PR
- 41
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/winget-cli 的其他 Issue
-
Issue-Docs Needs-Triage
难度 2/5 1-3 小时 新手友好度 70/100
microsoft/winget-cli#6692 ·
维护者通常 2 天内回复
-
Issue-Docs Possible-Duplicate
难度 2/5 1-3 小时 新手友好度 76/100
microsoft/winget-cli#6493 · 1 条评论 ·
维护者通常 2 天内回复
-
Issue-Feature
难度 2/5 1-3 小时 新手友好度 68/100
microsoft/winget-cli#6427 ·
维护者通常 2 天内回复
-
Issue-Docs msstore
难度 2/5 1-3 小时 新手友好度 64/100
microsoft/winget-cli#6331 · 1 条评论 ·
维护者通常 2 天内回复
-
Command-Source Issue-Bug
难度 2/5 1-3 小时 新手友好度 68/100
microsoft/winget-cli#6148 ·
维护者通常 2 天内回复
查看 microsoft/winget-cli 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
stratum-mining/sv2-tp#167 ·
维护者通常 1 天内回复
-
Sign up button opens the Sign in page instead of the Sign up page for Enterprise edition servers未关闭auth bug ui/ux
难度 2/5 1-3 小时 新手友好度 72/100
MerginMaps/mobile#4795 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
HarperFast/rocksdb-js#1118 ·
维护者通常 1 天内回复
-
bug triage
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复
-
26.04 bug dark-mode Easy Hack impress symptom: visual
难度 2/5 1-3 小时 新手友好度 68/100
CollaboraOnline/online#16421 · 1 条评论 ·