I've found two ways of getting the complete path of the installer file in a NSIS script:
But I need only the filename, and not the complete path. How go get it? Is there an ExtractFileName() type function?
$EXEFILE
is what you want. It'll be of the form foo.exe
.