How can I get the installer filename?: Difference between revisions
From NSIS Wiki
Jump to navigationJump to search
No edit summary |
(added $EXEPATH) |
||
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 7: | Line 9: | ||
</highlight-nsis> | </highlight-nsis> | ||
More information can be found at [[ | More information can be found at [[Get installer filename]] | ||
[[Category:Scripting FAQ]] | [[Category:Scripting FAQ]] |
Revision as of 21:33, 19 April 2007
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