micahel
12th August 2003 12:57 UTC
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
Joost Verburg
12th August 2003 13:15 UTC
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.
micahel
12th August 2003 14:43 UTC
Thanks for the help.
It worked ;-)
Cheers Michael