How can I get the installer filename?: Difference between revisions
From NSIS Wiki
Jump to navigationJump to search
(Created page.) |
m (Kichik moved page How can I get the installer filename to How can I get the installer filename?) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
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: | |||
<highlight-nsis> | <highlight-nsis> | ||
Line 6: | Line 8: | ||
;$R0 will contain the installer filename | ;$R0 will contain the installer filename | ||
</highlight-nsis> | </highlight-nsis> | ||
More information can be found at [[Get installer filename]] | |||
[[Category:Scripting FAQ]] |
Latest revision as of 10:39, 29 December 2014
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