2 Replies Latest reply on Nov 5, 2017 9:41 AM by Steve Gibbs

    regex - how do I do it

    Jason Lehman

      I have several msiexec generated install log files that I need to read and look for success or failure.  Then record success or failure and the reason stated the log for the failure so I can act on the failures.  I am thinking regex is what I want but I have never played with regex. 


      The lines are


      For failure

      MSI (s) (A0:FC) [15:01:17:533]: Product: Sophos SafeGuard Client -- Please install .NET Framework Version 4.5 or higher!



      For success

      MSI (s) (D0:24) [15:03:03:267]: Product: Sophos SafeGuard Client -- Installation completed successfully.