Skip to content
⌘ NSIS Forum Archive

How to use Multiple Scripts

3 posts

cam2009#

How to use Multiple Scripts

Hello

I made one long NSIS script.

I would like to split it into several scripts.
Create header file where I can declare variables.
Functions will go into separate files.

Can you point me to the documentation where it is described?
Or any example would be appreciated.

Thanks
nsnb#
Originally Posted by cam2009 View Post
I would like to split it into several scripts.
Create header file where I can declare variables.
Functions will go into separate files.

Can you point me to the documentation where it is described?
Or any example would be appreciated.
It's really up to you how you want to divide your script into multiple files/modules. You simply use the directive !include to do so. Documentation: