How can I get the installer filename?: Difference between revisions
From NSIS Wiki
Jump to navigationJump to search
(Created page.) |
m (category) |
||
Line 6: | Line 6: | ||
;$R0 will contain the installer filename | ;$R0 will contain the installer filename | ||
</highlight-nsis> | </highlight-nsis> | ||
[[Category:Scripting FAQ]] |
Revision as of 17:26, 9 August 2005
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