Archive: Problem with File Join 1.4


Problem with File Join 1.4
Hy I use the script file join 1.4 ( http://nsis.sourceforge.net/archive/...nstances=0,311 ). My problem is that there comes always the message invalid command ($FileJoin) can anybody show what I make wrong?


Just put the whole function in your script before the first use of ${FileJoin}. In your case somewhere before the first section.


Name "Output"
OutFile "Output.exe"

!include "TextFunc.nsh"
!insertmacro FileJoin

Section
${FileJoin} "C:\a.log" "C:\logs\b.log" "C:\a.log"

IfErrors 0 +2
MessageBox MB_OK "error"
SectionEnd
Script use header