Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify installer architecture #906

Closed
denelon opened this issue Apr 27, 2021 · 5 comments · Fixed by #1727
Closed

Specify installer architecture #906

denelon opened this issue Apr 27, 2021 · 5 comments · Fixed by #1727
Labels
Issue-Feature This is a feature request for the Windows Package Manager client.
Milestone

Comments

@denelon
Copy link
Contributor

denelon commented Apr 27, 2021

Add an argument and settings to specify installer architecture

As a user I would like to be able to specify which architecture an installer should use on my machine.

Proposed technical implementation details (optional)

This could be an argument like: winget install foo.bar --architecture x86

There could also be settings to specify a "preferred" architecture or a "required" architecture.

Given a "required" architecture, the search results could be trimmed to include only packages with manifests supporting my "required" architecture.

@denelon denelon added the Issue-Feature This is a feature request for the Windows Package Manager client. label Apr 27, 2021
@ghost ghost added the Needs-Triage Issue need to be triaged label Apr 27, 2021
@denelon denelon removed the Needs-Triage Issue need to be triaged label Apr 27, 2021
@KaranKad
Copy link

Maybe something easy to type like for e.g winget install 7-Zip --arch x86 and so on --arch x64, --arch arm, --arch arm64

@denelon
Copy link
Contributor Author

denelon commented May 23, 2021

@KaranKad we tend to use the double hyphen with the long form, and a single hyphen with a single character. For example:

The following options are available:
  -v,--version  Display the version of the tool

We might have something like:

 -a, --architecture Use the specified architecture

@HStry
Copy link

HStry commented May 31, 2021

Seconded. Just used winget to install adobe reader, but while running winget from the regular (not x86) powershell, it installed the 32-bit variant even though a 64-bit adobe reader exists.

@blackwind
Copy link

To add to @HStry's comment, the reverse use case is also important -- I require the 32-bit version of Python to interface with other 32-bit programs, but, currently, no option for that. Excited to fully migrate from Chocolatey once all the necessary features are in place.

@chbwien
Copy link

chbwien commented Jul 20, 2021

Or notepad++ is available in 32 and 64 bit versions, but some plugins are only available for 32 bit. So it makes sense to install the 32 bit edition on 64 bit OS...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Feature This is a feature request for the Windows Package Manager client.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants