Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-16-2009, 02:03 PM
abcdetech abcdetech is online now
Registered User
 
Join Date: 04-30-2008
Posts: 18
LASTSTEP_STATUS, executing next step based on previous step

The easiest way to execute the second step based on previous step is to use %LASTSTEP_STATUS%



I have two steps:

1. Make VS2008
2. Copy Files with Build Only if %LASTSTEP_STATUS% is equal to 0.

This will work.

Now, in step 1 I've added - Build "Failure Step Something" on failure.

Now if Step 1 fails, it goes into Failed steps and %LASTSTEP_STATUS% gets reset to 0. So Step 2 will be executed no matter what; even if Step 1 failed. This is not what I want.

How to execute Steps 2-N only if Step 1 in Project Steps succeeded?

Manipulating with temp macros, setting them up, resetting - it's a pain. Perhaps there is a better way with System Macros to do this?

thank you
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 11:18 PM.


Copyright © 1999-2023 Kinook Software, Inc.