Skip to content

Windows 10/11 - App installed via *.appinstaller wont start anymore under Windows 10/11 #5847

Closed

Description

@l4nk4b3l

I am having the following issue. If i try to start an app i can see the Appinstaller appearing in taskbar for a milisecond and then nothing happens.

The App is installed via *.Appinstaller from my own website.

It seems to be an issue in Microsoft.DesktopAppInstaller v1.27.350.0 and v1.27.340.0.
Everything is fine with v1.26.510.0.

I already tried to narrow it down and it seems to be releated to ShowPromt and UpdateBlocksActivation. If i remove those Attributes the app starts again.

  <UpdateSettings>
    <OnLaunch
      HoursBetweenUpdateChecks="0"
      ShowPrompt="true"
      UpdateBlocksActivation="true" />
  </UpdateSettings>

Windows Event Log:
Aktivierungsfehler bei Microsoft.DesktopAppInstaller_8wekyb3d8bbwe!App. Fehlercode: Klasse nicht registriert. Aktivierungsphase: No phase defined

Aktivierungsfehler bei *****App. Fehlercode: Die Aktivierung ist aufgrund der APPINSTALLER-Aktualisierungseinstellungen für diese App blockiert.. Aktivierungsphase: Deployment

Can you help me to resolve this issue?

Activity

  1. denelon commented on Oct 30, 2025

    @denelon
    Collaborator

    Is this an issue related to WinGet specifically, or App Installer?

  2. added
    Issue-Bug
    and removed
    Needs-Triage
    on Oct 30, 2025
  3. added
    Needs-Author-Feedback
    on Oct 30, 2025
  4. florelis commented on Oct 30, 2025

    @florelis
    Member

    Is this an issue related to WinGet specifically, or App Installer?

    This is App Installer.

    ShowPromt and UpdateBlocksActivation. If i remove those Attributes the app starts again.

    So AppInstaller.exe is crashing. If you set ShowPrompt="false", then the OS shouldn't use AppInstaller.exe at all. If you set UpdateBlocksActivation="false", then the OS will launch your app even if AppInstaller.exe fails to update your app - and that includes failing because it crashed.

    (That is just to confirm that the workaround seems sound and should work for now. I still need to look into the actual AppInstaller.exe issue.)

  5. added
    Area-External
    on Oct 30, 2025
  6. denelon commented on Oct 30, 2025

    @denelon
    Collaborator

    Givin this is App Installer as opposed to WinGet, I'm making this as "Area-External". I'm fine leaving this issue open here until it's resolved (assuming nothing else changes).

  7. removed
    Needs-Author-Feedback
    on Oct 30, 2025
  8. florelis commented on Oct 30, 2025

    @florelis
    Member

    Machine translation of the event log for reference:

    Activation error with Microsoft.DesktopAppInstaller_8wekyb3d8bbwe!App. Error code: Class not registered. Activation phase: No phase defined
    Activation error with *****App. Error code: Activation is blocked for this app due to the APPINSTALLER update settings. Activation phase: Deployment
    

    So it is not that App Installer itself crashes, but that something fails when trying to launch it, I think?

    I wonder if it could be related to dependencies, since we just updated that. l4nk4b3l , would you mind checking if the required dependencies are present? You can do it with this command:

    (Get-AppPackage Microsoft.WindowsAppRuntime*1.8) + (Get-AppPackage Microsoft.VCLibs.140.00*) |
      Select-Object -Property Name, Architecture, Version, Status

    You need to have
    Microsoft.VCLibs.140.00 - v14.0.33519.0
    Microsoft.VCLibs.140.00.UWPDesktop - v14.0.33728.0
    Microsoft.WindowsAppRuntime.1.8 - v8000.616.304.0

    Edit: If you have any logs from App Installer that also would be incredibly helpful. They are in the same location as winget's logs (%LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir)

  9. jorgea380 commented on Oct 30, 2025

    @jorgea380

    I have the exact same issue on computers with Windows 11 22h2 or lower and Windows 10, if I update to latest Windows 11 25h2 issue goes away but it's no ideal, all of them installed automatically the update from Microsoft Store for AppInstaller and that's when the issue started.

  10. jorgea380 commented on Oct 31, 2025

    @jorgea380

    Flor Chacón (@florelis) I tried the command you mention in an still affected Windows 11 21h2 an got:

    PS C:\Users\CAJA 2> (Get-AppPackage Microsoft.WindowsAppRuntime*1.8) + (Get-AppPackage Microsoft.VCLibs.140.00*) |
    >>   Select-Object -Property Name, Architecture, Version, Status
    
    
    Name                               Architecture Version        Status
    ----                               ------------ -------        ------
    Microsoft.WindowsAppRuntime.1.8             X64 8000.642.119.0     Ok
    Microsoft.WindowsAppRuntime.1.8             X86 8000.642.119.0     Ok
    Microsoft.VCLibs.140.00                     X64 14.0.32530.0       Ok
    Microsoft.VCLibs.140.00                     X64 14.0.33321.0       Ok
    Microsoft.VCLibs.140.00.UWPDesktop          X64 14.0.33519.0       Ok
    Microsoft.VCLibs.140.00                     X86 14.0.33519.0       Ok
    Microsoft.VCLibs.140.00.UWPDesktop          X86 14.0.33728.0       Ok
    Microsoft.VCLibs.140.00.UWPDesktop          X64 14.0.33728.0       Ok
    Microsoft.VCLibs.140.00                     X64 14.0.33519.0       Ok
    

    This are some of the logs in the computer:
    AppInstaller-2025-10-30-06-36-12.401.zip

  11. l4nk4b3l commented on Oct 31, 2025

    @l4nk4b3l
    Author

    Flor Chacón (@florelis) i attached my logs. I will check if installing Microsoft.WindowsAppRuntime.1.8 - v8000.616.304.0 will make any difference.

    C:\WINDOWS\system32> (Get-AppPackage Microsoft.WindowsAppRuntime*1.8) + (Get-AppPackage Microsoft.VCLibs.140.00*) |
    >>   Select-Object -Property Name, Architecture, Version, Status
    
    Name                                     Architecture Version        Status
    ----                                     ------------ -------        ------
    Microsoft.WindowsAppRuntime.1.8                   X64 8000.642.119.0     Ok
    Microsoft.WindowsAppRuntime.1.8                   X86 8000.642.119.0     Ok
    Microsoft.VCLibs.140.00                           X64 14.0.27810.0       Ok
    Microsoft.VCLibs.140.00                           X64 14.0.29231.0       Ok
    Microsoft.VCLibs.140.00                           X64 14.0.30035.0       Ok
    Microsoft.VCLibs.140.00                           X64 14.0.30704.0       Ok
    Microsoft.VCLibs.140.00.UWPDesktop                X64 14.0.30704.0       Ok
    Microsoft.VCLibs.140.00                           X64 14.0.32530.0       Ok
    Microsoft.VCLibs.140.00.UWPDesktop                X64 14.0.32530.0       Ok
    Microsoft.VCLibs.140.00.UWPDesktop                X64 14.0.33321.0       Ok
    Microsoft.VCLibs.140.00                           X86 14.0.33321.0       Ok
    Microsoft.VCLibs.140.00                           X64 14.0.33321.0       Ok
    Microsoft.VCLibs.140.00.UWPDesktop                X64 14.0.33519.0       Ok
    Microsoft.VCLibs.140.00.UWPDesktop                X86 14.0.33519.0       Ok
    Microsoft.VCLibs.140.00                           X86 14.0.33519.0       Ok
    Microsoft.VCLibs.140.00.UWPDesktop                X86 14.0.33728.0       Ok
    Microsoft.VCLibs.140.00.UWPDesktop                X64 14.0.33728.0       Ok
    Microsoft.VCLibs.140.00.Debug                     X64 14.0.33519.0       Ok
    Microsoft.VCLibs.140.00.Debug                     X86 14.0.33519.0       Ok
    Microsoft.VCLibs.140.00                           X64 14.0.33519.0       Ok
    Microsoft.VCLibs.140.00.Debug.UWPDesktop          X64 14.0.33728.0       Ok
    

    Update
    I just tried on a fresh Windows 10 installation. Same result.

    Name                               Architecture Version        Status
    ----                               ------------ -------        ------
    Microsoft.WindowsAppRuntime.1.8             X64 8000.642.119.0     Ok
    Microsoft.WindowsAppRuntime.1.8             X86 8000.642.119.0     Ok
    
    
    Microsoft.VCLibs.140.00                     X64 14.0.27323.0       Ok
    Microsoft.VCLibs.140.00                     X64 14.0.33519.0       Ok
    Microsoft.VCLibs.140.00                     X86 14.0.33519.0       Ok
    Microsoft.VCLibs.140.00.UWPDesktop          X86 14.0.33728.0       Ok
    Microsoft.VCLibs.140.00.UWPDesktop          X64 14.0.33728.0       Ok
    

    Windows 11 is working fine for me

    Name                               Architecture Version        Status
    ----                               ------------ -------        ------
    Microsoft.WindowsAppRuntime.1.8             X86 8000.642.119.0     Ok
    Microsoft.WindowsAppRuntime.1.8             X64 8000.642.119.0     Ok
    Microsoft.VCLibs.140.00                     X86 14.0.33519.0       Ok
    Microsoft.VCLibs.140.00                     X64 14.0.33519.0       Ok
    Microsoft.VCLibs.140.00.UWPDesktop          X86 14.0.33728.0       Ok
    Microsoft.VCLibs.140.00.UWPDesktop          X64 14.0.33728.0       Ok
    

    I also added the 3 Windows Event logs in English.

    Activation for 5c7e2727-0077-4369-affa-87a46a7311c1_qr4qbfp594vzg!App failed. Error code: Activation is blocked due to the .appinstaller update settings for this app.. Activation phase: Deployment
    event_3.log

    Activation for Microsoft.DesktopAppInstaller_8wekyb3d8bbwe!App failed. Error code: Class not registered. Activation phase: No phase defined
    event_2.log

    Activation of app 5c7e2727-0077-4369-affa-87a46a7311c1_qr4qbfp594vzg!App attempted. Execution state: Attempted activation of the app, 0, The operation completed successfully..
    event_1.log

    AppInstaller-2025-10-31-11-39-15.135.zip

  12. l4nk4b3l commented on Oct 31, 2025

    @l4nk4b3l
    Author

    I am unable to install Microsoft.WindowsAppRuntime.1.8 - v8000.616.304.0

    Add-AppxPackage : Deployment failed with HRESULT: 0x80073D06, The package could not be installed because a higher version of this package is already installed. Windows cannot install package Microsoft.WindowsAppRuntime.1.8_8000.616.304.0_x64__8wekyb3d8bbwe because it has version 8000.616.304.0. A higher version 8000.642.119.0 of this package is already installed.

  13. 30 remaining items

  14. SyonFoppenLogic4 commented on Nov 25, 2025

    @SyonFoppenLogic4

    Flor Chacón (@florelis) , this issue has been open for a month now and is becoming a serious problem for our operations. Can this be escalated to a P0, because this bug makes it impossible to use the App Installer in enterprise environments? This is causing major impact.

    You have to understand that App Installer is also used by enterprise grade, business critical applications. A disruption like this affects not only our workflow but also the reliability of our entire deployment process. We urgently need this to be addressed.

  15. tuc50860 commented on Nov 25, 2025

    @tuc50860

    time to use velopack. what a mess this is...

  16. bigdomm commented on Dec 1, 2025

    @bigdomm

    Any news on this ?

  17. SyonFoppenLogic4 commented on Dec 2, 2025

    @SyonFoppenLogic4

    Flor Chacón (@florelis), can we have an update? Is this already escalated? People are waiting........

  18. l4nk4b3l commented on Dec 2, 2025

    @l4nk4b3l
    Author

    Is there any possible way to help on this issue?

  19. florelis commented on Dec 3, 2025

    @florelis
    Member

    Sorry about the time between updates. I was hoping to make the next update when the fix was ready, but that is taking longer than I wanted.

    This issue came from the migration from UWP to WinAppSDK. We are discussing what it would take to have a servicing fix to revert back to UWP, which would involve pipeline changes and other infrastructure work. Unfortunately, we cannot simply roll back to the previous version because that would also affect winget and that would cause disruption for other users. So we would have to set things up to build and package winget vCurrent with App Installer vPrev, and that isn't trivial. Our preference would be to fully isolate the issue and fix it properly without moving away from the WinAppSDK, but that has proven to be tricky.

    For a possible workaround, in theory using AutomaticBackgroundTask instead of OnLaunch for the update settings should work once the background update is complete. This is according to my understanding of the bug, but I have not fully validated that it is a complete workaround.

    As I shared before, the root cause is an OS issue where Launcher.LaunchUriForResultsAsync() is not able to launch a Desktop app (i.e., not UWP) but it also does not report an error. This does not happen in the more recent OS builds, but we haven't finished tracking down which was the first OS version where it was fixed. I am working on a possible fix of adding a separate UWP app for the sole purpose of being activated with LaunchUriForResultsAsync() and redirecting the actual work to the main executable.

    I know this isn't the news you were looking for, and that this issue shouldn't have happened to begin with. This issue has been escalated and we do have other folks involved in helping to troubleshoot this.

  20. florelis commented on Dec 15, 2025

    @florelis
    Member

    My apologies for the delay. We have a new build out that should address this issue. It is in the process of being rolled out to Insiders through Store updates, and you can also download the .msixbundle from the Releases page. Please let me know if this version works for you.

  21. vladimirstemberk commented on Dec 17, 2025

    @vladimirstemberk

    My apologies for the delay. We have a new build out that should address this issue. It is in the process of being rolled out to Insiders through Store updates, and you can also download the .msixbundle from the Releases page. Please let me know if this version works for you.

    So far, so good.

  22. supershopping commented on Dec 17, 2025

    @supershopping

    My apologies for the delay. We have a new build out that should address this issue. It is in the process of being rolled out to Insiders through Store updates, and you can also download the .msixbundle from the Releases page. Please let me know if this version works for you.

    With the new DesktopAppInstaller build installed, the MSIX app launches normally and behaves as expected.

  23. denelon commented on Dec 19, 2025

    @denelon
    Collaborator

    I'm going to go ahead and mark this issue as closed.

    As soon as we've passed our quality gates, the prerelease version will be published as stable to all customers via our normal distribution channels, and we'll update the GitHub release at the same time.

  24. moved this from In Progress to Done in WinGeton Dec 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Area-ExternalIssue-Bug

Type

Projects

  • Status
    Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions