Kinook Software Forum

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

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 12-28-2006, 12:26 PM
teognost teognost is online now
Registered User
 
Join Date: 05-25-2004
Location: Prague,Czech Republic
Posts: 200
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, 06:59 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,013
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, 10:15 AM
teognost teognost is online now
Registered User
 
Join Date: 05-25-2004
Location: Prague,Czech Republic
Posts: 200
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 10:35 AM.


Copyright © 1999-2023 Kinook Software, Inc.