Hi, I think the problem arises when "LogSet on" is used several times (e.g. to turn on logging in several functions). I solved it with this macro that I use ("!insertmacro LogSetOn") instead of "LogSet on" :
!macro LogSetOn
${If} ${FileExists} $INSTDIR\mylogs
LogSet on
${Else}
Push $INSTDIR
StrCpy $INSTDIR $INSTDIR\mylogs
SetOutPath $INSTDIR
LogSet on
Pop $INSTDIR
SetOutPath $INSTDIR
${EndIf}
!macroend
|