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

Latest release changed Microsoft.UI.Xaml dependency, breaking some items #4208

Closed
Trenly opened this issue Feb 28, 2024 · 8 comments · Fixed by #4240
Closed

Latest release changed Microsoft.UI.Xaml dependency, breaking some items #4208

Trenly opened this issue Feb 28, 2024 · 8 comments · Fixed by #4240
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation.
Milestone

Comments

@Trenly
Copy link
Contributor

Trenly commented Feb 28, 2024

Brief description of your issue

With the release of Windows Package Manager 1.7.10582, the dependency on Microsoft.UI.Xaml has been bumped from v2.7.3 to v2.8.6. The microsoft/microsoft-ui-xaml release doesn't have appx installers so the Sandbox Test script at winget-pkgs is broken. Repair-WinGetPackageManager still points to Microsoft.UI.Xaml 2.7.3, and is therefore, broken. Additionally, all the documentation still refers to Microsoft.UI.Xaml 2.7

Steps to reproduce

Install the PowerShell cmdlets and run Repair-WinGetPackageManager

Expected behavior

WinGet to be installed successfully

Actual behavior

Repair-WinGetPackageManager : Deployment failed with HRESULT: 0x80073CF3, Package failed updates, dependency or conflict validation.                  Windows cannot install package Microsoft.DesktopAppInstaller_1.22.10582.0_x64__8wekyb3d8bbwe because this package depends on a framework that could   not be found. Provide the framework "Microsoft.UI.Xaml.2.8" published by "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond,               S=Washington, C=US", with neutral or x64 processor architecture and minimum version 8.2310.30001.0, along with this package to install. The           frameworks with name "Microsoft.UI.Xaml.2.8" currently installed are: {}                                                                              NOTE: For additional information, look for [ActivityId] b3997d2c-5f0c-0000-dfbf-99b30c5fda01 in the Event Log or use the command line                 Get-AppPackageLog -ActivityID b3997d2c-5f0c-0000-dfbf-99b30c5fda01                                                                                    At C:\Users\WDAGUtilityAccount\Desktop\SandboxTest\Bootstrap.ps1:37 char:3                                                                            +   Repair-WinGetPackageManager -Version v1.7.10582                                                                                                   +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                                                       + CategoryInfo          : WriteError: (https://github....bbwe.msixbundle:String) [Repair-WinGetPackageManager], IOException                           + FullyQualifiedErrorId : DeploymentError,Microsoft.WinGet.Client.Commands.RepairWinGetPackageManagerCmdlet                                                                                                                                                                                             Repair-WinGetPackageManager : Deployment failed with HRESULT: 0x80073CF3, Package failed updates, dependency or conflict validation.
Windows cannot install package Microsoft.DesktopAppInstaller_1.22.10582.0_x64__8wekyb3d8bbwe because this package depends on a framework that could
not be found. Provide the framework "Microsoft.UI.Xaml.2.8" published by "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond,
S=Washington, C=US", with neutral or x64 processor architecture and minimum version 8.2310.30001.0, along with this package to install. The
frameworks with name "Microsoft.UI.Xaml.2.8" currently installed are: {}
NOTE: For additional information, look for [ActivityId] b3997d2c-5f0c-0000-dfbf-99b30c5fda01 in the Event Log or use the command line
Get-AppPackageLog -ActivityID b3997d2c-5f0c-0000-dfbf-99b30c5fda01
At C:\Users\WDAGUtilityAccount\Desktop\SandboxTest\Bootstrap.ps1:37 char:3
+   Repair-WinGetPackageManager -Version v1.7.10582
+   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (https://github....bbwe.msixbundle:String) [Repair-WinGetPackageManager], IOException
    + FullyQualifiedErrorId : DeploymentError,Microsoft.WinGet.Client.Commands.RepairWinGetPackageManagerCmdlet

Environment

Regression as of Windows Package Manager 1.7.10582

This comment was marked as off-topic.

@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage Issue need to be triaged label Feb 28, 2024
Cyberboss added a commit to Cyberboss/install-winget that referenced this issue Feb 28, 2024
@stephengillie stephengillie added Issue-Bug It either shouldn't be doing this or needs an investigation. Area-External Issue outside of winget-cli source and removed Needs-Triage Issue need to be triaged labels Feb 28, 2024
@Trenly
Copy link
Contributor Author

Trenly commented Feb 28, 2024

@stephengillie - this is not "Area-External"

@stephengillie stephengillie removed the Area-External Issue outside of winget-cli source label Feb 28, 2024
@denelon
Copy link
Contributor

denelon commented Feb 28, 2024

Release Microsoft.UI.Xaml v2.8.6 · microsoft/microsoft-ui-xaml (github.com) doesn't have the .msix installer for WinGet to consume. We're working with them to see if we can get the .msix package published. This wasn't detected as the framework package from the Microsoft Store automatically handles the dependency for the Microsoft Store upgrade flow. We will be adding tests for future releases.

@denelon
Copy link
Contributor

denelon commented Feb 28, 2024

Update: The .appx packages have been added to the release for UI.XAML

@denelon
Copy link
Contributor

denelon commented Feb 28, 2024

@denelon
Copy link
Contributor

denelon commented Feb 28, 2024

@Trenly
Copy link
Contributor Author

Trenly commented Mar 6, 2024

Closing this as the Appx package for the dependency is now available on GitHub and the PowerShell module has been updated so that Repair-WinGetPackageManager should be functional

@Trenly Trenly closed this as completed Mar 6, 2024
@vedantmgoyal9
Copy link
Contributor

image

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

Successfully merging a pull request may close this issue.

5 participants