Old 13th May 2003, 07:38   #1
hstanciu
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
hstanciu is offline   Reply With Quote
Old 13th May 2003, 09:56   #2
Sunjammer
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.
Sunjammer is offline   Reply With Quote
Old 13th May 2003, 10:08   #3
hstanciu
Junior Member
 
Join Date: May 2003
Posts: 16
OK. But why is this so?

H
hstanciu is offline   Reply With Quote
Old 13th May 2003, 10:20   #4
Sunjammer
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.
Sunjammer is offline   Reply With Quote
Old 13th May 2003, 10:31   #5
hstanciu
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
hstanciu is offline   Reply With Quote
Old 14th May 2003, 10:57   #6
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
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
kichik is offline   Reply With Quote
Old 14th May 2003, 10:58   #7
TGS
Junior Member
 
TGS's Avatar
 
Join Date: May 2003
Posts: 2
Thanks
TGS is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump