Where I work one of our apps is a .NET Core WPF application that we switched over to using the desktop bridge recently. We have noticed that if a user creates a desktop shortcut or task bar shortcut for the app using the tile in the start menu and then launches the app from said shortcut, the app skips checking for updates (even though it is specified to check for updates in the .appinstaller file). It also seems that the app does not bother checking for updates in the background after the app is opened, since it remains at the same version after the user restarts it.
Note: The app does update and shows the prompt when launching the app from the start menu via either the live tile or the start menu entry. We have verified that all users and our development machines are all using Windows 10 version 1903.
This is an example of what the appinstaller's template file looks like:
<?xml version="1.0" encoding="utf-8"?>
<AppInstaller Uri="{AppInstallerUri}"
Version="{Version}"
xmlns="http://schemas.microsoft.com/appx/appinstaller/2018">
<MainBundle Name="{Name}"
Version="{Version}"
Publisher="{Publisher}"
Uri="{MainPackageUri}"/>
<UpdateSettings>
<OnLaunch HoursBetweenUpdateChecks="0" ShowPrompt="true" UpdateBlocksActivation="true"/>
<AutomaticBackgroundTask/>
<ForceUpdateFromAnyVersion>true</ForceUpdateFromAnyVersion>
</UpdateSettings>
</AppInstaller>
I asked about this on MS' MSIX GitHub repo, but they have not responded. At this point, we are wondering if anyone else here has run into this problem and if they were able to determine a workaround or way to solve it? Is there something we need to add to our .appxmanifest file or something else that we missed in the .appinstaller file?
Edit Same question on MSIX forums, where most likely MSFT will reply.
Edit 2
We also received a response from Microsoft regarding this on the Github repo and on the VS Developer Community. They said they are going to look into it. I'll update this again or post an answer from them when they have more information.