Archive: compiling multiple .nsi files into one executable


compiling multiple .nsi files into one executable
My install script is getting very large and I would like to break it into parts, and compile into the same (single) .exe file. How?

thanks,
mdm


You can use !include to include another script file.


hello,

You can divide your script into relevant chunks and then save each script with an extension of .nsh

Like Joost mentioned, you then !include those .nsh files.

You can also pull up some very cool tricks with !macro and !insertmacro. !macro holds pieces of code and !insertmacro will insert those pieces into the script where ever you reference it.

This can help you in removing the redundancy from your script.

Good luck!