Reputation: 1456
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?
Upvotes: 1
Views: 1440
Reputation: 90902
$EXEFILE is what you want. It'll be of the form foo.exe.
$EXEFILE
foo.exe
Upvotes: 4