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

install failing on ARM64 #3519

Open
gfody opened this issue Aug 13, 2023 · 3 comments
Open

install failing on ARM64 #3519

gfody opened this issue Aug 13, 2023 · 3 comments
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation.

Comments

@gfody
Copy link

gfody commented Aug 13, 2023

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
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage Issue need to be triaged label Aug 13, 2023
@stephengillie
Copy link

@stephengillie stephengillie added Issue-Bug It either shouldn't be doing this or needs an investigation. and removed Needs-Triage Issue need to be triaged labels Aug 14, 2023
@denelon
Copy link
Contributor

denelon commented Aug 14, 2023

@gfody we've been working on the "Repair-WinGetPackageManager" cmdlet in the Microsoft.WinGet.Client PowerShell module. We had to get the UI.Xaml team to add releases to their GitHub repository so we could add the package to the cmdlet in a consistent manner.

@gfody
Copy link
Author

gfody commented Aug 19, 2023

btw I tried to install that module first, the install succeeds but then import fails with this message

import-module : Could not load file or assembly 'file:///C:\Program Files\WindowsPowerShell\Modules\Microsoft.WinGet.Cl
ient\0.2.1\runtimes\win10-x64\lib\net48\Microsoft.WinGet.Client.Cmdlets.dll' or one of its dependencies. An attempt
was made to load a program with an incorrect format.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation.
Projects
None yet
Development

No branches or pull requests

3 participants