Installing a service - 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!

sony
Posts: 134
Joined: Wed Apr 07, 2010 9:55 am

Installing a service

Hi Support,

I am trying to install a service using the advanced installer. I have added the setup in the "Files and Folder" phase. Later in the service phase, I am trying to install and start services. At run time, the service is getting hanged without installing properly and not even getting started.
I am able to install the service manually and able to start the service successfully. Could you please advice me another way to install and start the service?
I have attached the screenshot of the error message and also installlog for your reference.

Its an urgent issue. Please help :(

Regards
Sony
Attachments
installlog.txt
(92.27 KiB) Downloaded 538 times
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Installing a service

Hi Sony,

From the log, it appears your service's executable name is setup.exe. Is this correct?
I might be wrong, but from the log it appears your service is failing to start. Try debugging it and see where the issue lies. In the meantime, please send your .aip project file to support at advancedinstaller dot com just for me to check if settings are ok.

Please include a link to this thread in your email.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
sony
Posts: 134
Joined: Wed Apr 07, 2010 9:55 am

Re: Installing a service

Hi Gabriel,

Thank you for the quick reply...

Yes, you are right my service's executable name is setup.exe and your understanding about the issue is also right. I have found that from the advance installer, the service is not installing properly due to which the service is not getting started.. So Please suggest alternate way of installing the service.. it would be helpful...


Regards
Sony
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Installing a service

Hi Sony,

I still believe the issue lies within your service.
Nonetheless, if you still want an alternative, I would suggest using the sc command line utility as a custom action to register your service.

Let me know if this works for you.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
sony
Posts: 134
Joined: Wed Apr 07, 2010 9:55 am

Re: Installing a service

Hi Gabriel,

As Itold you before, I am able to install the service manually... so I dont think the issue would be with the service. I have tried running the setup using the custom action.. setup is starting the execution but getting an error message "Installation is in progress" I have attached the screenshot for your reference(error1.bmp). I am ready to send the setup files, if you require.

I look forward to hear back from you soon..

Thanks
Sony
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Installing a service

Hi Sony,

Yes, please send us a sample project that manifests the issue.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”