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
- :
- service delete not working when enable service install is set to no
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 20, 2012
04:53 AM
service delete not working when enable service install is set to no
Hello,
I'm using InstallShield 2012and have a Basic MSI project.
I want to install a normal executable and a service executable. The service should not be installed in services during install of the MSI. I changed "enable service install" to no. Additionally I have one event with "Uninstall Stop" and "Uninstall Delete".
The user installs the service via the normal executable. During uninstall it should stop the service and delete the service.
The service executable was deleted, but the service was not deleted in services. Why does it not work?
When this is not implemented, how can I uninstall the service via script or action or event?
I don't have any idea how the custom actions work. I need a step by step instruction.
Thanks in advance
I'm using InstallShield 2012and have a Basic MSI project.
I want to install a normal executable and a service executable. The service should not be installed in services during install of the MSI. I changed "enable service install" to no. Additionally I have one event with "Uninstall Stop" and "Uninstall Delete".
The user installs the service via the normal executable. During uninstall it should stop the service and delete the service.
The service executable was deleted, but the service was not deleted in services. Why does it not work?
When this is not implemented, how can I uninstall the service via script or action or event?
I don't have any idea how the custom actions work. I need a step by step instruction.
Thanks in advance
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 27, 2013
08:32 AM
1. Make sure that the service executable is in the component with which the service configuration is associated.
2. (This is the one that caused me to have a forehead/keyboard situation for a day and a half) Make sure that the service executable is the key file for that component.
3. check the logs during uninstall. Is the component being uninstalled?
4. Obviously the file is being removed, so we can skip number 4.
5. If all else fails, paste the sections of the log related to InstallValidate, StopServices, and RemoveServices
2. (This is the one that caused me to have a forehead/keyboard situation for a day and a half) Make sure that the service executable is the key file for that component.
3. check the logs during uninstall. Is the component being uninstalled?
4. Obviously the file is being removed, so we can skip number 4.
5. If all else fails, paste the sections of the log related to InstallValidate, StopServices, and RemoveServices
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)