stop and remove services on uninstall - Advanced Installer Community
netali.golan
Posts: 9
Joined: Wed Jul 06, 2016 1:59 pm

stop and remove services on uninstall

Hi

i created an enterprise installer project and have 6 services one for each java application .
i created a java product as defined in the tutorials and create a service for each application .
i set the uninstall in the control service to stop and remove.

everything was fine but after a while the services uninstall operations stop working .
i can't say what went wrong but why does the service won't stop and remove on uninstall if the control service is defined to stop and remove on uninstall?
there is other definition that running over the control service definitions?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: stop and remove services on uninstall

Hello,

Can you please debug your java application code and make sure that your stop() method successfully exits when the uninstall is performed and the service stop operation is triggered?

Also, can you please please send us the .AIP (project file) and a verbose log of the uninstall to support at advancedinstaller dot com so we can investigate them?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
netali.golan
Posts: 9
Joined: Wed Jul 06, 2016 1:59 pm

Re: stop and remove services on uninstall

deleting the java products and services .
and redefine them from start fixed the problem for me .

thx for the help
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: stop and remove services on uninstall

You're welcome. Quite strange that redefining the java products fixed this, but I'm glad you got this working. :)

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”