This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Stopping/restarting a service after adding runtime files
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Nov 03, 2010
10:47 PM
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
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
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Nov 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.