Archive: Setting current folder


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 ?

Is this what you want?
http://forums.winamp.com/showthread.php?threadid=224201

-Stu


Yes,

exactly

it works fine now

thanks