I'm having trouble installing a .msixbundle package and keep getting this error: "Package failed updates, dependency or conflict validation." It looks like the package requires a framework called "Microsoft.VCLibs.140.00.UWPDesktop" but I can't seem to find it anywhere. I attempted to access the Microsoft website to download the necessary UWP Desktop package, but it only downloaded a .readme file. Can anyone help me figure this out?
1 Answer
You might want to download the necessary packages and dependencies from GitHub and try installing them manually. First, grab the .msixbundle file from [here](https://github.com/microsoft/winget-cli/releases/download/v1.12.100-preview/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle). Also, get the dependency files from [this zip](https://github.com/microsoft/winget-cli/releases/download/v1.12.100-preview/DesktopAppInstaller_Dependencies.zip). Install all three .appx files before the .msixbundle. Alternatively, you can install the .msixbundle and the .appx dependencies all at once using PowerShell, as shown below:
# Full Path to your .msixbundle Package
$MsixBundlePath = "C:PathToMsixBundleMicrosoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle"
# Path to the Folder containing the three .appx Dependency Files
$DependencyFolderPath = "C:PathToDependencies"
# Get Full Paths to .appx Dependency Files
$Dependencies = Get-ChildItem -Path $DependencyFolderPath -Filter "*.appx*" | Select-Object -ExpandProperty FullName
# Install .msixbundle and all .appx Dependencies
Add-AppxPackage -Path $MsixBundlePath -DependencyPath $Dependencies -Confirm:$False
Good call! Just make sure to install the DesktopAppInstaller first with:
Add-AppxPackage -Path "https://aka.ms/GetWinget" -Verbose
Glad your issue got resolved!