I have an executable CA that, due to resource constraints, needs to remain an
executable for the time being. I inherited this CA from somebody else in my
company and I'm both not that familiar with its language (C#, but I do know
C/C++) and not looking to invest a lot of time in fixing it. The issue is
that I need to log the progress of the CA to a log file which is located in
an accessible location (such as the same place as the MSI log) and is also
named similarly to the MSI log, so it would be easy for the customer to
locate it for attaching to an email to tech support. 

Is there an easy way to programmatically (C#) determine the path and
filename of the log file for the current MSI session? The only thing that
I've come up so far with is to look in the %TEMP% location and grab the
newest MSI*.log file, but I was hoping for something better. As I mentioned
I don't write C# so if you know of a solution and would be willing to
provide an example for me, it would be very appreciated.

Thanks,
-Jared

-- 
View this message in context: 
http://www.nabble.com/Determine-path-of-MSI-log-from-within-executable-CA--tf4309528.html#a12268399
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to