bpuser
Posts: 5
Joined: Tue Apr 05, 2011 7:10 am

Install a Service

Hello,
I want to install a Service (WIN 7).
- I add the service to install
- I add a service control operation
But after the Installation the service don't start. I only see the service in the control panel and that's it. It's not possible to start and it's not possible to uninstall (servicename -uninstall) the service manually. Error: >> Service "Seervicename" konnte nicht deinstalliert werden; Fehler: "Systemfehler. Code: 1060. Der angegebene Dienst ist kein installierter Dienst <<
I need your help. Thank you.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Install a Service

Hello,

Does the service manifest in the same way if you install it manually as well?

Best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
bpuser
Posts: 5
Joined: Tue Apr 05, 2011 7:10 am

Re: Install a Service

I don't know, but I think so. What do you mean by 'manifest'?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Install a Service

Hi,
What do you mean by 'manifest'?
I meant if it manifests the same behavior upon manual install as well.

If this is the case you should troubleshoot your service for the reason. Advanced Installer simply installs the service with the set operation.

Best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
bpuser
Posts: 5
Joined: Tue Apr 05, 2011 7:10 am

Re: Install a Service

Hi,
I can install my Service manually: ServiceName -install and it works
With Advanced Installer I do the steps like the help file describe:
• Only files included in the installation can be installed as a service
• Services to Install - contains all the services to be installed by your package.
• Control Operations - contains all the control actions (like start, stop or delete) to be performed on services during installation or uninstallation.
See the attachments
Now my questions: Is my service installed? And when not, how I can do it?
Thank you for your help.
Attachments
ServiceToInstall.jpg
ServiceToInstall.jpg (93.2 KiB) Viewed 5088 times
ControlOperations.jpg
ControlOperations.jpg (33.04 KiB) Viewed 5088 times
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Install a Service

Hello,

If you can install and start the service from the command line, outside the installer, please try the installer on other machines to see if the behavior persists.

Also, please send us the .AIP (project), the service file and a verbose log of the installation to support at advancedinstaller dot com so we can help you investigate.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Install a Service

Hi Martin,

It seems that your service uses a custom installation method. In this case the Windows Installer support cannot be used.
A solution is a New Installed Custom Action which launches your service EXE with the "-install" command line option.

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

Return to “Common Problems”