Forum Discussion

ChreesM's avatar
ChreesM
Brass Contributor
Jan 14, 2020

Re: Winforms .exe in MSIX Package Does Not Startup After Auto Update

Tanaka_Jimha- We have been doing some more internal testing/investigation of this issue. We setup a fresh VM with Windows 10 (build 1909), and made sure there isn't any antivirus software, group policy, etc. We are still experiencing the issue. We did note an error in the Appx log, although ultimately the deployment was successful, we just had to jumpstart the process.

 

Event Viewer – Administrative Events

Error      1/14/2020 6:27:00 AM  AppModel-Runtime        69           None

Failed with 0x490 modifying AppModel Runtime status for package IMSPolicy.Test_3.0.20014.1_neutral__jth0c9f684k02 for user CARPENTERD-TEST\DeleteMe (current status = 0x0, desired status = 0x20).

 

Log Name:      Microsoft-Windows-AppModel-Runtime/Admin

Source:        Microsoft-Windows-AppModel-Runtime

Date:          1/14/2020 6:27:00 AM

Event ID:      69

Task Category: None

Level:         Error

Keywords:      Process

User:          SYSTEM

Computer:      carpenterd-test.svmic.com

Description:

Failed with 0x490 modifying AppModel Runtime status for package IMSPolicy.Test_3.0.20014.1_neutral__jth0c9f684k02 for user CARPENTERD-TEST\DeleteMe (current status = 0x0, desired status = 0x20).

 

Event Xml:

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">

  <System>

    <Provider Name="Microsoft-Windows-AppModel-Runtime" Guid="{f1ef270a-0d32-4352-ba52-dbab41e1d859}" />

    <EventID>69</EventID>

    <Version>0</Version>

    <Level>2</Level>

    <Task>0</Task>

    <Opcode>0</Opcode>

    <Keywords>0x2000000000000001</Keywords>

    <TimeCreated SystemTime="2020-01-14T14:27:00.545054900Z" />

    <EventRecordID>900</EventRecordID>

    <Correlation ActivityID="{766f81f1-cae6-0000-3798-6f76e6cad501}" />

    <Execution ProcessID="4416" ThreadID="4564" />

    <Channel>Microsoft-Windows-AppModel-Runtime/Admin</Channel>

    <Computer>carpenterd-test.svmic.com</Computer>

    <Security UserID="S-1-5-18" />

  </System>

  <EventData>

    <Data Name="ErrorCode">1168</Data>

    <Data Name="PackageFullName">IMSPolicy.Test_3.0.20014.1_neutral__jth0c9f684k02</Data>

    <Data Name="User">S-1-5-21-4057247019-2708646856-1072159069-1001</Data>

    <Data Name="DesiredStatus">32</Data>

    <Data Name="CurrentStatus">0</Data>

  </EventData>

</Event>

5 Replies

  • Tanaka_Jimha's avatar
    Tanaka_Jimha
    Former Employee

    ChreesM 

     

    Thanks for the new logs and update. I've forwarded them to the dev team and followed up with you more info.

     

    Tanaka

    • John_Cote's avatar
      John_Cote
      Copper Contributor

      Tanaka_Jimha Has there been any word on the progress of this item? Our company has a winforms application that is deployed as MSIX and I noticed this morning that it fails to automatically launch after the update process.  I'm testing on Windows 10 21H1

       

      However, Touching the start menu button after about 20 seconds seems to bring it up.  I've enclosed the AILog.txt that shows the update was successful. I will also try to run the Feedback Hub application the next time there's an update.   Thank you for your time.

      • Roy_MacLachlan's avatar
        Roy_MacLachlan
        Icon for Microsoft rankMicrosoft

        Hi John_Cote,

         

        I will be reaching out to the team today to see if there has been any updates on this for you. I'll update you once I hear more.

         

        Thank you,

        Roy