<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.4" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: ClickOnce and Expiring Code Signing Certificates</title>
	<link>http://www.jamesharte.com/blog/?p=11</link>
	<description>Something clever should go here</description>
	<pubDate>Mon, 06 Sep 2010 17:17:33 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.4</generator>

	<item>
		<title>by: Paul Ballew</title>
		<link>http://www.jamesharte.com/blog/?p=11#comment-6788</link>
		<pubDate>Wed, 19 Dec 2007 19:58:01 +0000</pubDate>
		<guid>http://www.jamesharte.com/blog/?p=11#comment-6788</guid>
					<description>Nice solution.  One comment though: the format string for getting the PublicKeyToken has a bug if there's a 0 in the token.  It will drop the 0 if it's the first part of the byte.  This code will fix it:

String.Format("{0:x2}", pk[i]);

Thanks Jim!

Paul</description>
		<content:encoded><![CDATA[<p>Nice solution.  One comment though: the format string for getting the PublicKeyToken has a bug if there&#8217;s a 0 in the token.  It will drop the 0 if it&#8217;s the first part of the byte.  This code will fix it:</p>
<p>String.Format(&#8221;{0:x2}&#8221;, pk[i]);</p>
<p>Thanks Jim!</p>
<p>Paul
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: jim</title>
		<link>http://www.jamesharte.com/blog/?p=11#comment-6780</link>
		<pubDate>Mon, 10 Dec 2007 23:35:58 +0000</pubDate>
		<guid>http://www.jamesharte.com/blog/?p=11#comment-6780</guid>
					<description>Eric - try again, it should work now.  I recently changed hosting companies and lost that file in the shuffle!</description>
		<content:encoded><![CDATA[<p>Eric - try again, it should work now.  I recently changed hosting companies and lost that file in the shuffle!
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Eric</title>
		<link>http://www.jamesharte.com/blog/?p=11#comment-6779</link>
		<pubDate>Mon, 10 Dec 2007 19:36:16 +0000</pubDate>
		<guid>http://www.jamesharte.com/blog/?p=11#comment-6779</guid>
					<description>Hi Jim, Thanks for the blog, its been very helpful. Although the new sign tool technique is probably the way to go I'm still interested in your uninstall technique.  However the link to ClickOnceReinstall.zip appears to be dead.  Do you plan to make it available again?  If so I'd like to give it a try.  

PS Sorry for trying to register, I was confused!</description>
		<content:encoded><![CDATA[<p>Hi Jim, Thanks for the blog, its been very helpful. Although the new sign tool technique is probably the way to go I&#8217;m still interested in your uninstall technique.  However the link to ClickOnceReinstall.zip appears to be dead.  Do you plan to make it available again?  If so I&#8217;d like to give it a try.  </p>
<p>PS Sorry for trying to register, I was confused!
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: jim</title>
		<link>http://www.jamesharte.com/blog/?p=11#comment-3888</link>
		<pubDate>Tue, 25 Sep 2007 12:20:26 +0000</pubDate>
		<guid>http://www.jamesharte.com/blog/?p=11#comment-3888</guid>
					<description>Michael, I haven't looked at this in months and I don't remember having a problem publishing with the old certificate.  Sorry.

You may want to consider using this workaround instead:

http://blogs.msdn.com/danielma/archive/2007/03/19/clickonce-and-expired-certificates.aspx

It's less "kludgy", IMHO.</description>
		<content:encoded><![CDATA[<p>Michael, I haven&#8217;t looked at this in months and I don&#8217;t remember having a problem publishing with the old certificate.  Sorry.</p>
<p>You may want to consider using this workaround instead:</p>
<p><a href='http://blogs.msdn.com/danielma/archive/2007/03/19/clickonce-and-expired-certificates.aspx' rel='nofollow'>http://blogs.msdn.com/danielma/archive/2007/03/19/clickonce-and-expired-certificates.aspx</a></p>
<p>It&#8217;s less &#8220;kludgy&#8221;, IMHO.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Michael Jones</title>
		<link>http://www.jamesharte.com/blog/?p=11#comment-3867</link>
		<pubDate>Mon, 24 Sep 2007 20:57:16 +0000</pubDate>
		<guid>http://www.jamesharte.com/blog/?p=11#comment-3867</guid>
					<description>I read your comment above: "I deploy an update with the old certificate that contains the GÇ£reinstallGÇ¥ logic".  I can't understand how you are able to publish an update if the original certificate has expired.  Did I misunderstand something?  I am not able to update my app after the certificate has expired.</description>
		<content:encoded><![CDATA[<p>I read your comment above: &#8220;I deploy an update with the old certificate that contains the GÇ£reinstallGÇ¥ logic&#8221;.  I can&#8217;t understand how you are able to publish an update if the original certificate has expired.  Did I misunderstand something?  I am not able to update my app after the certificate has expired.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Freddie</title>
		<link>http://www.jamesharte.com/blog/?p=11#comment-2822</link>
		<pubDate>Wed, 22 Aug 2007 05:49:16 +0000</pubDate>
		<guid>http://www.jamesharte.com/blog/?p=11#comment-2822</guid>
					<description>Hey Jim, i just wanted to thank you a lot for your blog. it helps a lot. i have a question though, i incorporated your self-uninstall in my clickonce application. i noticed that it does not remove the application in the C:\Documents and Settings\user name\Local Settings\Apps\2.0 folder. unlike if you uninstall manually the application in the add/remove programs it clears the said folder. is it ok? thank you very much again. have a nice day! =)</description>
		<content:encoded><![CDATA[<p>Hey Jim, i just wanted to thank you a lot for your blog. it helps a lot. i have a question though, i incorporated your self-uninstall in my clickonce application. i noticed that it does not remove the application in the C:\Documents and Settings\user name\Local Settings\Apps\2.0 folder. unlike if you uninstall manually the application in the add/remove programs it clears the said folder. is it ok? thank you very much again. have a nice day! =)
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Steve</title>
		<link>http://www.jamesharte.com/blog/?p=11#comment-2592</link>
		<pubDate>Fri, 10 Aug 2007 13:01:31 +0000</pubDate>
		<guid>http://www.jamesharte.com/blog/?p=11#comment-2592</guid>
					<description>Great piece of work and documentation.  We have 140 locations with an average of 3 workstations per location.  I've been using VS 2005 since beta 1.  The Click-Once technology is terrific but, if anything goes wrong, you're hosed.  I have had the self-signing fail (you don't know until it is deployed and tested) because I added components to the app that it didn't consider the "same" as before.  Lately, I have had to publish twice (bumping the ver each time) to get the clients to install.
Anyway, thanks for your info here.  I will keep this link somewhere safe.</description>
		<content:encoded><![CDATA[<p>Great piece of work and documentation.  We have 140 locations with an average of 3 workstations per location.  I&#8217;ve been using VS 2005 since beta 1.  The Click-Once technology is terrific but, if anything goes wrong, you&#8217;re hosed.  I have had the self-signing fail (you don&#8217;t know until it is deployed and tested) because I added components to the app that it didn&#8217;t consider the &#8220;same&#8221; as before.  Lately, I have had to publish twice (bumping the ver each time) to get the clients to install.<br />
Anyway, thanks for your info here.  I will keep this link somewhere safe.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Jim Harte&#8217;s Blog &#187; Blog Archive &#187; Another Workaround for Expired ClickOnce Code Signing Certificates</title>
		<link>http://www.jamesharte.com/blog/?p=11#comment-885</link>
		<pubDate>Wed, 16 May 2007 18:01:29 +0000</pubDate>
		<guid>http://www.jamesharte.com/blog/?p=11#comment-885</guid>
					<description>[...] Daniel Margetic has posted a workaround for updating a ClickOnce application that has been deployed with an expired Authenticode certificate.&#160; I wrote about this problem back in January and came up with a kludge that involved automatically uninstalling the app and reinstalling from a new location. [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Daniel Margetic has posted a workaround for updating a ClickOnce application that has been deployed with an expired Authenticode certificate.&nbsp; I wrote about this problem back in January and came up with a kludge that involved automatically uninstalling the app and reinstalling from a new location. [&#8230;]
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: jim</title>
		<link>http://www.jamesharte.com/blog/?p=11#comment-54</link>
		<pubDate>Wed, 21 Feb 2007 01:31:44 +0000</pubDate>
		<guid>http://www.jamesharte.com/blog/?p=11#comment-54</guid>
					<description>Johnny,

I did see the MS article while researching this.  Unfortunately, I'm using a certificate from Thawte, so the C++ program won't work in my case.  That only works if you "self sign".  So, I opted for "method 1" :)

Thanks,
Jim</description>
		<content:encoded><![CDATA[<p>Johnny,</p>
<p>I did see the MS article while researching this.  Unfortunately, I&#8217;m using a certificate from Thawte, so the C++ program won&#8217;t work in my case.  That only works if you &#8220;self sign&#8221;.  So, I opted for &#8220;method 1&#8243; <img src='http://www.jamesharte.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Thanks,<br />
Jim
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Johnny Funch</title>
		<link>http://www.jamesharte.com/blog/?p=11#comment-52</link>
		<pubDate>Tue, 20 Feb 2007 20:04:44 +0000</pubDate>
		<guid>http://www.jamesharte.com/blog/?p=11#comment-52</guid>
					<description>Hi,

I was originally going to use your suggestion above but luckily MIcrosoft came up with a 'workaround'...

The solution above is only great if you can get to all the computers with the clickonce application installed.  Ours is installed in cars with a very unstable GPRS connection...  
 
Just so you know...

http://support.microsoft.com/Default.aspx?kbid=925521

The C++ program on the page above works well although it shouldn't have been a problem in the first place :)

tnx
~j</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I was originally going to use your suggestion above but luckily MIcrosoft came up with a &#8216;workaround&#8217;&#8230;</p>
<p>The solution above is only great if you can get to all the computers with the clickonce application installed.  Ours is installed in cars with a very unstable GPRS connection&#8230;  </p>
<p>Just so you know&#8230;</p>
<p><a href='http://support.microsoft.com/Default.aspx?kbid=925521' rel='nofollow'>http://support.microsoft.com/Default.aspx?kbid=925521</a></p>
<p>The C++ program on the page above works well although it shouldn&#8217;t have been a problem in the first place <img src='http://www.jamesharte.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>tnx<br />
~j
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
