microsoft / microsoft/winget-pkgs
[Package Issue]: Microsoft.AppInstaller upate fails - Exitcode: 0x80d03002 : unknown error
Open
Nobody has claimed this yet.
Issue-Bug
- Dominant language
- No language data
- Stars
- 11.1k
- Forks
- 9.7k
- Avg merge
- 1h 32m
- Merged PRs (30d)
- 376
Description
Please confirm these before moving forward
- I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
- I have not been informed if the issue is resolved in a preview version of the winget client.
Category of the issue
Other
Brief description of your issue
Microsoft.AppInstaller Update 1.24.25200.0 to 1.25.320.0
Steps to reproduce
just update, I guess?!
Actual behavior
Exitcode: 0x80d03002
Expected behavior
No error
Environment
C:\Windows\system32>winget --info
Windows-Paket-Manager v1.9.25200
Copyright (c) Microsoft Corporation. Alle Rechte vorbehalten.
Windows: Windows.Desktop v10.0.19044.5487
Systemarchitektur: X64
Paket: Microsoft.DesktopAppInstaller v1.24.25200.0
Screenshots and Logs
[{68EEFEFB-6E5F-4553-96E1-040C6F73A889}]
[CORE] OS: Windows.Desktop v10.0.19044.5487
[CORE] Command line Args: winget upgrade Microsoft.AppInstaller
[CORE] Package: Microsoft.DesktopAppInstaller v1.24.25200.0
[CORE] IsCOMCall:0; Caller: winget-cli
[CLI ] WinGet invoked with arguments: 'upgrade' 'Microsoft.AppInstaller'
[CLI ] Found subcommand: upgrade
[CLI ] Leaf command to execute: root:upgrade
[CLI ] Executing command: upgrade
[REPO] Default source requested, multiple sources available, adding all to source references.
[REPO] Adding to source references msstore
[CORE] Default proxy is not set
[REPO] REST HTTP Client helper does not use proxy
[REPO] Adding to source references winget
[CLI ] Created authentication arguments. Mode: silentPreferred, Account:
[CORE] Examining extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB
[CORE] Found matching extension.
[REPO] Multiple sources available, creating aggregated source.
[REPO] Adding to aggregated source: msstore
[REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/information
[REPO] Response status: 200
[REPO] Authentication node not found. Assuming authentication type none.
[REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/information
[REPO] Response status: 200
[REPO] Authentication node not found. Assuming authentication type none.
[REPO] Adding to aggregated source: winget
[CORE] Examining extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB
[CORE] Found matching extension.
[REPO] Opening database for ImmutableRead at 'C:\Program Files\WindowsApps\Microsoft.Winget.Source_2025.226.709.32_neutral__8wekyb3d8bbwe\Public\index.db'
[2025-02-26 07:09:00.000]
[Latest] at ':memory:'
[REPO] Reading MSI UpgradeCodes
[REPO] Reading MSI UpgradeCodes
[REPO] Opening database for ReadWrite at 'C:\Users\USERNAME\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\StoreEdgeFD\installed.db'
[2024-11-26 21:56:53.000]
[REPO] Sending http POST request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/manifestSearch
[REPO] Response status: 200
[REPO] Opening database for ReadWrite at 'C:\Users\USERNAME\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Microsoft.Winget.Source_8wekyb3d8bbwe\installed.db'
[2025-02-26 07:21:04.000]
[Microsoft.AppInstaller] in tracking catalog for: winget
[CLI ] Found one app. App id: Microsoft.AppInstaller App name: App Installer
[REPO] Attempting to open pinning database: C:\Users\USERNAME\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\pinning.db
[1.25.320.0]
[REPO] Opening database for ReadWrite at 'C:\Users\USERNAME\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Microsoft.Winget.Source_8wekyb3d8bbwe\installed.db'
[2025-02-26 07:21:04.000]
[Microsoft.VCLibs.Desktop.14] in tracking catalog for: winget
[REPO] Attempting to open pinning database: C:\Users\USERNAME\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\pinning.db
[Microsoft.UI.Xaml.2.8] in tracking catalog for: winget
[REPO] Attempting to open pinning database: C:\Users\USERNAME\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\pinning.db
[CLI ] Installer hash verified
[CORE] Starting StagePackageAsync operation #0: https://github.com/microsoft/winget-cli/releases/download/v1.10.320/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle Options: { SkipReputationCheck = 1, ExpectedDigests = { { URI = https://github.com/microsoft/winget-cli/releases/download/v1.10.320/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle, Digest = FQz2G3/uSL2OK3I5UNp0Fc90acfEMM2bdUDoSpyxNQU= } } }
[CORE] Begin waiting for operation #0
[CORE] Begin blocking for operation #0
[CORE] Deployment operation #0: Deployment operation failed.
[Operation failed: Deployment operation failed.]
[CORE] Starting RemovePackage operation #1: Microsoft.DesktopAppInstaller_2025.221.7.0_neutral_~_8wekyb3d8bbwe
[CORE] Begin waiting for operation #1
[CORE] Begin blocking for operation #1
[CORE] Deployment operation #1: Windows cannot remove Microsoft.DesktopAppInstaller_2025.221.7.0_neutral_~_8wekyb3d8bbwe because the current user does not have that package installed. Use Get-AppxPackage to see the list of packages installed.
[FAIL] C:\__w\1\s\external\pkg\src\AppInstallerCommonCore\Deployment.cpp(54)\WindowsPackageManager.dll!00007FF9ACF4CA3B: (caller: 00007FF9ACF4B1C1) Exception(2) tid(50bc) 80073CF1 Package was not found.
[Operation failed: Windows cannot remove Microsoft.DesktopAppInstaller_2025.221.7.0_neutral_~_8wekyb3d8bbwe because the current user does not have that package installed. Use Get-AppxPackage to see the list of packages installed.]
[FAIL] C:\__w\1\s\external\pkg\src\AppInstallerCommonCore\Deployment.cpp(186)\WindowsPackageManager.dll!00007FF9AD08EAB5: (caller: 00007FF9ACF47F63) LogHr(1) tid(50bc) 80073CF1 Package was not found.
[C:\__w\1\s\external\pkg\src\AppInstallerCommonCore\Deployment.cpp(54)\WindowsPackageManager.dll!00007FF9ACF4CA3B: (caller: 00007FF9ACF4B1C1) Exception(2) tid(50bc) 80073CF1 Package was not found.
[Operation failed: Windows cannot remove Microsoft.DesktopAppInstaller_2025.221.7.0_neutral_~_8wekyb3d8bbwe because the current user does not have that package installed. Use Get-AppxPackage to see the list of packages installed.]
]
[CLI ] MSIX installer failed: 2161127426
[CLI ] Terminating context: 0x80d03002 at C:\__w\1\s\external\pkg\src\AppInstallerCLICore\Workflows\InstallFlow.cpp:221
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the reported winget upgrade Microsoft.AppInstaller command and compare the installed package state with Get-AppxPackage. Trace the deployment and cleanup paths mentioned in external/pkg/src/AppInstallerCommonCore/Deployment.cpp and external/pkg/src/AppInstallerCLICore/Workflows/InstallFlow.cpp. Done means the AppInstaller update completes without the reported deployment error.
Written by the indexing model from the issue text.
Assessment
- 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