We are working on converting the wiki to a static website controlled by markdown files in https://github.com/nsis-community. You can already see there how plug-ins will be posted. The end-user interface will still be a website but with a fresh coat of paint. Come meet us at Discord to talk about it.

How can I get the installer filename?

From NSIS Wiki
Jump to navigationJump to search

As of NSIS 2.26, $EXEPATH contains the full path to the installer.

For earlier versions, you can get the filename of your installer using the System plug-in:

System::Call 'kernel32::GetModuleFileNameA(i 0, t .R0, i 1024) i r1'
 
;$R0 will contain the installer filename

More information can be found at Get installer filename