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
We package our application as MSIX on windows, whenever user tries to install the application through this MSIX package file it fails with error.
Error : App Installer failed to connect to the winget source for external package dependencies. Please report at https://aka.ms/winget-cli When did it begin and how often does it occur?
It started on 9/25 Monday evening , it occurs every time user tries to install the MSIX package . What errors do you see?
Reason : App Installer failed to connect to the winget source for external package dependencies. Please report at https://aka.ms/winget-cli What's the environment and are there recent changes?
Windows 10 20H2 What have you tried to troubleshoot this?
PowerShell script works : Add-AppPackage -path "msix package path"
Investigation:
We identified the external dependencies responsible for causing errors with the latest version of winget-cli(winget-cli v1.6.2721). Also we are able to replicate the same issue within a sample MAUI application(MAUITestApp.zip) msix package.
The external dependency in question is "Microsoft.WebView2," and you can find it specified in the following location within the MAUITestApp.zip)\Platforms\Windows\Package.appxmanifest:
Furthermore we are able reproduce the issue with any external dependency(other than Microsoft.WebView2) using sample test program : MAUITestApp.zip)\Platforms\Windows\Package.appxmanifest:
MSIX package installer should install the application successfully
Actual behavior
MSIX package installer is erroring out
Environment
Windows Package Manager v1.6.2721
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.19042.2965
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.21.2721.0
The text was updated successfully, but these errors were encountered:
Brief description of your issue
We package our application as MSIX on windows, whenever user tries to install the application through this MSIX package file it fails with error.
Error : App Installer failed to connect to the winget source for external package dependencies. Please report at https://aka.ms/winget-cli
When did it begin and how often does it occur?
It started on 9/25 Monday evening , it occurs every time user tries to install the MSIX package .
What errors do you see?
Reason : App Installer failed to connect to the winget source for external package dependencies. Please report at https://aka.ms/winget-cli
What's the environment and are there recent changes?
Windows 10 20H2
What have you tried to troubleshoot this?
PowerShell script works : Add-AppPackage -path "msix package path"
Investigation:
We identified the external dependencies responsible for causing errors with the latest version of winget-cli(winget-cli v1.6.2721). Also we are able to replicate the same issue within a sample MAUI application(MAUITestApp.zip) msix package.
The external dependency in question is "Microsoft.WebView2," and you can find it specified in the following location within the MAUITestApp.zip)\Platforms\Windows\Package.appxmanifest:
<win32dependencies:ExternalDependency
Name="Microsoft.WebView2"
Publisher="CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US"
MinVersion="1.1.1.1"
Optional="false"/>
To reproduce the issue, please follow these steps:
Downgrading to winget-cli v1.5.2201 fixes the issue on my machine.
Furthermore we are able reproduce the issue with any external dependency(other than Microsoft.WebView2) using sample test program : MAUITestApp.zip)\Platforms\Windows\Package.appxmanifest:
<win32dependencies:ExternalDependency
Name="Microsoft.WinJS.1.0"
Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US"
MinVersion="1.0.0.0"
Optional="false"/>
Steps to reproduce
To reproduce the issue, please follow these steps:
Downgrading to winget-cli v1.5.2201 fixes the issue on my machine.
Expected behavior
MSIX package installer should install the application successfully
Actual behavior
MSIX package installer is erroring out
Environment
The text was updated successfully, but these errors were encountered: