Yurik
13th July 2005 15:15 UTC
How to get installation log into file?
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)?
Homer1969
13th July 2005 15:38 UTC
Here are some options for dumping the log to a file:
http://nsis.sourceforge.net/wiki/Cat...ging_Functions
netslt
13th July 2005 19:26 UTC
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
Afrow UK
13th July 2005 23:14 UTC
Section "-a hidden section"
Push "$INSTDIR\file.log"
Call DumpLog
SectionEnd
The Function's code should stay outside the Section.
-Stu
Yurik
14th July 2005 12:09 UTC
Originally posted by Afrow UK
Section "-a hidden section"
Push "$INSTDIR\file.log"
Call DumpLog
SectionEnd
The Function's code should stay outside the Section.
-Stu
Black art, it works!!
Thanks!