ruck64
Posts: 57
Joined: Wed Jul 24, 2019 8:46 pm

Stopping a service before uninstall prompts to restart

Im trying to stop a service that is ran through another service handler.(The one that comes with AI doesnt play nice with it)
However, it needs to be run with full privileges since running as admin creates an additional prompt for admin rights. Which isnt wanted. So I have a custom action to handle stopping the service. The issue is I can stop or remove the service until after that prompt happens. Is there a way to stop and remove the service during uninstall so that I prevent the reboot message that appears from ever popping up?
ruck64
Posts: 57
Joined: Wed Jul 24, 2019 8:46 pm

Re: Stopping a service before uninstall prompts to restart

This has been resolved
Catalin
Posts: 6586
Joined: Wed Jun 13, 2018 7:49 am

Re: Stopping a service before uninstall prompts to restart

Hello,

Thank you for your followup on this.

I am glad you got this working.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”