Skip to content
⌘ NSIS Forum Archive

how to log the detailprint..

4 posts

JCD29#

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..
goldy1064#
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