<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Installing a Managed Service with a Custom Name (Part 2 of 4) [Robert Villahermosa]</title><link>http://blogs.msdn.com/b/bclteam/archive/2006/04/18/577665.aspx</link><description>The Installer class 
 Now that we have our simple service to install, let’s take a look at how we can install it. 
 
 Custom installers in the .NET Framework all derive from the Installer class. There are several methods that you can override in this</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Installing a Managed Service with a Custom Name (Part 2 of 4) [Robert Villahermosa]</title><link>http://blogs.msdn.com/b/bclteam/archive/2006/04/18/577665.aspx#579751</link><pubDate>Thu, 20 Apr 2006 12:36:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:579751</guid><dc:creator>James Higgs</dc:creator><description>Thanks Rob. I guess we're stuck with the Registry hack or calling ChangeServiceConfig2&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=579751" width="1" height="1"&gt;</description></item><item><title>re: Installing a Managed Service with a Custom Name (Part 2 of 4) [Robert Villahermosa]</title><link>http://blogs.msdn.com/b/bclteam/archive/2006/04/18/577665.aspx#578785</link><pubDate>Wed, 19 Apr 2006 10:11:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:578785</guid><dc:creator>Jeroen</dc:creator><description>This seems to be the only blog in the world that does not syndicate the content of the articles, only the abstract.&lt;br&gt;&lt;br&gt;This is very annoying, any chance this will be changed?&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=578785" width="1" height="1"&gt;</description></item><item><title>re: Installing a Managed Service with a Custom Name (Part 2 of 4) [Robert Villahermosa]</title><link>http://blogs.msdn.com/b/bclteam/archive/2006/04/18/577665.aspx#578598</link><pubDate>Wed, 19 Apr 2006 01:39:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:578598</guid><dc:creator>robvi</dc:creator><description>Hi James,&lt;br&gt;&lt;br&gt;You know what? &amp;nbsp;To be honest with you I'm not sure of a good way to do this in v1.1 aside from tweaking some registry keys. &amp;nbsp;In v2.0 however, we've added a new property to ServiceInstaller to do this. &amp;nbsp;Set ServiceInstaller.Description to the long description that you want (by long description I'm assuming you're talking about the one that appears in the services.msc). &amp;nbsp;That should do the trick.&lt;br&gt;&lt;br&gt;Thanks for asking,&lt;br&gt;-Rob&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=578598" width="1" height="1"&gt;</description></item><item><title>re: Installing a Managed Service with a Custom Name (Part 2 of 4) [Robert Villahermosa]</title><link>http://blogs.msdn.com/b/bclteam/archive/2006/04/18/577665.aspx#578589</link><pubDate>Wed, 19 Apr 2006 01:23:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:578589</guid><dc:creator>robvi</dc:creator><description>Hi Eric, yes you could override OnBeforeInstall and OnAfterInstall instead of hooking up the events. &amp;nbsp;I thought it would be nice to show this way though. &amp;nbsp;When overriding the methods in the base class though, you have to remember to call the base class' OnBeforeInstall/OnAfterInstall to make sure registered delegates are notified of the events.&lt;br&gt;&lt;br&gt;Thanks for pointing this out for other people who might have been confused by this!&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=578589" width="1" height="1"&gt;</description></item><item><title>re: Installing a Managed Service with a Custom Name (Part 2 of 4) [Robert Villahermosa]</title><link>http://blogs.msdn.com/b/bclteam/archive/2006/04/18/577665.aspx#578553</link><pubDate>Wed, 19 Apr 2006 00:27:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:578553</guid><dc:creator>James Higgs</dc:creator><description>I'm hoping you'll cover how to set the long description for a service - there doesn't seem to be any managed way to do this, in v1.1 at least.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=578553" width="1" height="1"&gt;</description></item><item><title>re: Installing a Managed Service with a Custom Name (Part 2 of 4) [Robert Villahermosa]</title><link>http://blogs.msdn.com/b/bclteam/archive/2006/04/18/577665.aspx#578337</link><pubDate>Tue, 18 Apr 2006 19:16:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:578337</guid><dc:creator>Eric Wilson</dc:creator><description>Wouldn't it be better to just override OnBeforeInstall and OnAfterInstall instead of hooking up the events?&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=578337" width="1" height="1"&gt;</description></item></channel></rss>