SetDataBlockOptimize On ; Stop a service and waits for file release. For instance, if you attempt to start, stop, or query a service that does not exist, you may get the error code 1060. 13th April 2009 12:06 UTC, New Version 1.24 I used it to make a little util aimed specifically at managing WZC / WLAN Autoconfig. and then remove the service with: Eventually there was an error in my code not passing the correct username and password. detailprint $0 Best wishes from Spain. 13th January 2008 12:40 UTC, Hello Stu, Warm regards, 32 - SERVICE_WIN32_SHARE_PROCESS - Service that shares a process with one or more other services. @develar First of all, this shouldn't be closed because it doesn't work. Stu, bradkohl Like the qc option does for SC.exe in windows Kind regards Thanks in advance, Googled what you're looking for and seems it can be obtained easily. 2. I think this is the best service plugin so far. Hi Rainer, Saill, Speed78 This is fine in normal circumstances, but some services cannot be stopped (they have no handler). T.Slappy but when I now try to reinstall the service again in my Section like explained above, You can't use a batch file as a service. Janvi, MSG 6th July 2011 13:25 UTC. Stu, Speed78 Rainer, rijukk I think to compare the binary path of the old service with the new service is a good idea. Every function now returns <> 0 if there is an error. - SimpleSC::GrantServiceLogonPrivilege and SimpleSC::RemoveServiceLogonPrivilege works now correct with domain names like MyDomain\MyUser. I think the best way is to do it like windows does it in the "sc delete" command. 2nd July 2009 17:12 UTC, janvi the plugin will work like the recommendations in the MSDN. Nice to meet you.I have a problem when use NSIS Simple Service Plugin to install a windows service named "Apache". I will add this functionality in the next release. Rainer, Speed78 I will add this feature in the next release. I´ve released a new version of the NSIS Simple Service Plugin. Allan McLellan, Speed78 Most likely im doing something wrong, it would be nice if someone could point me in the right direction. SimpleSC::StartService, SimpleSC::StopService, SimpleSC::PauseService, SimpleSC::ContinueService and SimpleSC::RestartService got a new "Timeout" parameter. Thanks a lot for the tool. Changed wrong status-results in Readme.txt. If you have any questions please let me now. I personally have had no problems with SimpleSC installing, starting, stopping or uninstalling services. Kind regards Version 1.23 deals with WZCSVC successfully. 256 - SERVICE_INTERACTIVE_PROCESS - The service can interact with the desktop. Note: The signature of the functions SimpleSC::InstallService and SimpleSC::StartService has been changed. Any help will be greatly appreciated. Rainer, mabian If you have any questions please let me now. The disadvantage is that the timeout doesn't depend on the windows timeout. If you would like to refer to this comment somewhere else in this project, copy and paste the following link: © 2020 Slashdot Media. Rainer, Afrow UK Rainer, Speed78, Thanks in advance for any help with this! It also contains advanced service functions for example setting the service description, changed the logon account, granting or removing the service logon privilege. If you believe that I am doing a good job and you want to support me please donate any amount via PayPal. Thanks to everyone for reporting bugs and requesting features. I´ve released a new version of the NSIS Simple Service Plugin. aerDNA which should work for window's 10. so, I am using 64bit NSIS. I m new to NSIS Script and I have been trying to install a Windows Service using your service plugin. 29th May 2009 19:14 UTC. first: sorry for the delay in answering your reply. Thanks again for the great plugin 15th August 2011 22:13 UTC. - SimpleSC::InstallService supports now more service types e.g. Sleeping for a static 30sec is not satisfying at all. Saill, 1053 Error while starting the service I have the service running but I can't find the way to open my application and change some config parameters, for example. Any thoughts on it? Rainer, Hi Rainer, On some systems (especially 64Bit systems) the plugin returns "Stopped" although the service was not really stopped. Kind regards I'd rather SimpleSC just went ahead and called DeleteService anyway, where in such cases the service will be deleted on reboot (i.e. So thank you. Not every program can be used as a service. without a antivirus , the new functions works right. - SetServiceDelayedAutoStartInfo kalix11 pineapplex If you need this functions please use the SimpleSC::StopService before you remove the service. If you just create the service and only extend the ServiceBase class then you can install it using the normal Windows APIs (i.e. The changes are: SimpleSC::RestartService supports now arguments. 10th February 2008 13:03 UTC, Hi, That is an old plugin too, it does not have unicode support, which 64 bit installers require. There are some helpers that can turn any application to a service. 27th May 2009 22:48 UTC, kalix11 Any ideas? The test account is just called "test" with password the same. However, I think I need to check it and I will try to change it within the next release. It would be great if you could add them but in the mean time, I've hardcoded the param I needed in the source. the service is installed, but the user update will fail: wait_for_file_release - Wait for file release after the service is stopped. I wanted to create installer for my tool. The service actually does not exist anymore. The result your skript gives me is "1056". Status: closed-invalid. Rainer. Anyway, when I install my service with installutil, update then the logon with: I´ve released a new version of the NSIS Simple Service Plugin. 10th December 2012 15:01 UTC. I don´t know the name in english :( ) If you update from a previous version you must check your parameters. SimpleSC::StopService "WZCSVC" does stop the service but is unaware of the status change and returns an error after the 30 s timeout ("The service did not respond to the start or control request in a timely fashion"). - SetServiceFailureFlag - SimpleSC::ExistsService results now 0 if the service exists and <> 0 if the service doensn´t exists