Open denelon opened 2 years ago
I don't know if this is what spurns this issue, but the offline package for Desktop Bridge (from here) is too old to work with the latest winget release candidate. As such we can't use the latest RC in Windows Sandbox, at least without finding the libraries from another unofficial source.
PS C:\Users\WDAGUtilityAccount\Downloads> Add-AppxPackage .\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle
Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF3, Package failed updates, dependency or conflict validation.
Windows cannot install package Microsoft.DesktopAppInstaller_1.18.1872.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.30704.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.18.1872.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.30704.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.30035.0_x64__8wekyb3d8bbwe}
NOTE: For additional information, look for [ActivityId] d28e393d-8a45-000f-da60-8ed2458ad801 in the Event Log or use the command line
Get-AppPackageLog -ActivityID d28e393d-8a45-000f-da60-8ed2458ad801
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
the offline package for Desktop Bridge (from here)
I have asked that they update these links.
And they appear to be up to date now.
@JohnMcPMS, I looked at the AppXManifest.xml of AppInstaller_X64.msix in the msixbundle from latest stable release and it has an additional dependency on package Microsoft.UI.Xaml.2.7. Does that need to be pre-installed in addition to Microsoft.VCLibs.140.00.UWPDesktop?
Yes, it does. We’ve been working around it by downloading the UI Xaml NuGet package which has the appx package inside of it.
I made an issue to document how to get UI Xaml installed if you can’t get access to the store: https://github.com/microsoft/winget-cli/issues/1861
Description of the new feature / enhancement
I'd like to have a way to download the Windows Package Manager (App Installer) and the other dependencies to support offline installation.
Proposed technical implementation details
Update documentation and provide links as necessary.