Reputation: 3205
In my current project, we are running clickonce applications from our main application. We have some tasks to perform once the clickonce app is ready (i.e. installed and run).
I'd like to know if there is a way to know when the clickonce has finished the installation and the program is ready.
I cannot modify the clickonce programs.
Thanks !
Upvotes: 0
Views: 161
Reputation: 12938
There's no great way, especially if you can't modify the ClickOnce apps.
Can you just poll for the process existence?
var processes = Process.GetProcessesByName("ClickOnceApp");
Upvotes: 1