I have a UWP - Desktop Bridge app (published on the Windows Store) which I want to extend with the possibility to run the win32 process through the Windows Task Scheduler (at a configurable time).
To add and modifying an entry in the task scheduler I suppose that I can simply launch the win32 process and interact with the scheduler from there.
The issue I really have is that I don't see any possibility to remove the scheduler entry when the user uninstalls the app. As far as I know there is no trigger coming into my desktop app when it is being uninstalled.
Any suggestions about this?