windows service

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
 
G

Gabriele G. Ponti

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top