Collins
Posts: 138
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: 4931
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: 138
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: 4931
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”