Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   How to search for a keyword in VBP log file (https://www.kinook.com/Forum/showthread.php?t=2217)

teognost 12-28-2006 12:26 PM

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?

kinook 12-29-2006 06:59 AM

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

teognost 12-29-2006 10:15 AM

Thanks a lot-this is the easiest way and it works perfectly!


All times are GMT -5. The time now is 12:07 PM.


Copyright © 1999-2023 Kinook Software, Inc.