cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
bigoldsofty
Level 4

Stopping/restarting a service after adding runtime files

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
Labels (1)
0 Kudos
(1) Reply
Kike_Izquierdo
Level 4

You can use the ServiceControl table to stop and restart the service and it associate to the component with the new files.
0 Kudos