Windows Service Problem

Got a problem you cannot solve? Try here.
mozmeny
Posts: 1
Joined: Fri Dec 12, 2014 7:38 pm

Windows Service Problem

Postby mozmeny » Fri Dec 12, 2014 11:14 pm

Hi all,

In my setup project, I am trying to install an additional windows service at the end of the MSI Code by placing an "Install Service" command. The installer completes the installation successfully but the windows service is not installed. If I try it manually using installutil, the service installs without any problems. I debugged the setup project in IDE as well. The debugger steps over that line successfully. I have checked the Event Viewer=>Application Errors too. There is no error. When I run installutil manually, I have got Install.Log under the service folder. However the installer never seems to be creating that log as well. So it seems like installutil is never called by the installer.

Please help me understand what I am missing here.

Below are the screenshots of my configuration settings:

http://i.imgur.com/S8sU0Jg.png

http://i.imgur.com/2U0PjMb.png

http://i.imgur.com/iL0yEQ9.png

http://i.imgur.com/R13IPvO.png

http://i.imgur.com/YMwlcaq.png

As you can see below, the folder structure looks correct and the files are saved appropriately. When I run installutil using the exe in this path manually, it installs.

http://i.imgur.com/VgUcZLY.png

Thanks

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Windows Service Problem

Postby FrancescoT » Mon Dec 15, 2014 10:50 am

Dear Mozmeny,

the "Install Service" command is a Windows Installer command (Purple Command = deferred execution) and due of this, you should call it before the Apply Install execution ... otherwise the service will be not installed.
http://www.installaware.com/forum/viewtopic.php?f=2&t=4338

Hope this helps you.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 127 guests