Skip to content
⌘ NSIS Forum Archive

Start a service that has already been installed

4 posts

fabiochelly#

Start a service that has already been installed

Hi,

I would like to start a service that has just been installed by a batch (executed in my setup with the Exec command).

Does anyone know how to do this?
evilO#
Hi Fabiochelly..

You can use the service library header created by dselkirk :




!insertmacro SERVICE "start" "ServiceInternalName"


Facile, non ? 😉

evilO/Olive
zarged#
If you have already installed the service by batch can you not use: NET START service-name?