microsoft / microsoft/winget-cli

Track modified installation parameters for export / list commands

Open
#3,281 2 comments 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Command-Export Issue-Feature
Dominant language
C++
Stars
26.4k
Forks
1.8k
Avg merge
1d 11h
Merged PRs (30d)
15

Description

Description of the new feature / enhancement

If possible, it would be nice to have winget's export and list commands capture modified installation parameters for each installed program. With this information it would be easy to create a script to reinstall packages while preserving their customized settings.

For example, if Visual Studio Code was installed with the parameter

--user-data-dir=C:\VSCode\UserData

winget export and list commands would have an option to include this information.

Sorry if that has been suggested before, I couldn't find any issues regarding it.

Proposed technical implementation details

No response

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 with the export and list command entry points in winget-cli and trace how installed package data and installation parameters are collected. Determine whether modified parameters are available for installed programs and how an option could represent them. Done means both commands can expose those parameters in a form suitable for reproducing customized installations.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, operating-systems
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.