Problem uninstalling service - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

marcelo
Posts: 103
Joined: Fri Sep 28, 2007 2:07 pm

Problem uninstalling service

Hi,

I have 2 services that get installed with my application, they are ser to Manual and Automatic start respectively, but when i uninstall my application, the services are left there. they don't get removed. No error messages during uninstall..

Is there something that needs tobe done for the service to be uninstalled?

Thanks,
Marcelo
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Problem uninstalling service

Hi Marcelo,

Are you installing the services by using the Services page or by using custom actions? If you are using the "Services" page then you need to use control operations which stop and remove the services. Note that we have a service tutorial which may help you.

However, if you are using custom actions, you need to create other custom actions which uninstall the services when the package is uninstalled. These custom actions must use the condition REMOVE="ALL" in order to be executed only during an uninstall.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
marcelo
Posts: 103
Joined: Fri Sep 28, 2007 2:07 pm

Re: Problem uninstalling service

hey cosmin,

Thanks for the reply i'm using the services tab from AI. I will try to use the service control to do that and return my findings;

Regards,
Marcelo

Return to “Common Problems”