Closed rubiktubik closed 7 months ago
I asked one of the engineers on this feature. Paraphrasing his comments:
When <UpdateSettings>
isn't present, the app shouldn't be configured to check for updates. However, if the user clicks on the AppInstaller file or goes through a repair, the most recent version of the app from the AppInstaller file will be installed. If you have a repro of the issue, it would be helpful to have a Feedback Hub bug filed under "Developer Platform" -> "App deployment".
To ensure that the app doesn't update, my advice would be to have a different AppInstaller file for each version of the app and to continue to not include <UpdateSettings>
. If the AppInstaller file is never updated, the app shouldn't update.
Thank you very much for the fast and detailed answer!!
We are using Target-Version "Windows 10 1803" and Min-Version "Windows 10 Fall Creators Update".
and "Microsoft (R)-Build-Engine, Version 16.9.0+57" which is still producing appxbundle instead of msixbundle could this be an issue?
The file extension should not be an issue.
The file extension chosen by the build engine is not because it is outdated, but because you are targeting an older OS build which does not support the new file extension. The Supported platforms doc page shows when the .msixbundle format was introduced. As you can see, "Windows 10 Fall Creators Update" (1709) did not support .msixbundle. (I'm linking to an older version of the actual doc page because the 1709 was removed from the docs as it is no longer supported.)
Ok i understand, i will try to create a repro. And in the meantime i will use your workaround suggestions.👌
Hello i'am building and package an uwp-app with appx and distribute with a website and an .appinstaller-file:
as you can see, there is no
updateSettings
-Section in this file.I want to prevent auto-updating my app. So i removed this section.
My problem is that despite this section is missing, my app is auto-updating itself why? And how i can prevent this?
My msbuild task looks like this:
Best regards rubiktubik