Automatically launch an MSIX-packaged desktop app from the web when it is already installed

183 Views Asked by At

I have a Windows Forms app that is deployed through ClickOnce over a web page. What I like about this setup is that users can install the app on their first visit, and then on the second, the app is started automatically (since it's already installed). And most importantly, this also supports automatic updates.

Now I want to move away from ClickOnce so I'm trying the MSIX approach (using a Windows Application Packaging Project in Visual Studio).

Like ClickOnce, MSIX can be delivered through a web page, but I'm struggling to get the app to launch automatically on the second visit, like in the above scenario. I'm getting the popup that says the app is already installed, with the button to launch it, but I'd like it to launch automatically (just like ClickOnce).

Is it doable?

0

There are 0 best solutions below