Hello all,
How to modify the log file name and file path?
The default file name currently is install.log, the default path $INSTDIR.
THX🙂
How to modify the log file name and file path?
4 posts
The filename is hardcoded, you must recompile NSIS or hex-edit the stubs to change it.
Thank you for reply.Originally Posted by Anders View PostThe filename is hardcoded, you must recompile NSIS or hex-edit the stubs to change it.
I want to install and uninstall all the different logs.
Specify the storage path.
It is easy to see when problems arise.
Is it possible to support this feature in future releases?
Thank you!
I modified the [Ui.c] and recompiled to meet my needs.
Line 166:
Line 166:
mystrcat(addtrailingslash(mystrcpy(g_log_file,state_output_directory)),_T("install.log"));This allows you to specify a path using [SetOutPath] before [LogSet on].