0

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?

Jeff
  • 522
  • 7
  • 26
  • It should be an attribute of the `` element (child of ``, which you should already have), `ShowPrompt` (IIRC). You could also use the `` element to signify that the installer should check every 8 hours whether updates are available -- I'm not sure whether `ShowPrompt`(?) is considered when starting from a shortcut, while it should be when starting from the Menu entry or a Tile – Jimi Aug 19 '23 at 15:22

0 Answers0