Archive: dynamically add version number to "name"


dynamically add version number to "name"
Hi,

do you know how I can add a generated string to the "name" attribute ?
My goal is to add the version number to the name attribute dynamically in the form like:

name "MY SOFTAPP ${VERSION}"

with !define VERSION "$1" (or something similar).

Any ideas?

Thanks!
Michael


It you want to put the define in your script, put the define above the Name command and it will work.

It you want to set the define using a command line parameter of the compiler, see http://nsis.sourceforge.net/site/ind...&tx_faq_faq=17.


Thanks for the help.

It worked ;-)

Cheers Michael