ClickOnce Update mechanism

Add-in Express™ Support Service
That's what is more important than anything else

ClickOnce Update mechanism
 
Thomas Reinberger




Posts: 7
Joined: 2005-03-15
Hi,

does anybody know if it is possible to use the .NET 2.0 ClickOnce mechanism to auto-update and Outlook addin?

I'd like to install my addin using a msi installer and just use the update functionality of ClickOnce but the problem seems to be that clickonce is only possible for application with an exe file - but the addin is just a dll.

Regards
Thomas
Posted 20 Apr, 2006 11:12:21 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Thomas.

As far as I know VS supports the ClickOnce technology for Windows Applications and VSTO based projects. We will publish ADX for VSTO soon and you will be able to use all benefits of this technology.
Posted 21 Apr, 2006 11:05:43 Top
Esteban Astudillo


Guest


I don't think this is possible. I may be wrong, but I remember watching one of the webcasts in the Microsoft's Channel 9 MSDN site. From the top of my head, I think this is one of them:

http://channel9.msdn.com/ShowPost.aspx?PostID=75021#75021

I think it was in this demo that she mentions that it was not possible to use the auto-update feature. Or maybe it was in one of the Visual Studio launching activities that I heard about it. Regardless, it's a good watch ;)

In any case, I implemented something similar for my add-in following the recommendations found in this link:

http://msdn.microsoft.com/msdnmag/issues/03/02/BITS/

PS: I don't use BITS though, but Jason does a great work explaining how to update your app in a secure way.

I hope it helps
Posted 21 Apr, 2006 12:24:31 Top