minnumathew
Posts: 22
Joined: Mon Apr 22, 2013 8:11 am

Service not getting started

Hi

My installer is trying to start a service during installation. So I added the service in Service view. During installation, the new service name is showing correctly in services.msc. But while trying to start I am getting an error message. "Service failed to start. Verify that you have sufficient privileges to start system services" Could you please hel me to make this work. I am using Advanced Installer 10.0

Thanks in advance
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Service not getting started

Hello,

Try to install the service outside Advanced Installer by using InstallUtil.exe for example. If it works then we know that there's a problem with the installer, otherwise you may need to consult with the service developer.

If you want to install a service for a specific user, you need to make sure this user has enough privileges to install and start system services. In order to be able to install system services, the user for which you install the service must be an Administrator. Also, this user must be able to log on as a service (this policy rule must be set for him).

You can verify if a user can log on as a service by using the "Local Security Policy" tool:
Control Panel -> Administrative Tools -> Local Security Policy\Local Policies\User Rights Assignment\Log on as a service

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
minnumathew
Posts: 22
Joined: Mon Apr 22, 2013 8:11 am

Re: Service not getting started

Hi

I have only little knowledge in advanced installer. I am not yet able to fix this issue.

I created a bat file with the script for registering the service and I invoked this bat file using Launch File or URL . Again I am getting the error during installation. and it seems to be some error related to permission. My user is admin user.

Also I tried to register by directly adding it in services. There also its not working. Could you please tell me the steps for adding permission.

Thanks in advance
Mia
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Service not getting started

Hello Mia,

In order to get a clear view of your installation scenario, can you please send us the .AIP (project file) and a verbose log of the installation to support at advancedinstaller dot com so we can investigate them?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”