microsoft / microsoft/winget-create

There should be a way to capture ARP data.

Open
#173 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Feature
Dominant language
C#
Stars
651
Forks
114
Avg merge
7h 52m
Merged PRs (30d)
3

Description

Description of the new feature/enhancement

A new command (or options on wingetcreate update) that will have wingetcreate execute the manifest and capture the new Add and Remove Programs table entries, to support the schema changes made in https://github.com/microsoft/winget-cli/issues/1073

Proposed technical implementation details (optional)

Hooray! https://github.com/microsoft/winget-cli/issues/1073 was merged. But how do we get these entries?

I propose that there should be some way (either a new command or some options) added to wingetcreate that will do this for you, by either running a manifest in a separate environment (#98) or running it on the local machine (if it has to run it on the local machine, that's totally fine. We'll just have to run wingetcreate inside a sandbox/VM/container).

The main blocker for this I can think of is whether or not winget itself has some way of exposing what installer entry it matched to (as wingetcreate would have to know what installer entry was installed to get these ARP entries). I know it puts it in the verbose logs, but that isn't fun to parse (maybe it's exposed in the COM API? Haven't looked into that much).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the merged winget-cli issue #1073 and the proposed separate-environment work in #98. Investigate how wingetcreate update, manifest execution, verbose logs, and the COM API expose the matched installer and Add/Remove Programs entries. Done means a defined command or option can execute a manifest and capture the relevant entries reliably.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.