Lines in log for InstallAware build are truncated

I’m using FinalBuilder 6.2.0.1074 and when I get an error running an InstallAware 8.01 script, the error line in log file is truncated after 117 characters. If I run the miabuild.exe from a CMD shell, I get the full error message. How can I increase the length of the line to see the entire error message?

Hi Chris

Not sure what might be causing this. We’re just capturing std out in the same manner we do with every other application we execute. Occasionally we have issues with applications not flushing their stdout buffers before terminating, but that’s pretty rare. One thing you can try is to run the installaware compile from the command line and log the output to a file, then we can check the file with a hex editor to see if there is anything our output parser might balk on.

Hi Vincent,

When I run InstallAware command line compiler without redirection, it displays the full error message. If I redirect the output to a file or pipe it, it gets truncated. No funny characters in the stream, it just ends. It looks like the problem is with InstallAware and I’m going to punt it over to them.

Since posting this message, I did file a bug and they acknowledged the bug and then closed it because in their own words: “We’re aware of this issue, however have been unable to ensure a way to flush out the data on application termination. If you have any ideas, greatly appeciated.” Now I have research how flush a buffer and sent that back to them. I love Mondays…

thanks!