Skip to content
⌘ NSIS Forum Archive

Setting current folder

3 posts

velk#

Setting current folder

Hi,


i ve done a shortcut for my program but i got a problem , nsis seems to dont set current folder to the install dir

because it read some file relative to the install dir

ex : ./data/image.tga

and i cant run my program from the sms

here in my code

 CreateShortCut "$SMPROGRAMS\LabProjectDeluxe\Uninstall.lnk" "$INSTDIR\uninstall.exe" "" "$INSTDIR\uninstall.exe" 0
  CreateShortCut "$SMPROGRAMS\LabProjectDeluxe\Labproject.lnk" "$INSTDIR\labproject-AM.exe" "" "$INSTDIR\labproject-AM.exe" 0 

any idea ?
Afrow UK#
Is this what you want?
Are you a developer who uses NSIS to distribute your application? Are you a Winamp plug-in developer who wants to use NSIS to distribute your plug-in? Have suggestions for other people like you? This is the place.


-Stu