View Single Post
Old 23rd March 2012, 10:32   #2
MSG
Major Dude
 
Join Date: Oct 2006
Posts: 1,892
You can use the /D switch to supply a define to makensis: http://nsis.sourceforge.net/Docs/Chapter3.html

In your script, then use
!ifdef yourdefine
some code
!else
some other code
!endif

http://nsis.sourceforge.net/Docs/Chapter5.html#5.4.3
MSG is offline   Reply With Quote