MarosK
Jan 05, 2020Iron Contributor
Status:
Working on it
Start update-process by clicking on application taskbar button or desktop shortcut
Currently MSIX deployed desktop application (eg. Winforms or WPF) are automatically updated only when app is launched by Start menu item. When user launch app by clicking on app taskbar button or on ...
thibaudcomte
May 25, 2020Copper Contributor
Ok so we've figured out that the update mechanism works when app is launched from the taskbar or desktop shortcut (and start menu obviously) if the package includes the following declaration :
<UpdateSettings>
<OnLaunch
HoursBetweenUpdateChecks="0" />
</UpdateSettings>
https://docs.microsoft.com/en-us/uwp/schemas/appinstallerschema/element-onlaunch
But leaving just
<UpdateSettings>
<OnLaunch />
</UpdateSettings>
Won't update if not started from the start menu...
It seems to us the official documentation is lacking in that area...