winget-cli icon indicating copy to clipboard operation
winget-cli copied to clipboard

Inexplicable 0x80070020/0x80073CF6 when installing Msix

Open AliveDevil opened this issue 6 months ago • 3 comments

Brief description of your issue

When installing an MSIX directly AppInstaller inexplicably returns 0x80073cf6/0x80070020 insufficient memory, and fails the installation.

Steps to reproduce

Not sure, but what's been done:

  • Install App by AppInstaller
  • Test app
  • Downgrade App for testing an integrated updater, by using a specific version Msix package
    • Whether the App was previously installed doesn't seem to make a difference, when uninstalling the newer, then installing the previous version, the error is the same.

We've seen this happen occasionally, without having identified the root cause - I couldn't reproduce it on my machine.

Expected behavior

Detailed error description, not just "Insufficient Memory" so in-house support teams can act upon this, instead of deferring and hoping this gets resolved some day.

Actual behavior

[Wed May 21 15:16:46 2025]{3864} ProgressReporter -> Main App Progress: 98
[Wed May 21 15:16:46 2025]{3864} DeploymentCompletionCallback
[Wed May 21 15:16:46 2025]{3864} DeploymentCompletionCallback -> Install Operation Failed. Error Code: 0x80073cf6, Extended Error Code: 0x80070020
[Wed May 21 15:16:46 2025]{3864} DeploymentCompletionCallback -> fallbackErrorText: Fehler 0x80070020: Das Paket kann aufgrund eines internen Fehlers oder wegen zu wenig verfügbarem Arbeitsspeicher nicht registriert werden. (0x80070020)

Logs:

Previous AppInstaller-attempt: AppInstaller-2025-05-21-15-16-38.676.log Add-AppxPackage -Path -Force: package.log

Environment

Windows-Paket-Manager v1.10.390
Windows: Windows.Desktop v10.0.26100.4061
Systemarchitektur: X64
Paket: Microsoft.DesktopAppInstaller v1.25.390.0

AliveDevil avatar May 21 '25 14:05 AliveDevil

It looks like you are reporting an issue with App Installer as opposed to WinGet.

denelon avatar May 22 '25 02:05 denelon

Sorry for reporting it here, but I've not found other constructive ways to report AppInstaller feedback. I'd be happy if you forward this to the appropriate team to look into this, but in case this is out of reach, please close this, and I'll check for other channels.

AliveDevil avatar May 22 '25 10:05 AliveDevil

I do work with several folks on the MSIX team. I'll see if I can route this to someone to take a peek and offer some guidance.

My first pass yielded:

80073cf6 = ERROR_INSTALL_REGISTRATION_FAILURE 0x80070020 = ERROR_SHARING_VIOLATION

0x14 / 0x80070014 = ERROR_OUTOFMEMORY (Not sure how out of memory came from the above errors).

denelon avatar May 22 '25 20:05 denelon