cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
hjsunj
Level 6

How to get an exit code from installation

How can I return an exit code from installation?
I've found there's an exit() function available, but I can't give any exit code to the function as a parameter.
So what should I do? Many thanks.
Labels (1)
0 Kudos
(2) Replies
Happy_Days
Level 7

Use Return() function to return a value from the function. If you want to exit/abort, use the Retrun function inside OnExit or OnAbort event functions.
0 Kudos
hjsunj
Level 6

It works well, Thanks a lot.
0 Kudos