I wrote a NSIS-script that creates an exe which creates a new folder and copies files into the folder. Is there a way to include the files into the exe?
Name "First Installer"
OutFile "firstinstaller.exe"
InstallDir C:\dev\NSIS\Scripts\FirstInstaller
Section "move test.exe"
CreateDirectory $INSTDIR\test
SetOutPath $INSTDIR\test
CopyFiles $EXEDIR\test.txt $EXEDIR\test
SectionEnd
I now want to include the test.txt into the exe! Now you only have to start the exe and the test.txt is extracted from the exe into the created folder!