Is there an NSIS var to get the path of the currently running installer?
Asked
Active
Viewed 1.3k times
2 Answers
14
There are few useful variables:
$EXEPATH
- holds installer filename.$EXEDIR
- holds the complete path to the installer.
So according to the topic
NSIS get path of current installer file that is running
the most appropriate is $EXEDIR
.

Maxim Suslov
- 4,335
- 1
- 35
- 29
-
1$EXEPATH is the complete path to the installer including the filename. $EXEDIR is only the directory where the the installer file resides. $EXEFILE is the base filename of the installer name, e.g. "myinstaller.exe" – Fotios Basagiannis Feb 01 '21 at 03:54