I'm looking to add a log file to our installer. Is there something built in to either the CustomActions or Wix maybe?
I'd like to debug installer issues by viewing a log file and maybe writing progress and errors to that file.
I'm looking to add a log file to our installer. Is there something built in to either the CustomActions or Wix maybe?
I'd like to debug installer issues by viewing a log file and maybe writing progress and errors to that file.
Windows Installer will create a log file if you want one, and that contains everything you're likely to need to know about the progress of the install. See the MsiLogging property and the command line msiexec options /l*vx
Unless there is something specific you think is missing from that log, it's not clear what else to say. If you have an issue with custom action logging, you can use MsiProcessMessage() or session.Message and equivalents to add your logging data to the standard MSI log. Note that a custom action is a call into your code from the running install, and you can log what you want to log, but custom actions can't monitor the entire install.