I am having problems with CreateShortcut: Difference between revisions
From NSIS Wiki
Jump to navigationJump to search
(Created page.) |
(No difference)
|
Revision as of 04:05, 31 July 2005
Make sure you have separated the parameters from the target file.
For example, if you want to create a shortcut to notepad with $INSTDIR\Readme.txt as a parameter don't use:
CreateShortcut "myshortcut.lnk" "notepad.exe $INSTDIR\Readme.txt"
Use two separate strings:
CreateShortcut "myshortcut.lnk" "notepad.exe" "$INSTDIR\Readme.txt"