Kinook Software Forums

Go Back   Kinook Software Forums > Visual Build Professional > [VBP] General Discussion

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 12-28-2006, 01:26 PM
teognost teognost is online now
Registered User
 
Join Date: 05-25-2004
Location: Prague,Czech Republic
Posts: 182
How to search for a keyword in VBP log file

I have some IShield actions recording their output in VBP project log.
Basically I need to search for keyword 'warning -5000' into VBP log file -if found then an email should be sent telling there were warnings during IShield compilation process.Any idea how can I do this?
Reply With Quote
  #2  
Old 12-29-2006, 07:59 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 5,754
Add a Send Mail step after the InstallShield step with a conditional build rule of
[InStr(vbld_AllMacros()("LASTSTEP_OUTPUT").Value, "warning -5000") > 0]
is true
Reply With Quote
  #3  
Old 12-29-2006, 11:15 AM
teognost teognost is online now
Registered User
 
Join Date: 05-25-2004
Location: Prague,Czech Republic
Posts: 182
Thanks a lot-this is the easiest way and it works perfectly!
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 12:09 PM.


Copyright 1999-2019 Kinook Software, Inc.