Skip to content
⌘ NSIS Forum Archive

Splitting an nsi script file

4 posts

williamsellick#

Splitting an nsi script file

Hi,

I am currently working on an installer which has become quite large (script wise: about 1600 lines) I was wondering if there was a way of splitting the nsi into smaller files so I could group the relevant functions together in the separte files.

Thanks,
William
Davion#
you can put functions you may use in more than one project,
or in many different versions of your install script without
changing them, into a header file (.nsh) and call them this
way - this can make your script a bit smaller.


greetz Dave
williamsellick#
Thanks for the advice, just trying to work through the project splitting up the functions.