How do I create a log file for an .MSI or .EXE?