hstanciu
13th May 2003 07:38 UTC
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
Sunjammer
13th May 2003 09:56 UTC
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.
hstanciu
13th May 2003 10:08 UTC
OK. But why is this so? :)
H
Sunjammer
13th May 2003 10:20 UTC
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.
hstanciu
13th May 2003 10:31 UTC
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
kichik
14th May 2003 10:57 UTC
I have added a more informative note to the docs in the latest CVS version.
TGS
14th May 2003 10:58 UTC
Thanks