Archive: Copy Installer to Installdir


Copy Installer to Installdir
Hello,

I want to copy my Installerfile to the $INSTDIR of my Programm. But I cant use >> File "Installer.exe" << because it doesnt exist when I compile. So I have to compile 2 times. One time without the File command ond one time with. Is there any better way?

Thanks


Hi

simple use the CopyFiles command

CopyFiles "$EXEPATH" "$INSTDIR\*.*"

This is described in the NSIS documentation

thank you very very much