microsoft / microsoft/winget-cli
Option to install both 32 and 64 bit versions of a Software
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 26.4k
- Forks
- 1.8k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 15
Description
Description of the new feature / enhancement
Hi Team, Can we add an option to install both 32 and 64 bit versions of a Software if needed. For my purposes I need Java for both 32 bit and 64 bit but it fails to do so.
C:\Windows\system32>winget install Oracle.JavaRuntimeEnvironment -a x86
Found Java 8 [Oracle.JavaRuntimeEnvironment] Version 8.0.4310.10
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://javadl.oracle.com/webapps/download/GetFile/1.8.0_431-b10/0d8f12bc927a4e2c9f8568ca567db4ee/windows-i586/jre-8u431-windows-i586.exe
██████████████████████████████ 60.7 MB / 60.7 MB
Successfully verified installer hash
Starting package install...
Successfully installed
C:\Windows\system32>
C:\Windows\system32>
C:\Windows\system32>winget install Oracle.JavaRuntimeEnvironment
Found an existing package already installed. Trying to upgrade the installed package...
No available upgrade found.
No newer package versions are available from the configured sources.
C:\Windows\system32>winget install Oracle.JavaRuntimeEnvironment -a x64
Found an existing package already installed. Trying to upgrade the installed package...
No available upgrade found.
No newer package versions are available from the configured sources.
Please let me know if this can be done.
[The use case is I have a browser in 32 bit and 1 in 64 bit both need java]
Proposed technical implementation details
winget install Oracle.JavaRuntimeEnvironment -a x64
winget install Oracle.JavaRuntimeEnvironment -a x86
Installs both Software instead of stating the Package already exists.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the two reported winget install Oracle.JavaRuntimeEnvironment commands with -a x86 and -a x64. Trace how the install command detects an existing package and handles architecture-specific installs. Done means both Java architectures can be installed side by side without the second command being treated as an upgrade.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100