Archive: How to use Multiple Scripts


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


Originally posted by cam2009
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:

http://www.nullsoft.com/free/nsis/ma...m#compilerutil

http://www.fredshack.com/docs/nsis.html

Thanks!