Reputation: 835
Is there a way for a UWP to have a self uninstall function?
Scenario is a LOB UWP app the we want to be uninstalled remotely if user has been marked unauthorized.
Upvotes: 2
Views: 140
Reputation: 39112
Such an API is not currently available. If it were, its home would be the StoreContext
class which currently hosts the ability to uninstall optional packages ("DLCs"), but does not offer the same for the app itself.
Upvotes: 1