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

Document workaround for Microsoft.UI.Xaml dependency #1861

Open
jedieaston opened this issue Jan 18, 2022 · 1 comment
Open

Document workaround for Microsoft.UI.Xaml dependency #1861

jedieaston opened this issue Jan 18, 2022 · 1 comment

Comments

@jedieaston
Copy link
Contributor

@jedieaston jedieaston commented Jan 18, 2022

Brief description of your issue

The latest pre-release version of winget requires Microsoft.UI.Xaml version 2.7, which doesn't have an external (no MSStore) download link. As such, it's impossible to install on Windows Sandbox or LTSC builds of Windows.

image

Steps to reproduce

  1. Open a Windows Sandbox.
  2. Go to releases and download the latest pre-release version of winget/DesktopAppInstaller.
  3. Download the desktop bridge package from here.
  4. Install the pre-release version of winget, supplying the desktop bridge package as a dependency.

Expected behavior

winget to install, with the dependency support stuff ready to test!

Actual behavior

Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF3, Package failed updates, dependency or conflict validation.
Windows cannot install package Microsoft.DesktopAppInstaller_1.17.3411.0_x64__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 x64 processor architecture and minimum version
7.2109.13004.0, along with this package to install. The frameworks with name "Microsoft.UI.Xaml.2.7" currently installed are: {}
NOTE: For additional information, look for [ActivityId] 5730573a-07cf-000f-f88c-3057cf07d801 in the Event Log or use the command line Get-AppPackageLog -ActivityID
5730573a-07cf-000f-f88c-3057cf07d801
At line:1 char:1
+ Add-AppxPackage .\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbun ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (C:\Users\WDAGUt...bbwe.msixbundle:String) [Add-AppxPackage], IOException
    + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand

PS C:\Users\WDAGUtilityAccount\Downloads>

(And before someone says it, yes I know how to get stuff from the Store for offline installation. But that's not the kosher method, and I'd rather someone ask the team that packages Microsoft.UI.Xaml to make it available at a URL like the Desktop Bridge team did.)

Environment

Windows: Windows.Desktop v10.0.22000.434

Any other software? This is the Sandbox build of Windows, so there is not a Microsoft Store available.
@jedieaston
Copy link
Contributor Author

@jedieaston jedieaston commented Jan 25, 2022

I found a workaround that doesn't involve the Store:

  1. Download this NuGetPackage: https://www.nuget.org/packages/Microsoft.UI.Xaml/
  2. Unzip it (change file extension if needed to .zip)
  3. Go to .\tools\AppX\{arch}\Release\Microsoft.UI.Xaml.2.7.appx and install it.

I would much prefer to have a direct link to just the appx file (like for the Desktop Bridge) but this satisfies it in a relatively kosher way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants