Installing a exe as Windows service with Advanced Installer - Advanced Installer Community

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!

jaideep.sun
Posts: 2
Joined: Thu Jun 26, 2008 6:35 am

Installing a exe as Windows service with Advanced Installer

I have tried to install an exe (which i have made with C program) and i want to run that exe always as windows service becoz this exe is the server which accept connection

while installing service is created but cannot started successfully Error comes that "Service is not responding in timely manner"
Time out.

Please help me on this i want to run an exe as windows service
Please tell me steps how to do it...


Thanks.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Installing a exe as Windows service with Advanced Installer

Hi,

Please note that Windows Installer can install and start only native Windows services. Also, not any executable can be installed as a service (there are some special rules and code for a service). Here are some articles which may help you:
http://msdn.microsoft.com/en-us/library/y817hyb6.aspx
http://msdn.microsoft.com/en-us/library ... S.80).aspx
http://msdn.microsoft.com/en-us/library ... S.71).aspx

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Warrigal
Posts: 43
Joined: Thu Jun 26, 2008 8:20 am

Re: Installing a exe as Windows service with Advanced Installer

Alternatively, there are some utilities around that let you run an exe as a service. I use an excellent little utility called winserv. It's free and open source. See http://sw4me.com/wiki/Winserv for further details.

Return to “Common Problems”