-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
PSWinGet.psm1returns:
Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF3, Package failed updates, dependency or conflict validation.
Windows cannot install package Microsoft.DesktopAppInstaller_1.19.10173.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] 50d9e659-447e-0001-022e-da507e44d901 in the Event Log or use the command
line Get-AppPackageLog -ActivityID 50d9e659-447e-0001-022e-da507e44d901
At line:1 char:13
+ Add-AppxPackage -Path $LatestRelease.browser_download_url
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : WriteError: (https://github....bbwe.msixbundle:String) [Add-AppxPackage], IOException
+ FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand
Installation of Microsoft.UI.Xaml.2.7 fixes this problem:
$UiXamlExist = Get-AppxPackage -Name "Microsoft.UI.Xaml.2.7"
if (!$UiXamlExist) {
Invoke-WebRequest -Uri "https://www.nuget.org/api/v2/package/Microsoft.UI.Xaml/2.7.2" -OutFile "C:\Temp\Microsoft.UI.Xaml.zip"
Expand-Archive -Path "C:\Temp\Microsoft.UI.Xaml.zip" -DestinationPath "C:\Temp\Microsoft.UI.Xaml"
Add-AppxPackage -Path "C:\Temp\Microsoft.UI.Xaml\tools\AppX\x64\Release\Microsoft.UI.Xaml.2.7.appx"
}
Add-AppxPackage -Path "https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx
(and so on..)Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels