View Full Version : Stopping/restarting a service after adding runtime files

11-03-2010, 10:47 PM
I'm trying to work how to best to install files for a 'running' service. These files are basically text files which the service will refer to at runtime and at this stage are in addition to the original installation.
That part is fairly straight forward. After working out that the service was installed in the first place (the user gets no choice of install directory) and copying the files in question I need to stop and restart the service so it can register the presence of the new files.
How best can I go about this? I will not actually be wanting to reinstall the exe.

Thanking you in advance
Wolfram Steinke

Kike Izquierdo
11-04-2010, 05:04 AM
You can use the ServiceControl table to stop and restart the service and it associate to the component with the new files.