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
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Re: Windows Service Stop - Shutdown hook not triggered
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
Apr 11, 2012
09:28 AM
Windows Service Stop - Shutdown hook not triggered
Windows Service and java shutdown hook
When you stop the windows service created by Install Anywhere, it does NOT trigger the shutdown hook.
Any suggestion to overcome this?
When you stop the windows service created by Install Anywhere, it does NOT trigger the shutdown hook.
Any suggestion to overcome this?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Apr 13, 2012
04:08 PM
Hi pasamy,
Any Service which Installanywhere either creates or Runs/Stops does not have a shutdown hook associated with it.
The alternative is that u can add windows Restart action wherever it should be applicable as per your requirement and Set rules to perform at certain conditions.
Hope this Helps!
Thanks,
Madhav Pai
Any Service which Installanywhere either creates or Runs/Stops does not have a shutdown hook associated with it.
The alternative is that u can add windows Restart action wherever it should be applicable as per your requirement and Set rules to perform at certain conditions.
Hope this Helps!
Thanks,
Madhav Pai
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)