Archive: why i can't creat shortcut on star menu ?


why i can't creat shortcut on star menu ?
Hello everybody ?

I want creat shortcut in star menu but it can't. i compile file *.nsi no error, you see below:
CreateShortCut "$StartMenu\Loto\Lotto.lnk" "$InstDir\Lotto.exe"

i using winxp sp1. i creat shortcut on destop and star progame is normal. can you help me ? why ? you see below:
CreateShortCut "$SMPROGRAMS\Lotto\Lotto.lnk" "$INSTDIR\Lotto.exe"
CreateShortCut "$DESKTOP\Lotto.lnk" "$INSTDIR\Lotto.exe"


There is not such constant $StartMenu, the correct is $SMPROGRAMS.

http://nsis.sourceforge.net/Docs/Chapter4.html#4.2.3

http://nsis.sourceforge.net/Docs/Chapter4.html#4.9.3.4