We are working on a WPF desktop app packaged using the Desktop Bridge MSIX wrapper, and we need it to detect and automatically apply updates when they are detected, restarting the software.
Research so far suggests it might be possible to use PackageManager from UWP to get hold of the package and check like that, or creating a new "Windows Runtime Component" project with an IBackgroundTask
that listens to the windows.updateTask
extension.
I don't know which one is the right one, what's going to be easiest or most reliable. Has anyone had to do this and knows what works?
Thanks