<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Deploying ClickOnce on Multiple Environments</title>
	<atom:link href="http://www.kavinda.net/2007/01/26/clickonce-on-multiple-environments.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.kavinda.net/2007/01/26/clickonce-on-multiple-environments.html</link>
	<description></description>
	<lastBuildDate>Fri, 10 Sep 2010 00:36:10 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Greg Jackman</title>
		<link>http://www.kavinda.net/2007/01/26/clickonce-on-multiple-environments.html/comment-page-1#comment-26434</link>
		<dc:creator>Greg Jackman</dc:creator>
		<pubDate>Fri, 16 Jul 2010 11:21:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.kavinda.net/2007/01/26/ClickOnceOnMultipleEnvironments.aspx#comment-26434</guid>
		<description>Hi Kavinda.

I&#039;m the author of a tool that could really help in situations like this. ClickOnceMore is a ClickOnce tool designed to assist in automating ClickOnce builds. You can check it out at http://www.clickoncemore.net.

It includes the concept of &quot;macro sets&quot;, for example you could have a DEV and PROD macro set that each indicate a different certificate to use. Then when you run the command line version during your build you just indicate which macro set to use and the manifests will be signed with the correct certificate.

Check it out and let me know what you think. I&#039;m constantly trying to improve the software so any feedback would be greatly appreciated.

Regards,
Greg Jackman
Red Sky Software</description>
		<content:encoded><![CDATA[<p>Hi Kavinda.</p>
<p>I&#8217;m the author of a tool that could really help in situations like this. ClickOnceMore is a ClickOnce tool designed to assist in automating ClickOnce builds. You can check it out at <a href="http://www.clickoncemore.net" rel="nofollow">http://www.clickoncemore.net</a>.</p>
<p>It includes the concept of &#8220;macro sets&#8221;, for example you could have a DEV and PROD macro set that each indicate a different certificate to use. Then when you run the command line version during your build you just indicate which macro set to use and the manifests will be signed with the correct certificate.</p>
<p>Check it out and let me know what you think. I&#8217;m constantly trying to improve the software so any feedback would be greatly appreciated.</p>
<p>Regards,<br />
Greg Jackman<br />
Red Sky Software</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kavinda</title>
		<link>http://www.kavinda.net/2007/01/26/clickonce-on-multiple-environments.html/comment-page-1#comment-13114</link>
		<dc:creator>Kavinda</dc:creator>
		<pubDate>Wed, 24 Jun 2009 13:51:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.kavinda.net/2007/01/26/ClickOnceOnMultipleEnvironments.aspx#comment-13114</guid>
		<description>Hi Divyesh,

You could do something like:

mage -Sign ClientShell.manifest -CertFile companyPFX.pfx -Password pa$$word

see: http://cs.blueberryislandmedia.com/blogs/blueberries/archive/2009/04/24/clickonce-deployment-via-command-line-with-makecert.aspx

----------

I haven&#039;t tried this myself, but the other thing you could try is to use the certificate off the certificate store. To do this, 
1) Import the certificate to the certificate store (it will ask for the password here), 
2) Only specify the /p:ManifestCertificateThumbprint value and specify /p:ManifestKeyFile=&quot;&quot; as blank.

---------- 

Hope this helps</description>
		<content:encoded><![CDATA[<p>Hi Divyesh,</p>
<p>You could do something like:</p>
<p>mage -Sign ClientShell.manifest -CertFile companyPFX.pfx -Password pa$$word</p>
<p>see: <a href="http://cs.blueberryislandmedia.com/blogs/blueberries/archive/2009/04/24/clickonce-deployment-via-command-line-with-makecert.aspx" rel="nofollow">http://cs.blueberryislandmedia.com/blogs/blueberries/archive/2009/04/24/clickonce-deployment-via-command-line-with-makecert.aspx</a></p>
<p>&#8212;&#8212;&#8212;-</p>
<p>I haven&#8217;t tried this myself, but the other thing you could try is to use the certificate off the certificate store. To do this,<br />
1) Import the certificate to the certificate store (it will ask for the password here),<br />
2) Only specify the /p:ManifestCertificateThumbprint value and specify /p:ManifestKeyFile=&#8221;" as blank.</p>
<p>&#8212;&#8212;&#8212;- </p>
<p>Hope this helps</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Divyesh</title>
		<link>http://www.kavinda.net/2007/01/26/clickonce-on-multiple-environments.html/comment-page-1#comment-13113</link>
		<dc:creator>Divyesh</dc:creator>
		<pubDate>Wed, 24 Jun 2009 07:01:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.kavinda.net/2007/01/26/ClickOnceOnMultipleEnvironments.aspx#comment-13113</guid>
		<description>Hey nice post,

I have pfx which requires password. Could you plaese provide me the parameter that i can use to pass password for my pfx file.

Thanks,
Divyesh.</description>
		<content:encoded><![CDATA[<p>Hey nice post,</p>
<p>I have pfx which requires password. Could you plaese provide me the parameter that i can use to pass password for my pfx file.</p>
<p>Thanks,<br />
Divyesh.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kavinda</title>
		<link>http://www.kavinda.net/2007/01/26/clickonce-on-multiple-environments.html/comment-page-1#comment-4863</link>
		<dc:creator>Kavinda</dc:creator>
		<pubDate>Fri, 13 Mar 2009 03:55:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.kavinda.net/2007/01/26/ClickOnceOnMultipleEnvironments.aspx#comment-4863</guid>
		<description>HI KK,

You solution can contain all the .pfx files. The .pfx files aren&#039;t deployed with the ClickOnce app. They are used to sign application and deployment manifests.

So, all you need to make sure is that you&#039;re using different .pfx files for each environment when you&#039;re publishing the ClickOnce app.

To select .pfx files in Visual Studio:
Properties -&gt; Signing -&gt; Check &quot;Sign the ClickOnce manifest&quot; -&gt; Select from File

If you&#039;ve got only one .pfx file you can create as many certificates as you want using &quot;Create Test Certificate&quot;

Hope this helps</description>
		<content:encoded><![CDATA[<p>HI KK,</p>
<p>You solution can contain all the .pfx files. The .pfx files aren&#8217;t deployed with the ClickOnce app. They are used to sign application and deployment manifests.</p>
<p>So, all you need to make sure is that you&#8217;re using different .pfx files for each environment when you&#8217;re publishing the ClickOnce app.</p>
<p>To select .pfx files in Visual Studio:<br />
Properties -> Signing -> Check &#8220;Sign the ClickOnce manifest&#8221; -> Select from File</p>
<p>If you&#8217;ve got only one .pfx file you can create as many certificates as you want using &#8220;Create Test Certificate&#8221;</p>
<p>Hope this helps</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: KK</title>
		<link>http://www.kavinda.net/2007/01/26/clickonce-on-multiple-environments.html/comment-page-1#comment-4790</link>
		<dc:creator>KK</dc:creator>
		<pubDate>Thu, 12 Mar 2009 13:44:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.kavinda.net/2007/01/26/ClickOnceOnMultipleEnvironments.aspx#comment-4790</guid>
		<description>Could you please elaborate on switching the sign files. Should we remove the staging.pfx file and add production.pfx before production deployment ?</description>
		<content:encoded><![CDATA[<p>Could you please elaborate on switching the sign files. Should we remove the staging.pfx file and add production.pfx before production deployment ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.kavinda.net/2007/01/26/clickonce-on-multiple-environments.html/comment-page-1#comment-1905</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Mon, 12 Jan 2009 19:21:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.kavinda.net/2007/01/26/ClickOnceOnMultipleEnvironments.aspx#comment-1905</guid>
		<description>Your post solved my problems. I have been trying to install demo/test/prod ClickOnce versions side-by-side... your simple suggestion of switching the sign files worked. Keep on rockin&#039;, dood.</description>
		<content:encoded><![CDATA[<p>Your post solved my problems. I have been trying to install demo/test/prod ClickOnce versions side-by-side&#8230; your simple suggestion of switching the sign files worked. Keep on rockin&#8217;, dood.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
