ClickOnce fails to deploy on Vista

I gave a presentation on ClickOnce and XBAPs at the VBUG Conference recently and I had a "Its never done that before" moment as ClickOnce failed to deploy. I was floored. It was my first demo in a presentation all about ClickOnce so it was difficult to ignore it and keep going. In the end I switched to a virtual machine and continued the presentation from there. However, that just avoided the problem instead of fixing it. The symptom, for the curious, is that after publishing the ClickOnce application and clicking on the Install button in publish.htm ClickOnce insists that the .NET Framework 2.0 is not installed (despite the deployment being performed on the same machine that Visual Studio 2005 published the app from and therefore had to have the .NET Framework 2.0 installed). publish.htm then offers to install the framework with "Would you like to download and install the Microsoft .NET Framework ?".

The answer comes courtesy of John Sinclair via Julie Lerman via Brian Noyes (the author of the excellent Smart Client Deployment Using ClickOnce) in Julie’s blog post ClickOnce on Vista installation problem SOLVED!. In essense the .application file association was pointing to the wrong application. Thanks, Brian, Julie and John.

Technorati Tags: ClickOnce, VBUG, Brian Noyes, Julie Lerman, John Sinclair

Currently rated 3.0 by 5 people

  • Currently 3/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Posted by: Guy Smith-Ferrier
Posted on: Friday, November 02, 2007 at 10:30 PM
Categories: Miscellaneous - Technical
Actions: E-mail | Kick it! | DZone it! | del.icio.us
Post Information: Permalink | Comments (0) | Post RSSRSS comment feed

Preview: Deploying Internationalized Applications Using ClickOnce

The Virtual Side have been doing pre-TechEd interviews with some of the speakers and there’s one with me talking about one of my sessions, Deploying Internationalized Applications Using ClickOnce, that you can listen to at http://www.mseventseurope.com/teched/07/Developers/news/Pages/PreInterviews.aspx. It’s a short (3 minutes 38 seconds) overview of what’s in the session and it should help people decide whether the content is for them. The session itself is on Friday 9th November 2007, 15:15 to 16:30 (last session of the conference!).

Technorati Tags: The Virtual Side, TechEd, ClickOnce, Internationalization, Localization

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Posted by: Guy Smith-Ferrier
Posted on: Friday, November 02, 2007 at 1:33 PM
Categories: Events
Actions: E-mail | Kick it! | DZone it! | del.icio.us
Post Information: Permalink | Comments (0) | Post RSSRSS comment feed