Old 4th February 2009, 22:04   #1
stonkers
Senior Member
 
Join Date: Sep 2003
Posts: 192
NSIS 2.42 Special Build Won't Log

I just built a new buildmachine. I installed 2.42 and updated with the special build exe and stubs. Before I put special build here, the file wouldn't compile, but now it does. Now that they're compiling though, they won't create log files anymore. Any advise on troubleshooting this?

Thanks,
Eric

Eric
stonkers is offline   Reply With Quote
Old 5th February 2009, 02:41   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Try following what it's doing with the log file using FileMon. For what its worth, I've tested basic logging with the special build and it works fine for me. I've used 2.43, but nothing has changed in that area since 2.42.

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 7th February 2009, 05:34   #3
stonkers
Senior Member
 
Join Date: Sep 2003
Posts: 192
It never creates a log file.

Eric
stonkers is offline   Reply With Quote
Old 7th February 2009, 11:36   #4
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
What do you use to make it create the log?

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 8th February 2009, 04:54   #5
stonkers
Senior Member
 
Join Date: Sep 2003
Posts: 192
logset on
logset off

Eric
stonkers is offline   Reply With Quote
Old 8th February 2009, 10:55   #6
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
This works for me. Does it work for you?
code:
OutFile test.exe
Name test

InstallDir $TEMP

Section
LogSet on
SectionEnd


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 19th February 2009, 16:16   #7
stonkers
Senior Member
 
Join Date: Sep 2003
Posts: 192
Sorry I disappeared for a while. Crazy around here...

That runs fine but doesn't create any logs.

Eric
stonkers is offline   Reply With Quote
Old 21st February 2009, 17:44   #8
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Have you tried reinstalling?

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 2nd March 2009, 22:58   #9
stonkers
Senior Member
 
Join Date: Sep 2003
Posts: 192
I'll try reinstalling. If that doesn't work, I'll try moving back a version.

Eric
stonkers is offline   Reply With Quote
Old 2nd March 2009, 23:14   #10
stonkers
Senior Member
 
Join Date: Sep 2003
Posts: 192
I uninstalled, reinstalled (2.44 instead of 2.42), put the logging subz in (from nsis-2.44-log.zip), copied the makensis.exe from the special build over, and ran your test file again. That did the trick. Thanks kichik. If I ever get to Jerusalem, I'll buy you a cup of coffee.

Eric
stonkers 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