Skip to content
⌘ NSIS Forum Archive

Copy Installer to Installdir

3 posts

aemik#

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
thek#
Hi

simple use the CopyFiles command
CopyFiles "$EXEPATH" "$INSTDIR\*.*"
This is described in the NSIS documentation