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
- :
- Stop and delete service is not working in uninstall.
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
Oct 12, 2010
08:12 AM
Stop and delete service is not working in uninstall.
Hi,
I am using Installshield 2010 and Basic MSI project.
During my installation, I install and start a service. I want it to be stopped and deleted during uninstallation.
I've added the service in the Install NT Service from Component Wizard and I've
created a ServiceControl Event where I set:
InstallStart = yes (and this works!!)
Uninstall stop = yes
Uninstall Delete = yes
When I run my installation evrything goes fine(is installed and
started), but when I uninstall the service continues running.
Please let me know, how to stop and delete my service during uninstallation.
Please help ASAP.
Thanks,
I am using Installshield 2010 and Basic MSI project.
During my installation, I install and start a service. I want it to be stopped and deleted during uninstallation.
I've added the service in the Install NT Service from Component Wizard and I've
created a ServiceControl Event where I set:
InstallStart = yes (and this works!!)
Uninstall stop = yes
Uninstall Delete = yes
When I run my installation evrything goes fine(is installed and
started), but when I uninstall the service continues running.
Please let me know, how to stop and delete my service during uninstallation.
Please help ASAP.
Thanks,
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 12, 2010
01:41 PM
Try creating separate control events for service stop and service uninstall.
![](/skins/images/8C9D13A71C7F7695F3262372C0172D68/responsive_peak/images/icon_anonymous_message.png)