Archive: Bug report - Name with ${SYMBOL} substitution


Bug report - Name with ${SYMBOL} substitution
Hi there,

When I try to compile the following:

!definePRODUCTNAME"libraries,driversandfonts"

Name${PRODUCTNAME}

then I got this error message

!define: "PRODUCTNAME"="libraries, drivers and fonts"
Name expects 1-2 parameters, got 4.
Usage: Name [/LANG=lang_id] installer_name
Error in script "D:\NSISTEMP\libpack.nsi" on line 10 -- aborting creation process

I am using NSIS 2.0b0 released on Dec-07-2002

Thanks for any help or suggestions!

Use:

Name"${PRODUCTNAME}"

Defining a value doesn't rid you of quoting it in case it has spaces in it.

Million thanks
to you, kichik