Archive: how to log the detailprint..


how to log the detailprint..
dear all

I use the detail print to follow my installer and debug it...it is not efficient... could you give me the possibility to write in a log files without recompiling the NSIS exe...

thks a lot..


You can get the logging build from http://nsis.sf.net/Special_Builds.

-Stu


is there an other solution ?


You could create a macro of each command, which would log the event.


!macro SetOutPath _PATH
; logging done here
SetOutPath `${_PATH}`
!macroend
!define SetOutPath `!insertmacro SetOutPath`
...
Section Blah
${SetOutPath} "$INSTDIR"
...
SectionEnd