justin
3rd June 2001, 08:09
I've started making a page with commonly used functions..
http://www.nullsoft.com/free/nsis/functions.html
It's nowhere near complete.. and I haven't really tested those functions, either. :)
If you have a function you think should be added, send it to me (justin@nullsoft.com).. Ideally commented in a similar fashion to how the existing functions are (describing input, outputs, and any modified variables). If you don't mind, I'll edit it for consistency with everything else (but of course give credit).
If someone wants to try an IsAdministrator function, it should be easy (attempt to write to a certain registry key, and then see if you successfully did)..
I'm also thinking of including my RegisterFileType and UnregisterFileType functions which back up and restore the old associations-- I made them a while back, and haven't really done anything with 'em..
Anyway, I gotta get to bed...
-Justin
http://www.nullsoft.com/free/nsis/functions.html
It's nowhere near complete.. and I haven't really tested those functions, either. :)
If you have a function you think should be added, send it to me (justin@nullsoft.com).. Ideally commented in a similar fashion to how the existing functions are (describing input, outputs, and any modified variables). If you don't mind, I'll edit it for consistency with everything else (but of course give credit).
If someone wants to try an IsAdministrator function, it should be easy (attempt to write to a certain registry key, and then see if you successfully did)..
I'm also thinking of including my RegisterFileType and UnregisterFileType functions which back up and restore the old associations-- I made them a while back, and haven't really done anything with 'em..
Anyway, I gotta get to bed...
-Justin