catsaremyfriends
Posts: 33
Joined: Thu Mar 26, 2009 9:21 pm

Installer will not start a system service. Why?

One of the things that my installer does is to install and start a service. I configured this via Services under Project Details.

When the installer runs it gets to the point where it is starting services and it fails with the message: Service 'CP Installer' (CP Installer) failed to start. Verify that you have sufficient priveleges to start system services.

I am installing to Windows XP.
I have admin priveleges.
In the Install Parameters page of Advanced Installer, I have tried every one of the Installation Type selections.

Is there something else that I need to do?

Thanks

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

Re: Installer will not start a system service. Why?

Hi,

Please note that a special approach is required to install services for a custom user account. The User Guide contains the Install a service for a custom user how-to which may help you.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
catsaremyfriends
Posts: 33
Joined: Thu Mar 26, 2009 9:21 pm

Re: Installer will not start a system service. Why?

No that does not seem to apply to my situation here. The installation that I am trying to create would not neccessarily be tied to a particular user.

Thanks,

cats
stretchedout2
Posts: 16
Joined: Wed Mar 25, 2009 1:37 pm

Re: Installer will not start a system service. Why?

You might be able to tie your service to the "NT AUTHORITY\NETWORK SERVICE" user. Every computer should have this user... Come to think of it, there might be a user that MS wants you to use for this purpose...

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

Re: Installer will not start a system service. Why?

Hi,

If you are installing the service for the local system account and you are receiving this error, please send us the AIP (project) file you are using to support at advancedinstaller dot com so we can investigate it. Also, please attach a verbose log of the install process.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”