Wrong shortcut

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2208 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2003-02-21 22:20:07 +00:00
parent 04d6d38b02
commit 3acc7dd729

View file

@ -25,6 +25,7 @@ DirText "Choose a directory to install in to:"
; The stuff to install
Section "Example2 (required)"
SectionIn RO
; Set output path to the installation directory.
SetOutPath $INSTDIR
; Put file there
@ -41,7 +42,7 @@ SectionEnd
Section "Start Menu Shortcuts"
CreateDirectory "$SMPROGRAMS\Example2"
CreateShortCut "$SMPROGRAMS\Example2\Uninstall.lnk" "$INSTDIR\uninstall.exe" "" "$INSTDIR\uninstall.exe" 0
CreateShortCut "$SMPROGRAMS\Example2\Example2 (notepad).lnk" "$INSTDIR\notepad.exe" "" "$INSTDIR\makensisw.exe" 0
CreateShortCut "$SMPROGRAMS\Example2\Example2 (notepad).lnk" "$WINDIR\notepad.exe" "" "$INSTDIR\makensisw.exe" 0
SectionEnd
; uninstall stuff