Jump to content
Ketarin forum
Guest x2z

Restart program after update

Recommended Posts

Guest x2z

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?

Share this post


Link to post
Share on other sites

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).

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • 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.