Archive: outfile using script name without .nsi


outfile using script name without .nsi
Is it possible to set exe file name using the script name without .nsi??

I can of course trim the script file name using strcpy $1 "${__FILE__}" -4 ,but the problem is.... i cant use strcpy outside sections... :cry:

Thank you.


!searchreplace OutFile `${__FILE__}` `.nsi` ``
OutFile `${OutFile}.exe`
Stu

WOOOOOT!!!!

Job done, THX THX!