Forum Discussion

Terry_Peterson's avatar
Terry_Peterson
Copper Contributor
Feb 13, 2021
Solved

How to set up an app in MSIX package to re-launch automatically upon Store update?

I have an MSIX package containing several apps, one of which is intended to run whenever the PC is awake because it manages TV show recordings and schedules.  That app is set to launch on startups, b...
  • Terry_Peterson's avatar
    Terry_Peterson
    Feb 23, 2021

    Thanks, Dian Hartono, for the follow up.  I think that the non-Store discussion is not directly applicable to my case, but your comment on that was valuable in getting me to a discussion that I think is the one that I've been missing:

    https://docs.microsoft.com/en-us/windows/apps/desktop/modernize/desktop-to-uwp-extensions#restart-automatically-after-receiving-an-update-from-the-microsoft-store 

     

    That section finally answers my question about how an app can discover that it's going to receive an update as well as how to make it restart afterward!  I haven't implemented it yet, but I'm optimistic that this is the right track. 

     

    Thanks, again! 

Resources