Download the package and dependencies:
b0a0692da1034339b76dce1c298a1e42_License1.xml
andMicrosoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle
from https://github.com/microsoft/winget-cli/releases/tag/v1.2.10271Microsoft.VCLibs.x64.14.00.Desktop.appx
from https://docs.microsoft.com/en-us/troubleshoot/developer/visualstudio/cpp/libraries/c-runtime-packages-desktop-bridge.Microsoft.UI.Xaml.2.7.appx
from https://www.nuget.org/packages/Microsoft.UI.Xaml/2.7.2 by choosing “Download package”, renaming it to.zip
once downloaded, and extracting the fileappx
file fromtools/AppX/x64/Release
.
Install it globally with:
Add-AppxProvisionedPackage -Online -PackagePath Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle `
-LicensePath b0a0692da1034339b76dce1c298a1e42_License1.xml `
-DependencyPackagePath Microsoft.VCLibs.x64.14.00.Desktop.appx,Microsoft.UI.Xaml.2.7.appx