Jump to content
Ketarin forum
shawn

"exit 3" doesn't run post-update command

Recommended Posts

This might be by design, but I hope not.

Using "exit 3" in the pre-download command doesn't run post-update command, though "exit 3" means:

Skip downloading, but update the "last updated" date of the application and mark as "update downloaded". Allows you to use an external download application to download the file, but still mark it as properly updated in Ketarin.

I just noticed that using "exit 3" hasn't been running my post-update command, so it hasn't been updating my external logging system. I really need it to be able to use the standard post-update command so that it'll allow updates to push the results to my server.

I don't want to have to maintain the post-update command in multiple locations ("global" plus in each pre-update command for those that use "exit 3").

I know it's possible to parse the post-update command from the database and inject it in the pre-update command using powershell, but I'd prefer to not have to use more than "exit 3" if possible. If necessary, I'm open to using "open 4" or any other exit code to preserve backward compatibility and offer post-update only to the new exit code.

Thoughts?

Share this post


Link to post
Share on other sites

Indeed, it has not been called yet in this case. I changed this for the next version though, so that it proceeds just as if the application has been downloaded normally.

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.