Archive: NSIS how do i register windows services


NSIS how do i register windows services
hey im new to this NSIS, i did the tutorials and take a look on the example, but i still don't know how to register windows services

i have search some of the thread and found out some links but unfortunately i still don't know how to use it...

http://forums.winamp.com/showthread.php?s=&threadid=270562&highlight=windows+services
http://nsis.sourceforge.net/How_do_I_start/stop/create/remove/check_a_service

can some one tell me what am i suppose to do with those plugins and how am i suppose to interact with it

and also what sort of code do i need to make it work

PS : is it me or does the insert link doesn't work? it appears to be bold and written "URL submitted by user"


the best way is to use this plugin:
http://nsis.sourceforge.net/NSIS_Simple_Service_Plugin

To use the plugin just copy the code that you need from that page and make the necessary changes


but i have try that and it give me an error
invalid command SimpleSC::InstallService

in that page i found a link which i have download the file what should i do with it? i try pasting the whole folder to the directory where i install the NSIS but still gives me the same erorr am i missing something here ?


copy the dll file to the plugins folder in the NSIS directory