Skip to content

Provide metadata for installed packages #3702

@denelon

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Area-MatchingIssue related to correlation between installed package and manifestCommand-ListIssue related to WinGet ListIssue-FeatureThis is a feature request for the Windows Package Manager client.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions