C# WiX CustomAction Session.Log. Where can I find the log?

c#, wix

Solution

You will need to run your installer from the command line using msiexec.exe and then include the `L` command line option to specify where the logs are to be saved.

For example:

msiexec /i app.msi /l*v thelog.txt

For more information about msiexec's parameters see Command-Line Options

Problem

I am new to the WiX installer. I am using Session.Log to log some useful data for the process. ``` session.Log("Begin register the Vdds interface."); ``` But I am not sure where can find the log. Is there a default path where it logs? Or should I need to specify the path that I need to provide in installer .wxs file?

Original source

Related problems