Is there anyway to get msiexec to echo to stdout instead of logging to a file

Posted by mrmrcoleman on Server Fault See other posts from Server Fault or by mrmrcoleman
Published on 2012-10-03T19:30:54Z Indexed on 2012/10/05 3:40 UTC
Read the original article Hit count: 579

Filed under:
|
|
|

As part of a continuous delivery pipeline I'd like to install an msi on a given machine. msiexec plus psexec does this perfectly, but it seems that msiexec can only log to a file and I need it to log to stdout/stderr.

Right now, to get the output back into our CI software I'll have to add a second step to echo the contents of the log, which seems a bit pointless.

Has anybody faced this issue before (and overcome it?)

Thanks in advance for any help here.

Mark

© Server Fault or respective owner

Related posts about logging

Related posts about stdout