Jump to content
Ketarin forum

Restart program after update


Guest x2z
 Share

Recommended Posts

I have Ketarin setup as updater to all my portable programs. Some of them run 24/7 and I would like to kill/exit program if it is running and download new version, then restart killed program if it was running before. 

Is such a thing possible with Ketarin?

Link to comment
Share on other sites

  • 4 weeks later...

Yes, and it's actually quite easy. You can use either the Setup instructions or the after-updating script to perform your installation. The general process is:

  1. exit program
  2. install update
  3. start program

How you exit the program depends on the program. Some you can trigger from outside so it can exit gracefully, others you'll end up using taskkill or pskill. This can be accomplished with taskkill using "taskkill.exe /IM excel.exe" where excel.exe is the program you need to kill. To start the program again just execute it (usually you'll want to use the full path).

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.