Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Srvice not visible when installed
 

Srvice not visible when installed

Hi I have a sample of a service which I am running in in vs2008 (standard). The solution complies (no errors) and when i run the installcommand InstallUtil E:\AvaProjects\NotificationService\obj\Release\NotificationService.exe it says it completed without error (no refernces to needing installer in project which is there etc). I cannot see the service in computer/management/services - it also uninstalls ok with the /u switch. I am an adminstartor on the local machine i'm doing this on (xp pro & vista home all service packs auto update on uac off). google or bing doesnt give meclue for "service vista InstallUtil not visible" help please
glider pilot  Monday, July 13, 2009 1:33 PM
You have Installer classes in your exe? They have the RunInstaller attribute set? Have you added any of your own code in there? Are you calling the base class methods like Install?
Phil Wilson
PhilWilson  Tuesday, July 14, 2009 9:54 PM

Hi Glider Pilot,

Please ensure to refresh the services in the Service Control Manager after you install a new Window serivce.

If this doesn't help, I suspect your service may be problematic. Please read the following MSDN article for a complete Windows Service sample:
"Walkthrough: Creating a Windows Service Application in the Component Designer"
http://msdn.microsoft.com/en-us/library/zt39148a(VS.80).aspx

Hope this helps.


Please remember to mark the replies as answers if they help and unmark them if they provide no help. end us any feedback you have about the help from MSFT at fbmsdn@microsoft.com.
Linda Liu  Monday, July 20, 2009 4:24 AM

You can use google to search for other answers

Custom Search

More Threads

• Deployment files generated query
• WSUS Install Fails; There is a problem with this Windows Installer package.
• How to deploy an application with a database?
• Creating a Generic Windows Installer
• How to create a setup for app (Windows Forms)
• Reading Installer Public Properties from a file.
• Setup Project is hiding the windows forms
• Hiding the Restart dialog box of 3rd party package(setup.exe, may be built from InstallShield)
• ClickOnce Deployment
• Register an ActiveX exe using visual studio 2005 merge module