cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted

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,
Labels (1)
0 Kudos
1 Reply
Highlighted
Pilgrim

Re: Stop and delete service is not working in uninstall.

Try creating separate control events for service stop and service uninstall.
0 Kudos