Windows Service Problem
Posted: 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
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