How can I get the installer filename?: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
m (category)
No edit summary
Line 6: Line 6:
;$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]]
[[Category:Scripting FAQ]]

Revision as of 00:35, 3 March 2006

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