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!

Collins
Posts: 142
Joined: Wed Oct 12, 2016 2:57 pm

Start Service Conditionally Using Built In Service Custom Action

Is there a way to use the built in Custom Action to control the service Control Operation (On Install: Start) to conditionally start the service? I would like to add a checkbox to give the user the ability to not start the service by conditioning the actions.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Start Service Conditionally Using Built In Service Custom Action

Hi,

Please take a look on the "Can't install service for LocalSystem OR custom account" thread which debates a similar scenario.

Let me know if you have other questions.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Collins
Posts: 142
Joined: Wed Oct 12, 2016 2:57 pm

Re: Start Service Conditionally Using Built In Service Custom Action

That's exactly what I was looking for and it worked. Thank you
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Start Service Conditionally Using Built In Service Custom Action

You're welcome. Glad to help.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”