ChocJunkie
6th October 2009 11:50 UTC
Error Level when installer ends
I've tried to set the error level for my installer using
Function .onInstFailed
SetErrorLevel 12
FunctionEnd
If I've understand the manual correct, SetErrorLevel should set the status/exit code of the installer!?
Now I'm trying to get the error level displayed on console using
echo %ERRORLEVEL%
It doesn't work, but I dont know why.
Thanks for any help.
CJ
demiller9
6th October 2009 12:34 UTC
What are you doing to make .onInstFailed execute? Just for a test, try putting the SetErrorLevel in another section/function.
ChocJunkie
6th October 2009 13:04 UTC
Thanks for your reply. :)
I've continued programming and I don't know what I've changed, but everything works fine now - also inside .onInstFailed...
@Mods
Thread can be deleted.