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!

Rajeshree
Posts: 13
Joined: Thu Sep 05, 2013 12:10 pm

Batch file as a service

Hi,

Can we use a batch file to run as a service?
Please provide some help.

Thanks and Regards,
Rajeshree B
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Batch file as a service

Hello Rajeshree,

Please note that you cannot achieve the desired behavior, to have a batch file to run as a service. For example, you can have a service as an .EXE written in C++ or written in C#.
Please take a look on the Developing Windows Service Application article which may be useful to you.

If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Rajeshree
Posts: 13
Joined: Thu Sep 05, 2013 12:10 pm

Re: Batch file as a service

Hi Dan,

Thanks for the reply.
Then, can we run VBScript as a service.

Thanks and Regards,
Rajeshree B
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Batch file as a service

Hi Rajeshree,

I assume you want to know if you can create a service in Visual Basic. Yes, you can create a service in Visual Basic.
Please take a look on the Creating a Windows Service Application in the Component Designer article where you can find useful information.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”