.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old August 5th, 2005, 01:48 AM
huckfinn19 huckfinn19 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2005
Posts: 1 huckfinn19 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 m 20 sec
Reputation Power: 0
VS.NET Conditional Deployment of Services Problem

Hi all,

Here is the quick summary question and below, I'll explain what is the bigger picture:

Using VS.Net deployment project, how can I register 2 services conditionnally (in the Custom Action Editor section) and make sure that they uninstall correctly?

Longer description of the problem:

I have two services I want to package in a single setup program, using VS.Net deployment tools. Both services assemblies have the classes inheriting from System.Configuration.Install.Installer and have the ServiceProcessInstaller & ServiceInstaller configured correctly so that, when I add the two project outputs and then add custom actions of registering the services, the setup registers the services fine and then uninstalls them fine as well. This is the perfect simple case scenario.

Now, what I want to do is to add conditions, make it the radio buttons that the template User Interfaces provide to select which service I want to install. Then, I apply the condition of the radio button 1 to my first service in both the "Project Output" and the "Custom Action Editor" and radio button 2 to the conditional installation of the second service.

The installation works fine, choosing one of the two services with the radio button. The problem is that since I added conditions on the custom actions that install/uninstall my services, the uninstallation removes all the files (exe & dlls), but leaves the service registered in Windows! And then, I can't unregister the service! Even by using installutil.exe...

Any idea on how to do the conditional installation of a service with the uninstallation working in VS.Net deployment project?

Thanks,

I am using the framework .Net 1.1.

Huck

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgramming.NET Development > VS.NET Conditional Deployment of Services Problem


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT