Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

c#

wix

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?

like image 357
Keshavdas M Avatar asked Jun 04 '14 05:06

Keshavdas M


1 Answers

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

like image 192
rfernandes Avatar answered Sep 28 '22 03:09

rfernandes