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

Re: windows service by Gabriele

Gabriele
Wed Mar 23 09:44:58 CST 2005

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

"Julia" <Julia@discussions.microsoft.com> wrote in message
news:D2A124EE-2188-4DEC-AFD5-C4F04AF45BC1@microsoft.com...
> 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