Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 10th June 2002, 14:16   #1
Sunjammer
Major Dude
 
Join Date: Jun 2002
Location: Swindon, UK
Posts: 559
Talking Extension DLL - Windows Service Functions & Is Administrator Check

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
Sunjammer is offline   Reply With Quote
 
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump