Old 8th October 2013, 12:16   #1
Weatherfeather
Junior Member
 
Join Date: Oct 2013
Posts: 1
silent NSIS installer with logfile

Hi all,

I'm having a silent installer which calls many command line applications with exectolog. Unfortunately, sometimes problems occur which is why I need to log the output to a logfile.

I already downloaded a special build and added the line "LogSet on", which creates the installer.log file. But unfortunately the output of the exectolog does not appear in the logfile.

Is there any possibility to write any output which is normally send to the installerwindow to the logfile?

Thank you in advance.
Weatherfeather is offline   Reply With Quote
Old 8th October 2013, 15:06   #2
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
nsExec::ExecToLog writes directly to the output window via windows messages (LVM_INSERTITEM to be exact). It cannot write to install.log for you whether you are in silent mode or not. Instead I would recommend using the ExecDos plug-in with a callback function and use LogText to write the output to install.log yourself.

Stu
Afrow UK 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