Old 23rd July 2007, 02:30   #1
dong
Junior Member
 
Join Date: May 2007
Posts: 28
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"
dong is offline   Reply With Quote
Old 23rd July 2007, 04:13   #2
Red Wine
Forum King
 
Red Wine's Avatar
 
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
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

Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV
Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS
Red Wine 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