From 3acc7dd729529553a5c93adbcd2abdb1f1bed1f8 Mon Sep 17 00:00:00 2001 From: kichik Date: Fri, 21 Feb 2003 22:20:07 +0000 Subject: [PATCH] Wrong shortcut git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2208 212acab6-be3b-0410-9dea-997c60f758d6 --- Examples/example2.nsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Examples/example2.nsi b/Examples/example2.nsi index f2d2950e..ffad4d8a 100644 --- a/Examples/example2.nsi +++ b/Examples/example2.nsi @@ -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