Detecting running files when I uninstall ClickOnce Program

Aceldama
1
Reputation point
Hello, I may not be able to communicate the meaning properly using a translator.
I came over from this link.
I am distributing the program through [ClickOnce].
- After I run the program...
- Uninstall the program from the [Control Panel].
- It is not uninstalled from "AppData\Local\Apps\2.0" because the program is turned on.
This is the problematic way.
To solve this problem...
- When I uninstall from Control Panel, I must exit the program from [ClickOnce] itself.
or - When I uninstall from Control Panel, I must start [My Custom Uninstall Program].
Which of these two methods does Winform support?