|
|||||||
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 |
|
Major Dude
Join Date: Jun 2002
Location: Swindon, UK
Posts: 559
|
I've no idea if this is the place to post this, feel free to swear at me if I get it wrong (or just for the hell of it
).I started using NSIS about two days ago and it's awesome. I needed a couple of features and being a coder I just wrote them myself using an extension dll, I'm sorry if I've duplicated someone else's effort and am thus wasting your time, but I hope this is useful to someone. The code is a little messy. I'll wait to see what people say and incorporate any changes/requests/bug fixes/etc and upload a new version with better docs too (unless people tell me it's crap )The DLL provides the following functionality :- - IsProcessUserAdministrator - HasLogonAsAService - GrantLogonAsAService - RemoveLogonAsAService - IsServiceInstalled - IsServiceRunning - SendServiceCommand [ start | stop | pause | continue | delete ] All functions expect arguments on the stack, full docs are in the .zip file provided along with an explanation of who might need the functionality and what it does. Source code included. Get it here: http://www.clantpa.co.uk/nsis/x18servicesV0.0.zip [ only ~18 kb! ] --- Ximon Eighteen Programmer @ Advent Publishing Systems email: ximon_eighteen@3b2.com & msn: ximon_eighteen@hotmail.com |
|
|
|
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|