Archive: NSIS_CONFIG_LOG error


NSIS_CONFIG_LOG error
Hello!
I searched the archive but I didn't found an answer. I want to log my
operations, so I said:

!define NSIS_CONFIG_LOG "c:\install.log"
LogSet on

but the compiler bites back:

!define: "NSIS_CONFIG_LOG"="c:\install.log"
Error: LogSet specified, NSIS_CONFIG_LOG not defined.


I tried to put this in different parts of the script, but no success.
I have to add some define or something?

Thank you for your work,
H


The logging commands are not compiled into NSIS by default, you have to enable the logging in the source code and recompile makensis.exe using a C/C++ compiler.


OK. But why is this so? :)

H


It keeps the size of the exe header down so that your final installer is as small as possible. By default NSIS coders wanted NSIS installers to be the smallest they can make them.


I didn't saw in documentation nothing about compileing the NSIS sources to make possibly the logging, or it exist already?

If not, maybe you should add it.

Thanx for your time,
H


I have added a more informative note to the docs in the latest CVS version.


Thanks