microsoft / winget-cli

WinGet is the Windows Package Manager. This project includes a CLI (Command Line Interface), PowerShell modules, and a COM (Component Object Model) API (Application Programming Interface).
https://learn.microsoft.com/windows/package-manager/
MIT License
23.08k stars 1.44k forks source link

msixbundle cannot be installed without internet #4215

Open agowa opened 7 months ago

agowa commented 7 months ago

Brief description of your issue

Hi, while installing a new VM [KVM with virtio network interface] I just noticed that the new msixbundle setups cannot be installed without internet connection.

Steps to reproduce

  1. Install Windows (without network connectivity and without a (yet) working network interface)
  2. Try to install a msixbundle e.g. https://github.com/M2Team/NanaZip/releases/tag/3.0.756
  3. Try to open it. (cannot be opened)

Expected behavior

Application successfully installing and launching without internet connectivity

Actual behavior

First attempt to launch the application caused a "we're getting your app ready" dialog from the windows package manager but it never completed and just ran endlessly. All following attempts (even after restarting and reinstalling) didn't do anything. No dialog, no error message, and the application didn't start either.

And when trying to execute ("nanazip") within cmd it takes a while and then terminates with "The system cannot execute the specified program."

Edit: And because NanaZip also registers itself into the context menu it also gets degraded (takes very long to load/open)

Edit2: The readme of the NanaZip project mentions that this may be because of an enforced license check that currently cannot be opted out of.

Environment

Windows Package Manager v1.2.10691
Windows: Windows.Desktop v10.0.22631.2861
Package: Microsoft.DesktopAppInstaller v1.17.10691.0
denelon commented 7 months ago

@agowa this issue appears to be related to the App Installer rather than WinGet.