Bladelogic expects a 0 exit code as a success. If the install is successful you can put something like the below as your install command in the depot object:
Setup.exe (your install command)
there is a way to re-map the return codes but it involves using the blcli.
1 of 1 people found this helpful
It might be better to check the error code. There might be a better way to do this in BL, but I don't know it
The code to check the exit status will depend on your OS / version, but this might help in windows:
if errorlevel 1 (
echo "Exit code of 1 was given"
exit /b 0
exit /b %errorlevel%
otherwise just adding EXIT 0 will *always* show a successful completion - regardless of the error code.
I hope this helps!