-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
V 1.9 Breaks Winget PowerShell Module (Microsoft.VCLibs.140.00.UWPDesktop Issue) #4916
Comments
This has the same root cause as: |
We've marked the latest stable release as "Pre-Release" here at GitHub so the Repair-WinGetPackageManager cmdlet will still install a stable release. It will install WinGet 1.8 in that case. The version delivered by the Microsoft Store is still the latest stable 1.9 version. This change is temporary until we've addressed the dependency for Repair-WinGetPackageManager to function properly installing the dependencies necessary for WinGet 1.9. |
@denelon please consider adding the two dependency appx files into every github releases. You would be independent of what version is linked to Bootstrap-Installation can be simplified to three simple steps.
AFAIK you get the dependencies appx files by default, when you run IMO these steps are far more straight-forward and consistent/deterministic than downloading the files from three different sources (where have limited control of the actual version of the Dependencies): from https://learn.microsoft.com/en-us/windows/package-manager/winget/#install-winget-on-windows-sandbox :
And even more consistent and straight-forward then the suggested alternative:
The repair-solution is fine, but quite obfuscated. When you know, that you just need to Download three files (which can be in one zip/msixbundle) and invoke one Add-AppxPackage. |
The updated module was just published: https://www.powershellgallery.com/packages/Microsoft.WinGet.Client/1.9.25190 Please let us know if this works or is still broken for you? |
Add-AppxPackage: Deployment failed with HRESULT: 0x80073CF3, Package failed updates, dependency or conflict validation. Windows cannot
install package Microsoft.DesktopAppInstaller_1.24.25180.0_x64__8wekyb3d8bbwe because this package depends on a
framework that could not be found. 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 x64 processor
architecture and minimum version 14.0.33728.0, along with this package to install. The frameworks with name
"Microsoft.VCLibs.140.00.UWPDesktop" currently installed Windows cannot install package
Microsoft.DesktopAppInstaller_1.24.25180.0_x64__8wekyb3d8bbwe because this package depends on a framework that could
not be found. 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 x64 processor architecture and minimum version
14.0.33728.0, along with this package to install. The frameworks with name "Microsoft.VCLibs.140.00.UWPDesktop"
currently installed are: {Microsoft.VCLibs.140.00.UWPDesktop_14.0.33321.0_x64__8wekyb3d8bbwe} NOTE: For additional
information, look for [ActivityId] 8219baaf-8b1d-0001-d2cd-3bce6329db01 in the Event Log or use the command line
Get-AppPackageLog -ActivityID 8219baaf-8b1d-0001-d2cd-3bce6329db01
Error: Process completed with exit code 1.`
Steps to reproduce
Attempt to install the Winget PowerShell module
Expected behavior
Module install successfully
Actual behavior
Module is failing to install winget due to out of date dependency for Microsoft.VCLibs.140.00.UWPDesktop.
Environment
N/A
The text was updated successfully, but these errors were encountered: