Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   Script Parameters (http://forums.winamp.com/showthread.php?t=250325)

gurrie 4th July 2006 10:00

Script Parameters
 
Hi All,

Is it possible to pass parameters to a NSIS script at compile time? I need to pass a version number to the script so that I can change the name of the .exe file etc.

Any help/examples would be greatly appreciated.

Brian

Afrow UK 4th July 2006 11:44

http://nsis.sourceforge.net/Docs/Chapter3.html#3.1.1

/DMyDefine=Value

If you want to get the version number from an executable, see
http://nsis.sourceforge.net/Invoking...n_compile-time

-Stu

gurrie 4th July 2006 20:12

Many thanks


All times are GMT. The time now is 04:52.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.