Jump to content
Ketarin forum

Detect failed installation (exit codes)


lujomu
 Share

Recommended Posts

I read in the Wiki (http://wiki.ketarin....update_commands) that exit codes can be used to determine the success/failure of the pre-update commands. So I assumed this would also work on the individual application setup scripts, but no matter what I do, the insallation is always reporterd as successful.

 

E.g.: I added a new application entry, gave it the name "TEST APP" and created a setup (batch-)script with the single line

exit 1

I also tried other exit codes, but the installation is always reported as successful.

 

Am I missing something?

Link to comment
Share on other sites

Just so I understand you correctly, you used the 'exit 1' within the "pre-update" script for an individual app and it continued to download the application?

 

Or are you saying that you used 'exit 1' in the *setup* script?

 

The 'exit' behavior only applies to the pre-update scripting.

Link to comment
Share on other sites

Or are you saying that you used 'exit 1' in the *setup* script?

Yes, that's what I meant. Sorry if I wasn't clear, I dont't use a pre-update script at all.

 

The 'exit' behavior only applies to the pre-update scripting.

Ok, that answers my question then, thanks!

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.