![]() |
#1 |
Junior Member
Join Date: May 2003
Posts: 16
|
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 |
![]() |
![]() |
![]() |
#2 |
Major Dude
Join Date: Jun 2002
Location: Swindon, UK
Posts: 559
|
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.
|
![]() |
![]() |
![]() |
#3 |
Junior Member
Join Date: May 2003
Posts: 16
|
OK. But why is this so?
![]() H |
![]() |
![]() |
![]() |
#4 |
Major Dude
Join Date: Jun 2002
Location: Swindon, UK
Posts: 559
|
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.
|
![]() |
![]() |
![]() |
#5 |
Junior Member
Join Date: May 2003
Posts: 16
|
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 |
![]() |
![]() |
![]() |
#6 |
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
I have added a more informative note to the docs in the latest CVS version.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
![]() |
![]() |
![]() |
#7 |
Junior Member
Join Date: May 2003
Posts: 2
|
Thanks
|
![]() |
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|