Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   Sequentially Compile Multiple Scripts? (http://forums.winamp.com/showthread.php?t=230794)

flyakite 12th November 2005 09:38

Sequentially Compile Multiple Scripts?
 
I have a couple of custom .exe tools written in NSIS that my main installer uses. I want to make sure that before my main script compiles the other tools compile, so that the exes are always as up-to-date as possible, since they all rely on a seperate .nsi file containing special defines/functions.

I'm using HM NIS Edit as well for editing and compiling, but if I have to compile some other way (via a batch file for instance) then I can switch, although a solution within HM NIS Edit would be nice.

I did search for an answer to this, and didn't come up with anything which surprised me, because I figured this efinitely would have been asked before.

kichik 12th November 2005 09:41

You can use the following in your main script to compile another script:
code:
!system '"${NSISDIR}\makensis.exe" anotherscript.nsi'


All times are GMT. The time now is 17:55.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.