microsoft / microsoft/winget-cli

Architecture-respecting program roots

Open
#3,732 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

It would be really cool if defaultInstallRoot could be split up into architecture-specific folders, like the system does by default for traditionally installed programs.

Proposed technical implementation details

Have defaultInstallRootx86 and defaultInstallRootx64 point to different folders and have installs done through winget to respect these choices and install programs from the respective architectures in the respective folders

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 locating how defaultInstallRoot is defined and how architecture is detected during winget installs. Trace the install path for x86 and x64 packages, then determine how separate defaultInstallRootx86 and defaultInstallRootx64 values should be configured and respected. Done means each architecture installs under its corresponding root, with coverage for both paths.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.