View Single Post
Old 27th February 2013, 08:13   #2
MSG
Major Dude
 
Join Date: Oct 2006
Posts: 1,892
You cannot call a function at compile time. You can however call an executable at compile time, using !execute or !system. So you can let your script run a compiled NSIS exe which writes "!define Foo bar" to an nsh file, and then you !include that nsh file after you !execute the exe.
MSG is offline   Reply With Quote