PDA

View Full Version : Wise 9.02 - failed, but step succeeded


aaronlawrence
05-13-2011, 01:19 AM
We had an error in our Wise script. It caused compilation to fail.
VBP didn't seem to notice.
Is this a Wise issue?

kinook
05-13-2011, 06:42 AM
The Wise action will fail if the Wise compiler returns a non-zero exit code. Apparently it is not doing that when compilation fails. You would need to contact the makers of Wise regarding that. A workaround might be to parse any output from the step (or check for the timestamp of the installer file) in the vbld_StepDone script event to determine success/failure and update Step.BuildStatus accordingly.
http://www.kinook.com/VisBuildPro/Manual/scriptevents.htm