Bug? in CreateShortcut
I'm putting this line in my installer:
CreateShortCut "$DESKTOP\City of Heroes.lnk" "$INSTDIR\PatchClient.exe" "" "$INSTDIR\CityOfHeroes.exe" 0
And it seems in the 3rd parameter, the variable $INSTDIR is not being expanded out.. the .lnk file has "%ProgramFiles%\City of Heroes\CityOfHeroes.exe" for the Icon field, which Windows doesn't like and complains about. I don't know if this is something wrong in NSIS or if I'm doing something wrong, or if it's Windows' fault (it's always more fun to blame Windows ;).
It seems if I do not give an explict path, (take out the $INSTDIR) it works, so perhaps I'll just do that (but I vaguely remember this working right in an older version of NSIS, although I might just be crazy).
On a side note, is this the proper medium to be reporting possible bugs, or should I use the bug tracker in SourceForge?