Compile script while compiling script :)
hello.
got another problem. i want to compmile a script. but therefore i need defines, that will be created by another script. this script (after beeing compiled and executed) collects information in silent-installer-mode and writes them down to nsis-header-file.
the nsis-header-file will be included by the first script, and everything goes on.
but now, i want to start the compilation of this script by the !system command, then, when the compiler returns 0, execute the file, and at least include the header.
but this code doesn't work:
!system "${NSISDIR}\makensis.exe '${Source_Files}\maps\mapconfig.nsi'" = 0
!system "${Source_Files}\maps\mapconfig.exe" = 0
!include "${Source_Files}\maps\mapconfig.nsh"
any solution, or will i have to precompile the config-application, and only launch it at compiletime of the first script?