Important Notice: On February 29th, this community was put into read-only mode. All existing posts will remain but customers are unable to add new posts or comment on existing. Please feel to join our Community Discord for any questions and discussions.

Install only if application isn't currently running

Just wondering if anyone knows how to write a test such that an installer will only run if a particular executable isn't currently running?

Have an application that has regular updates released. Unfortunately I can't just kill any currently running instances as it could be in the middle of a multi-day modelling job and the users will get a little upset if I interrupt their work like that.

Luckily they're not running the app 24x7 so I just need to be able to test for those times when the app isn't running and then run the updater.

0

Comments

1 comment
Date Votes