That's the answer I was looking for! When we call wucheck.exe from within a SetupBuilder generated exe, the result code is in the SB ErrorCode variable. Sorry I did not make this setup clear in my original question.

Since we are programming in Visual dBase and it is not trivial to run EXE files from dBase if you are concerned about the return codes, we just build utility routines in SB and let them handle the wucheck stuff for dBase. Thanks for your answer, now I am off to modify my SB wucheck utility.

-O. D.-