PDA

View Full Version : Splitting an nsi script file


williamsellick
30th November 2005, 08:16
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
30th November 2005, 09:00
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
30th November 2005, 09:45
Thanks for the advice, just trying to work through the project splitting up the functions.

Afrow UK
30th November 2005, 15:33
Use !include

-Stu