Video HowTo: ClickOnce installation for Office add-in in minutes (VB.NET)
This visual sample is purposed mainly for novices in Office development. It demonstrates the facilities of the ClickOnce technology with regard to installation of a simple Excel add-in based on Add-in Express with Advanced Excel Task Panes.
The video gives a quick outline of the development cycle and shows such stages as the add-in creation, installation of the first version, code adjustment, publication of changes, and finally, updating the add-in.
Now let’s see how this works:
Please note that we used the CheckForUpdates method directly in the AddinStartupComplete event for demonstration purposes only. You can use this method in the same event handler or in any other. However, if you use it in the same event, make sure you add a condition that won’t call this method at every start of the host application.
This sample video was captured in Visual Studio 2008 (VB.NET) with Add-in Express 2009 for Office and .net.