You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Install the lasted versions of the requirements and winget.
Additional Information
install-winget
Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF3, Package failed updates, dependency or conflict validation.
Windows cannot install package Microsoft.DesktopAppInstaller_1.23.1911.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.
NOTE: For additional information, look for [ActivityId] 07c5f442-ef52-000b-3cde-c60752efda01 in the Event Log or use the command
line Get-AppPackageLog -ActivityID 07c5f442-ef52-000b-3cde-c60752efda01
At C:\Program Files\WindowsPowerShell\Modules\wingettools\1.7.0\functions\Install-Winget.ps1:68 char:13
Windows Sandbox, despite its name, is not always the best thing for testing. It is missing key elements like the MS Store. But I will take a look. I have some code that I might be able to add.
Describe the problem
Fails to install all requirements.
$latestWingetMsixBundleUri = $ (Invoke-RestMethod https://api.github.com/repos/microsoft/winget-cli/releases/latest).assets.browser_download_url | Where-Object { $_.EndsWith(".msixbundle") }
Running this script works:
set-executionpolicy unrestricted -force -scope CurrentUser
$progressPreference = 'silentlyContinue'
$latestWingetMsixBundle = $latestWingetMsixBundleUri.Split("/")[-1]
Write-Information "Downloading winget to artifacts directory..."
Invoke-WebRequest -Uri $latestWingetMsixBundleUri -OutFile $env:TEMP$latestWingetMsixBundle
Invoke-WebRequest -Uri https://github.com/microsoft/microsoft-ui-xaml/releases/download/v2.8.6/Microsoft.UI.Xaml.2.8.x64.appx -OutFile $env:TEMP\Microsoft.UI.Xaml.2.8.x64.appx
Invoke-WebRequest -Uri https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx -OutFile $env:TEMP\Microsoft.VCLibs.x64.14.00.Desktop.appx
Add-AppxPackage $env:TEMP\Microsoft.VCLibs.x64.14.00.Desktop.appx
Add-AppxPackage $env:TEMP\Microsoft.UI.Xaml.2.8.x64.appx
Add-AppxPackage $env:TEMP$latestWingetMsixBundle
winget search microsoft --accept-source-agreements
Expectation
Install the lasted versions of the requirements and winget.
Additional Information
install-winget
Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF3, Package failed updates, dependency or conflict validation.
Windows cannot install package Microsoft.DesktopAppInstaller_1.23.1911.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.
NOTE: For additional information, look for [ActivityId] 07c5f442-ef52-000b-3cde-c60752efda01 in the Event Log or use the command
line Get-AppPackageLog -ActivityID 07c5f442-ef52-000b-3cde-c60752efda01
At C:\Program Files\WindowsPowerShell\Modules\wingettools\1.7.0\functions\Install-Winget.ps1:68 char:13
PowerShell version
5.1
Platform
Windows 11 Pro or Enterprise
Additional Checks
The text was updated successfully, but these errors were encountered: