windows service

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I have created a Windows service. In the project there is one service and
one installer. I have also created a Setup project. When I run my msi file
the service will not be installet into the Computer Manager/Service... the
application are installed into the Porgram Files/MyApp folder.

How can I trouble shoot this?

Thanks
Julia
 
Julia,

Even if it's a Windows service is normal that you would find the application
installed in the Program Files folder. It seems that your installer isn't
run during the setup.

Make sure that the installer class has the RunInstaller attribute set to
true:

[RunInstaller(true)]
public class ProjectInstaller : System.Configuration.Install.Installer
{
...

If you still have problems, try this post:
http://blogs.msdn.com/bclteam/archive/2005/03/15/396428.aspx

Regards,

Gabriele
 
Back
Top