Parimal Patel
Posts: 25
Joined: Wed Jun 01, 2016 3:16 am

How to Start SQL Server Agent service

Hi

We just purchased licence.
As part of my installation process, How to Start SQL Server Agent service using Advanced installer and set property Start Mode to 'Automatic' ?
ADI_SqlAgent.png
ADI_SqlAgent.png (32.58 KiB) Viewed 5218 times
Thanks,
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: How to Start SQL Server Agent service

Hello,

We do not have predefined support for this, but you can try to use a custom action to start the SQL Server Agent service. Maybe you can find a way to start it automatically through a custom action.

For example, in the attached sample we changed the StartupType of the asp net service in a Power Shell command line custom action.

A sample project is attached to this thread, so if you are interested to take a look directly at my project, you are more than welcome to download the ZIP file. In the sample project, the aspnet_state service is set to start automatically.

Let me know if that helped.

Best regards,
Dan
Attachments
Process ASP Net State - Sample.zip
(3.65 KiB) Downloaded 298 times
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Parimal Patel
Posts: 25
Joined: Wed Jun 01, 2016 3:16 am

Re: How to Start SQL Server Agent service

Hi Dan

Thanks for reply. I will try and let you know.

Return to “Common Problems”