How Can I Install a .msixbundle Package Without Missing Dependencies?

0
0
Asked By CoolCat88 On

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

Answered By TechWhiz92 On

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

TechGuru77 -

Good call! Just make sure to install the DesktopAppInstaller first with:

Add-AppxPackage -Path "https://aka.ms/GetWinget" -Verbose

Glad your issue got resolved!

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.