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:
parent
04d6d38b02
commit
3acc7dd729
1 changed files with 2 additions and 1 deletions
|
@ -25,6 +25,7 @@ DirText "Choose a directory to install in to:"
|
||||||
|
|
||||||
; The stuff to install
|
; The stuff to install
|
||||||
Section "Example2 (required)"
|
Section "Example2 (required)"
|
||||||
|
SectionIn RO
|
||||||
; Set output path to the installation directory.
|
; Set output path to the installation directory.
|
||||||
SetOutPath $INSTDIR
|
SetOutPath $INSTDIR
|
||||||
; Put file there
|
; Put file there
|
||||||
|
@ -41,7 +42,7 @@ SectionEnd
|
||||||
Section "Start Menu Shortcuts"
|
Section "Start Menu Shortcuts"
|
||||||
CreateDirectory "$SMPROGRAMS\Example2"
|
CreateDirectory "$SMPROGRAMS\Example2"
|
||||||
CreateShortCut "$SMPROGRAMS\Example2\Uninstall.lnk" "$INSTDIR\uninstall.exe" "" "$INSTDIR\uninstall.exe" 0
|
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
|
SectionEnd
|
||||||
|
|
||||||
; uninstall stuff
|
; uninstall stuff
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue