Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 25th April 2009, 03:42   #1
dong
Junior Member
 
Join Date: May 2007
Posts: 28
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"
dong is offline   Reply With Quote
Old 25th April 2009, 04:55   #2
Animaether
Major Dude
 
Join Date: Jun 2001
Posts: 1,173
I'm presuming szMyFontDir is a variable.

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


If it's a define..

code:
WriteRegStr HKLM "Software\MyFonts\" "${szMyFontDir}" "$INSTDIR\Fonts"
Animaether is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump