Hello guys,
Can you advise me how to pass log file specified in the MSI arguments (e.g. /l*v "c:\log_filename.log) to the .NET custom action /LogFile parameter?
I'm afraid that the log file path specified in the MSI command line cannot be obtained dynamically during the install process. Also, even if you could use that path, the .NET custom action cannot write in the installation log.
This parameter allows you to specify a log file for the .NET custom action. You can find more details about the predefined parameters in the Edit .NET Custom Action article from the User Guide.