cam2009
24th September 2010 21:39 UTC
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
24th September 2010 21:52 UTC
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#compilerutilhttp://www.fredshack.com/docs/nsis.htmlcam2009
24th September 2010 21:57 UTC
Thanks!