How do i change the start in path of a shortcut for nsis?

Posted by Lodle on Stack Overflow See other posts from Stack Overflow or by Lodle
Published on 2009-06-10T02:47:45Z Indexed on 2010/03/14 1:05 UTC
Read the original article Hit count: 309

Filed under:
|
|

I have an nsis installer script for the application im working on and it can place a shortcut on the desktop and in the start menu folder but each shortcut has the wrong start in path and as such the app saves data files to where the short cut is.

Is there an easy way to change the start in path as the documentation was less than helpful on the matter?

Section "Desktop Shortcut" SHORTCUT
    SetOutPath "$DESKTOP"
    CreateShortcut "${FULL_APP_NAME}.lnk" "$INSTDIR\${APP_NAME}.exe" "" "$ICONDIR\${DESKICO}"
SectionEnd

© Stack Overflow or respective owner

Related posts about nsis

Related posts about installer