Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / June 2006

Tip: Looking for answers? Try searching our database.

C# - Installing a Service using the Setup Projectts

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
nwmotogeek@gmail.com - 22 Jun 2006 03:30 GMT
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.
Vadym Stetsyak - 22 Jun 2006 12:09 GMT
Hello, nwmotogeek@gmail.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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.