<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>RussTaylor &#187; InstallUtil.exe</title>
	<atom:link href="http://russtaylor.co.uk/tag/installutilexe/feed/" rel="self" type="application/rss+xml" />
	<link>http://russtaylor.co.uk</link>
	<description>Things I&#039;ve done, seen, or thought about ...</description>
	<lastBuildDate>Thu, 05 Aug 2010 13:27:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Installing a VS2008 service using installutil.exe not&#160;working?</title>
		<link>http://russtaylor.co.uk/2008/07/installing-a-vs2008-service-using-installutilexe-not-working/</link>
		<comments>http://russtaylor.co.uk/2008/07/installing-a-vs2008-service-using-installutilexe-not-working/#comments</comments>
		<pubDate>Fri, 18 Jul 2008 10:28:37 +0000</pubDate>
		<dc:creator>Russ</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[InstallUtil.exe]]></category>
		<category><![CDATA[VS2008]]></category>
		<category><![CDATA[Windows Service]]></category>

		<guid isPermaLink="false">http://russtaylor.co.uk/?p=45</guid>
		<description><![CDATA[I built a Windows service to host my WCF service today, then added an installer class, with the view I could use installutil.exe to install it. I got the following error C:\Documents and Settings\Administrator&#62;installutil.exe C:\Documents and Setting s\Administrator\Desktop\ORS2\Copy of API\WindowsHostService\bin\Debug\WindowsHos tService.exe Microsoft (R) .NET Framework Installation utility Version 1.1.4322.573 Copyright (C) Microsoft Corporation 1998-2002. All [...]]]></description>
			<content:encoded><![CDATA[<p>I built a Windows service to host my WCF service today, then added an installer class, with the view I could use installutil.exe to install it. I got the following error</p>
<blockquote><p>C:\Documents and Settings\Administrator&gt;installutil.exe C:\Documents and Setting<br />
s\Administrator\Desktop\ORS2\Copy of API\WindowsHostService\bin\Debug\WindowsHos<br />
tService.exe<br />
Microsoft (R) .NET Framework <strong>Installation utility Version 1.1.4322.573</strong><br />
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.</p>
<p>Exception occurred while initializing the installation:<br />
System.IO.FileNotFoundException: File or assembly name Documents, or one of its<br />
dependencies, was not found..</p></blockquote>
<p>The key to the problem is that my Environment Path variable is set to point at .Net framework 1 right through to 3.5, and it appears to default to applications in version 1. I just ran this in the end</p>
<blockquote><p><strong>C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727&gt;InstallUtil.exe</strong> &#8220;C:\Documents and<br />
Settings\Administrator\Desktop\ORS2\API\WindowsHostService\bin\Debug\WindowsHost<br />
Service.exe&#8221;</p></blockquote>
<p>And it worked fine using the ver 2.0 installer.</p>
]]></content:encoded>
			<wfw:commentRss>http://russtaylor.co.uk/2008/07/installing-a-vs2008-service-using-installutilexe-not-working/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
