PDA

View Full Version : windows service



Cascinanet
11-15-2012, 03:53 AM
I've installed visual studio 2012 and there is no longer a setup project, so i've created an installshield project but not able to configure it to install my windows service.
What should I do?
There is a tutorial?

DebbieL
11-15-2012, 11:00 AM
Yesterday's InstallTalk blog post explains how:
Using InstallShield to Create an Installation that Installs Windows Services (http://blogs.flexerasoftware.com/installtalk/2012/11/using-installshield-to-create-an-installation-that-installs-windows-services.html)

Cascinanet
11-16-2012, 04:00 AM
Does not work.
My service is not in the windows services after running the setup.

hidenori
11-16-2012, 04:26 PM
Did you refresh the Windows Services console manually by selecting the Action | Refresh after your service was installed? I would also check if the Installer Class custom actions were executed. Make sure that you have similar entries as below in your installation verbose log:


MSI (s) (64:0C) [12:17:33:342]: Doing action: _5F44F77F68740697D2BA147AF5821A01.install.SetProperty
Action 12:17:33: _5F44F77F68740697D2BA147AF5821A01.install.SetProperty.
Action start 12:17:33: _5F44F77F68740697D2BA147AF5821A01.install.SetProperty.
MSI (s) (64:0C) [12:17:33:342]: PROPERTY CHANGE: Adding _5F44F77F68740697D2BA147AF5821A01.install property. Its value is '/installtype=notransaction /action=install /LogFile= "C:\Program Files (x86)\My Company Name\My Product Name\WindowsService1.exe" "C:\Users\Testlab\AppData\Local\Temp\{17A65B84-C5AA-46F0-BEF1-E4A67954AEB7}\_isconfig.xml"'.
Action ended 12:17:33: _5F44F77F68740697D2BA147AF5821A01.install.SetProperty. Return value 1.
MSI (s) (64:0C) [12:17:33:342]: Doing action: _5F44F77F68740697D2BA147AF5821A01.install
Action 12:17:33: _5F44F77F68740697D2BA147AF5821A01.install.
Action start 12:17:33: _5F44F77F68740697D2BA147AF5821A01.install.
_5F44F77F68740697D2BA147AF5821A01.install:
Action ended 12:17:33: _5F44F77F68740697D2BA147AF5821A01.install. Return value 1.

Cascinanet
11-19-2012, 04:23 AM
ok, we have identified the problem now it works
thanks