Skip to content

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

@catmanjan

Description

@catmanjan

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions