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 / Setup / May 2005

Tip: Looking for answers? Try searching our database.

Installing/uninstalling a service

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Claire - 23 May 2005 16:10 GMT
I've created an install project for my service application which installs
ok.
I added a custom action in the "install" section. I just added the "primary
output" to here and did nothing else.
When I run the uninstall, the files are all removed but the service remains
listed in Windows Services list and remains running.
How do I stop this running and unregister it within my install project
please? (for when users uninstall)

thank you
Phil Wilson - 23 May 2005 21:47 GMT
If you add the custom action by right-clicking on the "Custom Actions" node
instead of just the Install node, you'll find it adds all the required
custom actions. At the risk of stating the obvious, you never added an
Uninstall custom action to uninstall the service (or a commit or a rollback
either) so yup, it dosn't uninstall.
Signature

Phil Wilson [MVP Windows Installer]
----

> I've created an install project for my service application which installs
> ok.
[quoted text clipped - 6 lines]
>
> thank you
Claire - 24 May 2005 08:17 GMT
> If you add the custom action by right-clicking on the "Custom Actions"
> node instead of just the Install node, you'll find it adds all the
> required custom actions. At the risk of stating the obvious, you never
> added an Uninstall custom action to uninstall the service (or a commit or
> a rollback either) so yup, it dosn't uninstall.

that's great, thanks Phil
(Not done this before)

Rate this thread:







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.