$exedir
Why path created using $EXEDIR is not working...
e.g. "$EXEDIR\dir1\dir2\fil1.dll"
is not working...
what could be the problem...?
Archive: $exedir
$exedir
Why path created using $EXEDIR is not working...
e.g. "$EXEDIR\dir1\dir2\fil1.dll"
is not working...
what could be the problem...?
$EXEDIR is the directory from where the installer is running.
So if you're referring files in $EXEDIR they have to be always in the same dir where installer resides.
yes I'm doing my .nsi file is one folder...
and I've kept other files and folders in the same folder..
I want to copy them @ $INSTDIR ....
so I'm uing FILE /r "$EXEDIR\dir1\*.*" etc.
but the error is file not found ...!
You can't use $EXEDIR in compile time, as you probably realize when you compile your script the installer does not executed, you can't expect from the compiler to know what is the $EXEDIR.
so wat is the solution....
Already discussed, you may use !define or just add the absolute path.
http://forums.winamp.com/showthread....hreadid=262889
ok!!
so how come when i put the $EXEDIR in messagebox...I get appropriate result...
or is it so anyhow I cant use non absolute path for $EXEDIR....
The messagebox is a runtime action.
It's not the compiler who displays the message, it's the installer.