microsoft / microsoft/winget-cli

install failing on ARM64

Open
#3,519 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Brief description of your issue

I'm on win11 arm edition, running this (from v1.5.2201)

add-appxpackage .\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle

gave this error:

Deployment failed with HRESULT: 0x80073CF3, Package failed updates, dependency or conflict validation. Windows cannot install package Microsoft.DesktopAppInstaller_1.20.2201.0_arm64__8wekyb3d8bbwe because this package depends on a framework that could not be found. Provide the framework "Microsoft.UI.Xaml.2.7" published by "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US", with neutral or ARM64 processor architecture and minimum version 7.2109.13004.0, along with this package to install.

I found the specified dependency on nuget and installed it, but then it complains about another one:

add-appxpackage .\Microsoft.UI.Xaml.2.7.appx
add-appxpackage .\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle

Provide the framework "Microsoft.VCLibs.140.00.UWPDesktop" published by "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US", with neutral or ARM64 processor architecture and minimum version 14.0.30704.0, along with this package to install.

I'm not able to easily find that one so I'm stuck for now.
*edit: I found it here and that seems to have been the last dependency:

add-appxpackage .\Microsoft.VCLibs.arm64.14.00.Desktop.appx
add-appxpackage .\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle
winget -v
v1.5.2201
Steps to reproduce

see description

Expected behavior

install

Actual behavior

dependency error

Environment
Windows 11 Enterprise Version 22H2 (OS Build 22621.2134)
Hypervisor: UTM 4.3.5 (87) on Apple M2

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

Reproduce the documented PowerShell Add-AppxPackage sequence on Windows 11 ARM64 using the listed MSIX bundle and dependency packages. Investigate the package dependency handling for the ARM64 installation; done means the bundle installs without dependency errors and winget -v runs successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.