Old 12th November 2005, 09:38   #1
flyakite
Member
 
Join Date: Dec 2003
Location: Chicago
Posts: 50
Send a message via AIM to flyakite Send a message via Yahoo to flyakite
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.
flyakite is offline   Reply With Quote
Old 12th November 2005, 09:41   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
You can use the following in your main script to compile another script:
code:
!system '"${NSISDIR}\makensis.exe" anotherscript.nsi'

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump