Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 4th March 2015, 13:57   #1
coderwolf
Junior Member
 
Join Date: Feb 2015
Posts: 25
Quote:
Originally Posted by coderwolf View Post
It seems the following code just cuts off the part after the -conf parameter. I am guessing that the $\" is actually being taken as a parameter break for CreateShortcut instead of passing it to the final Shortcut parameter.
It is also cutting off the "-" part. I am not sure why on this one.
Not quite so sure why, but it appears that creating a Var for it and building the string in a StrCpy worked.

Quote:
StrCpy $ShortcutParameter "-conf $\"$InstDir\DosConfig.conf$\""
CreateShortCut $InstDir\Prog.lnk "$PROGRAMFILES\DOS\DOSEmu.exe" "$ShortcutParameter"
coderwolf is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast 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