all groups > dotnet setup > july 2006 >
You're in the

dotnet setup

group:

Problem installing windows service after upgrading to .NET 2.0


Problem installing windows service after upgrading to .NET 2.0 Colmeister
7/12/2006 2:01:02 AM
dotnet setup:
Hopefully I'm posting this in the correct forum!

I have a solution containing a Windows Service project and a Setup project.
This was originally written in Visual Studio .NET 2003 (.NET 1.1 - VB.NET)
and the installer worked correctly except that I had to manually start the
service after installation, I could live with this. After upgrading the
solution to .NET 2.0 in Visual Studio 2005 when I now run the MSI it appears
to install correctly and even appears in Add/Remove Programs but my service
doesn't appear in the Services list, therefore I'm unable to start it.

Has anyone else encountered this problem or have any ideas how to resolve it?

Thanks in advance,

RE: Problem installing windows service after upgrading to .NET 2.0 Colmeister
7/12/2006 7:45:02 AM
Ooops, please ignore me. I had to re-add the primary output of my service to
the installer as it was giving me errors and I forgot to re-add the necessary
custom actions.

I'll check more carefully before I post next time!

Re: Problem installing windows service after upgrading to .NET 2.0 luy
7/13/2006 2:26:57 AM
Hi,

I have the same problem, but I don't know what custom actions
should be made. Could you help me?

luy


[quoted text, click to view]
Re: Problem installing windows service after upgrading to .NET 2.0 Colmeister
7/14/2006 12:15:01 PM
This article from the MS Knowledgebase takes you through the steps required:

http://support.microsoft.com/?kbid=317421

Hope that helps.


AddThis Social Bookmark Button