HighTechTalks DotNet Forums  

C# - Installing a Service using the Setup Projectts

Dotnet Framework microsoft.public.dotnet.framework


Discuss C# - Installing a Service using the Setup Projectts in the Dotnet Framework forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
nwmotogeek (AT) gmail (DOT) com
 
Posts: n/a

Default C# - Installing a Service using the Setup Projectts - 06-21-2006 , 10:30 PM






I am attempting to install a service application that I written using
the Setup Project. I have added an Installer to my service project by
right clicking on the design view of my service...much like all the web
sites have been telling me to do.

The Setup project works ok in the sense that it installs my files to
the target system. The problem is when I attemp to create a custom
action associated with my service project. Once I do this the Setup
Project will no longer build and reports a "General failure", not any
help at all.

I may be mistaken but my current understanding is that this should
work. The Setup Project should detect the Installer class I have added
to my service project and it should just work. I have been banging my
head against this for hours now. I need a solution to install my
service on the target system......please help.

Thank you.


Reply With Quote
  #2  
Old   
Vadym Stetsyak
 
Posts: n/a

Default Re: C# - Installing a Service using the Setup Projectts - 06-22-2006 , 07:09 AM






Hello, nwmotogeek (AT) gmail (DOT) com!

n> I may be mistaken but my current understanding is that this should
n> work. The Setup Project should detect the Installer class I have added
n> to my service project and it should just work. I have been banging my
n> head against this for hours now. I need a solution to install my
n> service on the target system......

If you can use other tools for MSI setup creation ( not VS setup project ) then
to install windows service, it is only necessary to add appropriate records to msi table - ServiceInstall.

WiX is a free tool to create msi packages ( http://wix.sourceforge.net )

How yo install service in WiX ( http://www.tramontana.co.hu/wix/lesson6.php#6.4 )

For VS way:

( http://www.mcse.ms/archive102-2006-1-2080015.html )
--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.