ExePackages such that I can troubleshoot when errors occur.
Add a new
BurnExeProtocolType and make it the default for ExePackage/@Protocol:
<xs:enumeration value="redirectConsoleToLog"> <xs:annotation> <xs:documentation> Redirect the standard output and standard error to a log file. The path of the log file is controlled by the LogPathVariable and RollbackLogPathVariable attributes. </xs:documentation> </xs:annotation> </xs:enumeration>
Making it the default
Protocol is debatable.
ExePackage process does not close its standard output and standard input before exiting, then Burn will hang.
ExePackage may output sensitive information that shouldn't be logged.
However, Burn was designed to enable troubleshooting as much as possible with default settings so this is keeping in line with that design.
This functionality could have been added as a separate attribute.
But since all of the existing
BurnExeProtocolTypes already handled creating a log file, it didn't make sense to have the ability to add this on top.