My installer uses ShowInstDetails show so all actions are shown in a list control during the installation.
How can I store these actions in a file to see after the installation? Is it possible without recompiling NSIS (I've read a bit that for some logging purposes NSIS recompilation is needed)?
How to get installation log into file?
5 posts
Here are some options for dumping the log to a file:
Sorry for my beginners question: I don't really understand how to use the logging function - where exactly (what section etc) do I place the code, and how do I set the logfile path and name?
Thanks
Thanks
Section "-a hidden section"
Push "$INSTDIR\file.log"
Call DumpLog
SectionEnd
The Function's code should stay outside the Section.
-Stu
Push "$INSTDIR\file.log"
Call DumpLog
SectionEnd
The Function's code should stay outside the Section.
-Stu
Originally posted by Afrow UKBlack art, it works!!
Section "-a hidden section"
Push "$INSTDIR\file.log"
Call DumpLog
SectionEnd
The Function's code should stay outside the Section.
-Stu
Thanks!