microsoft / microsoft/winget-cli

Installing 7zip on Windows on Arm installs x64 version

Open
#6,455 11 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Relevant area(s)

WinGet CLI

Relevant command(s)

winget install

Brief description of your issue

When installing 7zip.7zip on freshly re-paved Windows Arm Dev Kit running Qualcomm 8Cx Gen3 Arm processor, winget installs the x64 version of 7zip even though there is an ARM64 version listed in its manifest

Steps to reproduce

winget install 7zip.7zip on Arm based machine.

Expected behavior

Expected (when forced via --architecture flag):

C:\> winget install 7zip.7zip --architecture arm64
Found 7-Zip [7zip.7zip] Version 26.02
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://github.com/ip7z/7zip/releases/download/26.02/7z2602-arm64.exe
  ██████████████████████████████  1.51 MB / 1.51 MB
Successfully verified installer hash
Starting package install...
Successfully installed

Actual behavior

Actual:

C:\> winget install 7zip.7zip
Found 7-Zip [7zip.7zip] Version 26.02
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://github.com/ip7z/7zip/releases/download/26.02/7z2602-x64.msi
  ██████████████████████████████  1.90 MB / 1.90 MB
Successfully verified installer hash
Starting package install...
Successfully installed
Environment
Windows Package Manager (Preview) v1.30.90-preview
© 2026 Microsoft. All rights reserved.

Windows: Windows.Desktop v10.0.27975.984
System Architecture: Arm64
Package: Microsoft.DesktopAppInstaller v1.30.90.0

WinGet Directories
-----------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Diag…
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\sett…
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages
Installer Downloads                %USERPROFILE%\Downloads
Configuration Modules              %LOCALAPPDATA%\Microsoft\WinGet\Configuration\Modules

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Admin Setting                             State
--------------------------------------------------
LocalManifestFiles                        Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Disabled
ProxyCommandLineOptions                   Disabled
ConfigurationProcessorPath                Disabled
DefaultProxy                              Disabled

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 winget install path that resolves installer architecture, comparing default selection with --architecture arm64 on an Arm64 system. Use the linked 7zip.7zip manifest to verify that ARM64 and x64 installers are available. Done when the default command selects the ARM64 installer while explicit architecture behavior remains correct.

Written by the indexing model from the issue text.

Assessment

Domain
cli, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.