Skip to content
⌘ NSIS Forum Archive

Bug report - Name with ${SYMBOL} substitution

3 posts

Kypec#

Bug report - Name with ${SYMBOL} substitution

Hi there,

When I try to compile the following:
!define PRODUCTNAME "libraries, drivers and fonts" 
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!
kichik#
Use:
Name "${PRODUCTNAME}" 
Defining a value doesn't rid you of quoting it in case it has spaces in it.