Service control option(stop,delete) on uninstall not working - Advanced Installer Community
fazeelk
Posts: 32
Joined: Wed Sep 10, 2014 5:15 am

Service control option(stop,delete) on uninstall not working

Hi
I have created some windows services and choose the control operation Stop and Delete on uninstall. But even after the uninstall these services still remains in the list with the state started.
Please let me know what I have to do to uninstall the services properly during the uninstall of product itself
I have created a custom action in vb script to remove the services as a work around and executed after the finish execution stage. It is working fine if I am able to provide the actual service name, but I am creating the service name with the instance accepting as user input. Eg:- "Instance1_Service1"
This instance name would be different from the product name. So I cannot use an action script to remove the services
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Service control option(stop,delete) on uninstall not wor

Hello,

When multiple instances are used in your installation package and the user choose a custom name for an instance, the property which contains the user input is the ProductName property.

Also, in order to have a better view about this, can you please send us the .AIP (project file) to support at advancedinstaller dot com so we can investigate it? If it contains confidential information you can send us a small test project which reproduce this behavior.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”