Description
Description of the new feature / enhancement
Sometimes WinGet doesn't correctly match an installed package with one in a configured source.
It can be tricky to see exactly what might be causing the failure. I'd like to be able to get the metadata written to the registry by installers subsequently used by WinGet for correlation.
This is also something that could be useful to capture in some kind of a flow where the Windows Sandbox can be used to install packages and then improve the manifest during a more interactive wingetcreate execution run. It might also help developers verify the behavior of their installer. We've seen examples where an install works correctly, but during an upgrade flow, the metadata doesn't get updated.
Maybe something like:
winget list <package> --include-correlation
# Naming things is hard
I don't know about potential truncation issues, or how to reason about rendering the data when there are multiple results in the CLI just yet, but I wanted to capture this before I forgot.
Inspired by troubleshooting with @Smith8154 and @Trenly in:
#3674 (comment)
Proposed technical implementation details
No response
Activity