microsoft / microsoft/winget-cli

Inexplicable 0x80070020/0x80073CF6 when installing Msix

Open
#5,472 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-External Issue-Bug
Dominant language
C++
Stars
26.4k
Forks
1.8k
Avg merge
1d 11h
Merged PRs (30d)
15

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing AppInstaller-2025-05-21-15-16-38.676.log and package.log, then compare the failed direct MSIX installation with the Add-AppxPackage attempt during the downgrade scenario. Done means identifying a reproducible cause or improving the reported error so support teams receive actionable details instead of only an insufficient-memory message.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.