Skip to content

Install fails #5713

@LunaticWasTaken

Description

@LunaticWasTaken

Relevant area(s)

PowerShell Module

Relevant command(s)

No response

Brief description of your issue

Trying to install winget from either the Microsoft Store, or from the GitHub Releases Page via Powershell, it always fails.

When installing from the Store, it fails with a generic "Something went wrong, We're aware of the issue and working to fix it. Try again later."

When installing via `Add-AppxPackage "path/to/msixbundle", it gives some relevant output:

PS C:\Users\luna> Add-AppxPackage .\Downloads\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle
Add-AppxPackage: Deployment failed with HRESULT: 0x80073CF6, Package could not be registered.

AppxManifest.xml(165,14): error 0x80070020: Cannot register the Microsoft.DesktopAppInstaller_1.27.170.0_x64__8wekyb3d8bbwe package because the following error was encountered while registering the windows.appExecutionAlias extension: The process cannot access the file because it is being used by another process.
.  Try again and contact the package publisher if the problem persists.

NOTE: For additional information, look for [ActivityId] c006f5ac-21db-0003-4160-0dc0db21dc01 in the Event Log or use the command line Get-AppPackageLog -ActivityID c006f5ac-21db-0003-4160-0dc0db21dc01
PS C:\Users\luna> Get-AppPackageLog -ActivityID c006f5ac-21db-0003-4160-0dc0db21dc01

Time                      ID           Message
----                      --           -------
10/09/2025 14:20:17       603          Started deployment Add operation on a package with main parameter Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle and Options 0 and 0. See
                                       http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues.
10/09/2025 14:20:17       164          The app bundle signature was validated for core content of the app bundle published by CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US. App packages won't
                                       be validated until they are read.
10/09/2025 14:20:17       391          The bundle streaming reader was created successfully for bundle Microsoft.DesktopAppInstaller_2025.826.1831.0_neutral_~_8wekyb3d8bbwe.
10/09/2025 14:20:17       10002        Creating Resiliency File C:\ProgramData\Microsoft\Windows\AppRepository\3ea290d2-0dec-414d-b21b-c1fbb54b1a00_S-1-5-21-2293309823-1519897684-388868090-1000_1.rslc for Add Operation on
                                       Package Microsoft.DesktopAppInstaller_2025.826.1831.0_neutral_~_8wekyb3d8bbwe.
10/09/2025 14:20:17       607          Deployment Add operation on package Microsoft.DesktopAppInstaller_2025.826.1831.0_neutral_~_8wekyb3d8bbwe has been de-queued and is running for user SID
                                       S-1-5-21-2293309823-1519897684-388868090-1000.
10/09/2025 14:20:17       157          The app package signature was validated for core content of the app package published by CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US. Payload won't be
                                       validated until the files are read.
10/09/2025 14:20:17       216          App manifest validation warning: Declared namespace http://schemas.microsoft.com/developer/appx/2015/build is inapplicable, it will be ignored during manifest processing.
10/09/2025 14:20:17       216          App manifest validation warning: Declared namespace urn:uuid:489fc062-afa9-4d91-9e8d-d512d48dc494 is inapplicable, it will be ignored during manifest processing.
10/09/2025 14:20:17       170          The streaming reader was created successfully for app package Microsoft.DesktopAppInstaller_1.27.170.0_x64__8wekyb3d8bbwe.
10/09/2025 14:20:17       854          Successfully added the following uri(s) to be processed:  file:///C:/Users/luna/Downloads/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle
                                       file:///C:/Users/luna/Downloads/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle\AppInstaller_x64.msix.
10/09/2025 14:20:17       672          Package Microsoft.VCLibs.140.00_14.0.30704.0_x64__8wekyb3d8bbwe does not satisfy a dependency for package Microsoft.DesktopAppInstaller_1.27.170.0_x64__8wekyb3d8bbwe. Reason: The package's
                                       version is lower than the required MinVersion.
10/09/2025 14:20:17       855          Finished resolving action lists. DeploymentRequest action lists: addPackageList: Microsoft.DesktopAppInstaller_1.27.170.0_x64__8wekyb3d8bbwe
                                       Microsoft.DesktopAppInstaller_2025.826.1831.0_neutral_~_8wekyb3d8bbwe.
10/09/2025 14:20:19       617          Successfully updated the status for package Microsoft.DesktopAppInstaller_1.27.170.0_x64__8wekyb3d8bbwe and user S-1-5-21-2293309823-1519897684-388868090-1000 (Clear=0x0, Set=0x20).
10/09/2025 14:20:19       8100         Starting validation and setting the Trust Label on package Microsoft.DesktopAppInstaller_1.27.170.0_x64__8wekyb3d8bbwe with flags 0x9.
10/09/2025 14:20:19       8106         Package Microsoft.DesktopAppInstaller_1.27.170.0_x64__8wekyb3d8bbwe has Trust Label already. Flags: 0x9
10/09/2025 14:20:19       8101         Finished validation and setting the Trust Label on package Microsoft.DesktopAppInstaller_1.27.170.0_x64__8wekyb3d8bbwe with flags 0x9.
10/09/2025 14:20:19       617          Successfully updated the status for package Microsoft.DesktopAppInstaller_1.27.170.0_x64__8wekyb3d8bbwe and user S-1-5-21-2293309823-1519897684-388868090-1000 (Clear=0x0, Set=0x20).
10/09/2025 14:20:19       6801         AppxManifest.xml(165,14): error 0x80070020: Cannot register the Microsoft.DesktopAppInstaller_1.27.170.0_x64__8wekyb3d8bbwe package because the following error was encountered while
                                       registering the windows.appExecutionAlias extension: The process cannot access the file because it is being used by another process.
                                       .  Try again and contact the package publisher if the problem persists.
10/09/2025 14:20:19       306          error 0x80070020: While processing the request, the system failed to register the windows.appExecutionAlias extension due to the following error: The process cannot access the file because
                                       it is being used by another process.
                                       .
10/09/2025 14:20:19       316          error 0x80070020: Cannot register the request because the following error was encountered during the registration of the windows.appExecutionAlias extension: The process cannot access the
                                       file because it is being used by another process.
                                       .
10/09/2025 14:20:19       617          Successfully updated the status for package Microsoft.DesktopAppInstaller_1.27.170.0_x64__8wekyb3d8bbwe and user S-1-5-21-2293309823-1519897684-388868090-1000 (Clear=0xFFFFFFFF, Set=0x0).
10/09/2025 14:20:19       5507         Microsoft.DesktopAppInstaller_1.27.170.0_x64__8wekyb3d8bbwe : C:\Program
                                       Files\WindowsApps\Microsoft.DesktopAppInstaller_1.27.170.0_x64__8wekyb3d8bbwe\microsoft.system.package.metadata\S-1-5-21-2293309823-1519897684-388868090-1000-MergedResources-*.pri : No
                                       user-specific merged files found
10/09/2025 14:20:19       5507         Microsoft.DesktopAppInstaller_1.27.170.0_x64__8wekyb3d8bbwe : C:\Program
                                       Files\WindowsApps\Microsoft.DesktopAppInstaller_1.27.170.0_x64__8wekyb3d8bbwe\microsoft.system.package.metadata\Resources.????????.pri : No shared merged files found
10/09/2025 14:20:19       5507         Microsoft.DesktopAppInstaller_1.27.170.0_x64__8wekyb3d8bbwe : C:\Program
                                       Files\WindowsApps\Microsoft.DesktopAppInstaller_1.27.170.0_x64__8wekyb3d8bbwe\microsoft.system.package.metadata\S-1-5-21-2293309823-1519897684-388868090-1000-MergedResources-*.pri : No
                                       user-specific merged files found
10/09/2025 14:20:19       5507         Microsoft.DesktopAppInstaller_1.27.170.0_x64__8wekyb3d8bbwe : C:\Program
                                       Files\WindowsApps\Microsoft.DesktopAppInstaller_1.27.170.0_x64__8wekyb3d8bbwe\microsoft.system.package.metadata\Resources.????????.pri : No shared merged files found
10/09/2025 14:20:19       300          error 0x80073CF6: Cannot register the Microsoft.DesktopAppInstaller_8wekyb3d8bbwe package due to the following error: Package could not be registered.
                                       .
10/09/2025 14:20:19       605          Error 0x80073CF6: Failure in the RegistrationChanged state handler.
10/09/2025 14:20:19       330          error 0x80070002: While removing the request, the system failed to de-register the windows.MRT extension due to the following error: The system cannot find the file specified.
                                       .
10/09/2025 14:20:19       617          Successfully updated the status for package Microsoft.DesktopAppInstaller_1.27.170.0_x64__8wekyb3d8bbwe and user S-1-5-21-2293309823-1519897684-388868090-1000 (Clear=0xFFFFFFFF, Set=0x0).
10/09/2025 14:20:19       472          Moving package folder \\?\C:\Program Files\WindowsApps\Microsoft.DesktopAppInstaller_2025.826.1831.0_neutral_~_8wekyb3d8bbwe to \\?\C:\Program
                                       Files\WindowsApps\Deleted\Microsoft.DesktopAppInstaller_2025.826.1831.0_neutral_~_8wekyb3d8bbwe622ff4b1-7c7c-4acb-8cbb-04ef697b0abc. Result: 0x0.
10/09/2025 14:20:19       472          Moving package folder \\?\C:\Program Files\WindowsApps\Microsoft.DesktopAppInstaller_1.27.170.0_x64__8wekyb3d8bbwe to \\?\C:\Program
                                       Files\WindowsApps\Deleted\Microsoft.DesktopAppInstaller_1.27.170.0_x64__8wekyb3d8bbwe15e498be-d740-4dc2-bf73-ae7debc6d75b. Result: 0x0.
10/09/2025 14:20:19       617          Successfully updated the status for package Microsoft.DesktopAppInstaller_1.27.170.0_x64__8wekyb3d8bbwe and user S-1-5-21-2293309823-1519897684-388868090-1000 (Clear=0x20, Set=0x0).
10/09/2025 14:20:19       9660         error 0xD0074005: Unable to notify BrokerInfrastructure service for package Microsoft.DesktopAppInstaller_1.27.170.0_x64__8wekyb3d8bbwe and state change 2.
10/09/2025 14:20:19       401          Deployment Add operation with target volume C: on Package Microsoft.DesktopAppInstaller_2025.826.1831.0_neutral_~_8wekyb3d8bbwe from:
                                       (Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle)  failed with error 0x80073CF6. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues.
10/09/2025 14:20:19       404          AppX Deployment operation failed for package Microsoft.DesktopAppInstaller_2025.826.1831.0_neutral_~_8wekyb3d8bbwe with error 0x80073CF6. The specific error text for this failure is:
                                       AppxManifest.xml(165,14): error 0x80070020: Cannot register the Microsoft.DesktopAppInstaller_1.27.170.0_x64__8wekyb3d8bbwe package because the following error was encountered while
                                       registering the windows.appExecutionAlias extension: The process cannot access the file because it is being used by another process.
                                       .  Try again and contact the package publisher if the problem persists.

Steps to reproduce

  • Try to install either the "App Installer" via Microsoft Store, or winget via powershell.

Expected behavior

Winget gets installed

Actual behavior

Winget fails to install

Environment

Cannot provide the winget-output for obvious reasons, but i am running `Windows 11 24H2 (OS Build 26100.4946)`

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugIt either shouldn't be doing this or needs an investigation.PowerShellIssue related to WinGet PowerShell Module or cmdlet

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions