<?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>..::\\ www.christiano.ch //::.. &#187; Deploy ClickOnce Application on Apache</title>
	<atom:link href="http://www.christiano.ch/wordpress/tag/deploy-clickonce-application-on-apache/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.christiano.ch/wordpress</link>
	<description>christiano.ch blog - personal knowledge base, news, memoires et cetera</description>
	<lastBuildDate>Fri, 06 Jan 2012 15:28:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<meta xmlns="http://www.w3.org/1999/xhtml" name="robots" content="noindex,follow" />
		<item>
		<title>Publishing Microsoft ClickOnce Setup / Deployment using Apache</title>
		<link>http://www.christiano.ch/wordpress/2009/08/02/publishing-microsoft-clickonce-setup-deployment-using-apache/</link>
		<comments>http://www.christiano.ch/wordpress/2009/08/02/publishing-microsoft-clickonce-setup-deployment-using-apache/#comments</comments>
		<pubDate>Sun, 02 Aug 2009 08:59:54 +0000</pubDate>
		<dc:creator>christian</dc:creator>
				<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[ClickOnce]]></category>
		<category><![CDATA[Deploy ClickOnce Application on Apache]]></category>

		<guid isPermaLink="false">http://www.christiano.ch/wordpress/?p=127</guid>
		<description><![CDATA[Publishing a Microsoft ClickOnce Setup / Deploying ClickOnce using an Apache Webserver Although it might seem as though you can only use Microsoft&#8217;s ClickOnce installers with IIS, this is simply not true, as all you need to do is set &#8230; <a href="http://www.christiano.ch/wordpress/2009/08/02/publishing-microsoft-clickonce-setup-deployment-using-apache/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<h3>Publishing a Microsoft ClickOnce Setup / Deploying ClickOnce using an Apache Webserver</h3>
<p>Although it might seem as though you can only use Microsoft&#8217;s ClickOnce installers with IIS, this is simply not true, as all you need to do is set some mime types on the server.</p>
<p>The simplest way to do this is to add the following lines to a .htaccess file in the folder containing the ClickOnce files:<br />
<code><br />
AddType application/x-ms-application application<br />
AddType application/x-ms-manifest manifest<br />
AddType application/octet-stream deploy<br />
</code><br />
For some reason I also needed the following line in my .htaccess file<br />
<code><br />
<span id="more-127"></span><br />
AddType application/x-msdownload dll<br />
</code><br />
Once you&#8217;ve done this, your ClickOnce applications should install correctly. Since the release of Microsoft .NET Framework 3.5 SP1, ClickOnce applications work in both Internet Explorer and Mozilla Firefox. Earlier versions of the Framework will only run ClickOnce applications from Internet Explorer.</p>
<p>You may also want to add the correct mime types for XPS files, XAML files, XAML Browser Applications (XBAPs), and Silverlight 2.0 Applications. To add these, simply add the following lines:<br />
<code><br />
AddType application/vnd.ms-xpsdocument xps<br />
AddType application/xaml+xml xaml<br />
AddType application/x-ms-xbap xbap<br />
AddType application/x-silverlight-app xap<br />
</code></p>
<p>more information on <a href="http://httpd.apache.org/docs/2.0/mod/mod_mime.html#AddType" target="_blank">AddType Directive</a></p>
<p><strong>Important:</strong> Use FTP when publishing from Visual Studio, Unless you want to install FrontPage Server Extensions on your Apache!</p>
<h3>Using a ClickOnce application with FireFox</h3>
<p>Currently ClickOnce applications will only work with Internet Explorer, you use FireFox, but you will need to install the <a href="https://addons.mozilla.org/de/firefox/addon/1608" target="_blank">FFClickOnce extension</a>.</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Publishing+Microsoft+ClickOnce+Setup+%2F+Deployment+using+Apache+http%3A%2F%2Fchristiano.ch%2Fwordpress%2F%3Fp%3D127" title="Post to Twitter"><img class="nothumb" src="http://www.christiano.ch/wordpress/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/intent/tweet?text=Publishing+Microsoft+ClickOnce+Setup+%2F+Deployment+using+Apache+http%3A%2F%2Fchristiano.ch%2Fwordpress%2F%3Fp%3D127" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.christiano.ch/wordpress/2009/08/02/publishing-microsoft-clickonce-setup-deployment-using-apache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

