Archive: How do I want to connection 2 substring = 1 string ?


How do I want to connection 2 substring = 1 string ?
My code below warning error because i conection 2 string. In NSIS How do i want to connect string ?. help me ?
WriteRegStr HKLM "Software\MyFonts\" szMyFontDir "$INSTDIR"+"\Fonts"


I'm presuming szMyFontDir is a variable.

WriteRegStr HKLM "Software\MyFonts\" "$szMyFontDir" "$INSTDIR\Fonts"


If it's a define..

WriteRegStr HKLM "Software\MyFonts\" "${szMyFontDir}" "$INSTDIR\Fonts"