WindowsAppSDK-Samples icon indicating copy to clipboard operation
WindowsAppSDK-Samples copied to clipboard

Does anyone have a working example of using Restart API for Microsoft Store updates?

Open catmanjan opened this issue 2 months ago • 0 comments

I refer to https://github.com/microsoft/WindowsAppSDK-Samples/tree/main/Samples/AppLifecycle/Restart/cs-winui-packaged

Which is linked to from https://learn.microsoft.com/en-us/windows/apps/windows-app-sdk/applifecycle/applifecycle-restart#examples

The documentation implies that this Restart API could be used to handle software updates, but there is no full example of this being done, it seems that its actually not possible to update a running app via Microsoft Store and have the app restart itself?

Seems like an oversight.

catmanjan avatar Nov 10 '25 10:11 catmanjan