Win Services - This is for Mahesh Chand
Dear Mahesh,
I'm new to windows services so I researched and found your article on how to create a Windows (NT) service. I'm not working on NT. I'm working on XP Pro and I had some problems that I hope you can help me with.
1) Is System.Core, System.Configuration, & System.Diagnostics part of NT framework? Because when I try to build the project I get errors on those references saying that they are not part of System.
2) When I try to run the installutil I get an error saying it can't find installutil but if I search on my hard drive I find it. Do I need to run this in the directory that the executable is in or can I run it from start-> Run command? I've tried and get the error I stated already.
3) Am I right to assume that you need the projectinstaller class as part of your service for it to work? The reason I ask this is because I've seen other examples on the web on how-to-create a windows service that don't even mention the projectInstaller.
Can you create another example like the one you did for NT in a more detail step by step for a non NT service or would it be the same thing you've already created?
Thank you,
Alex