<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Installer on Bits and Pieces</title>
		<link>https://bits.strawjackal.org/tags/installer/</link>
		<description>Recent content in Installer on Bits and Pieces</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
		
			<lastBuildDate>Wed, 05 Sep 2007 09:14:54 +0200</lastBuildDate>
		
			<atom:link href="https://bits.strawjackal.org/tags/installer/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Windows Services, services.msc and the &#34;This Service is marked for deletion&#34; error.</title>
				<link>https://bits.strawjackal.org/127/</link>
				<pubDate>Wed, 05 Sep 2007 09:14:54 +0200</pubDate>
				<guid>https://bits.strawjackal.org/127/</guid>
				<description>&lt;p&gt;In my current project, we have a windows service that we are developing and debugging, which involves a lot of installing/uninstalling the service. One common problem when uninstalling a service is that while the uninstallation is successful, you still see the service listed in the Services console(services.msc). If you try to start it, stop it or uninstall it again (using installutil.exe or &lt;em&gt;sc delete&lt;/em&gt;) you get an uninformative &#34;This service has been marked for deletion&#34;.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Custom ConfigurationSectionHandlers in InstallerClasses</title>
				<link>https://bits.strawjackal.org/143/</link>
				<pubDate>Mon, 07 May 2007 07:02:42 +0200</pubDate>
				<guid>https://bits.strawjackal.org/143/</guid>
				<description>&lt;p&gt;I&#39;m writing an installer class for an MSI Setup Project, and find myself needing to manipulate my web.config containing a custom ConfigurationSection. This should be trivial seeing as my SectionHandler code is bundled with the rest of the application, but fails miserably on my GetSection() call, because the DLL containing it is unavailable to MSIEXEC, which runs from C:WindowsSystem32. What to do, what to do?&lt;/p&gt; &lt;p&gt;Several options:&lt;/p&gt; &lt;p&gt;1) Rather than using the custom ConfigurationSection, I can open my web.config as a standard XmlDocument and do the changes manually. &lt;/p&gt;</description>
			</item>
			<item>
				<title>InstallerClasses and little-known gems.</title>
				<link>https://bits.strawjackal.org/144/</link>
				<pubDate>Sun, 06 May 2007 15:55:06 +0200</pubDate>
				<guid>https://bits.strawjackal.org/144/</guid>
				<description>&lt;p&gt;I&#39;m writing an Installer class for an MSI installer project, and passing a checkbox&#39;s value from the MSI UI. I noticed that when I pass the checkbox&#39;s linked variable into my code, it&#39;s received as a string, and not only a string - the possible values are &#34;1&#34; and &#34;0&#34;.&lt;/p&gt; &lt;p&gt;This is where I started cursing softly, because as well know, the &lt;em&gt;bool.Parse&lt;/em&gt; method can only accept the strings &#34;True&#34; and &#34;False&#34; to parse, and not the commonly-found &#34;1&#34; and &#34;0&#34;. Sure, I can put in a line such as this:&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
