View Single Post
  #2  
Old 09-24-2014, 05:47 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,003
Either

1) In the step's vbld_StepDone script event, store the value like so:

Code:
vbld_TempMacros.Add "TEMP_EXIT_CODE", vbld_TempMacro("RUNPROGRAM_EXITCODE").Value
http://www.kinook.com/VisBuildPro/Ma...riptevents.htm
http://www.kinook.com/VisBuildPro/Ma...gramaction.htm
http://www.kinook.com/VisBuildPro/Ma...scriptmisc.htm

or

2) Add a Set Macro step following the step that runs the program and set a temp macro's value to %RUNPROGRAM_EXITCODE%

http://www.kinook.com/VisBuildPro/Ma...acroaction.htm
Reply With Quote