I am using MakeNSIS v2.0b3.
Using the basic script for creating a shortcut:
---------------snip-------------------------
CreateShortCut "$SMPROGRAMS\${MUI_STARTMENUPAGE
_VARIABLE}\Fun.lnk" "$INSTDIR\jars\Fun.jar" \
parameters "$INSTDIR\logoHorizSma.ico" 0
SW_SHOWNORMAL "" "Fun Application"
---------------------------------------------
This script compiles fine and creates the shortcut with
the specified icon however the shortcut target ends up
like this:
"C:\Program Files\FUN\jars\Fun.jar" parameters
This means that when reading the applications command-
line parameters you get "parameters" as the first ermm..
parameter.
Logged In: YES
user_id=584402
And the problem there is? :)
Parameters is supposed to be the parameters list... If you
don't want any, use "".
Logged In: NO
I do need parameters to specify the icon I want for the
shortcut. If I put "" where parameters is then the icon is not
set. If I put "" before the parameters tag then, of course , I
get a compile error. If I leave the parameters tag in , as is
necessary to set the icon, then the word "parameters"
appears as part of the shortcut target. Thus my application
would have to ignore "parameters" as the first command line
attribute supplied to it.