I have a COM component written in C # that implements ISmartTagAction to add actions to the context menu for items such as recipients and senders of mail.
It is simply a .NET class library that provides some classes through COM interoperability. I am currently deploying this using a Visual Studio installation project. This installer simply registers the DLL for COM and adds an additional additional registry key to inform Outlook of the new smart tag class.
This works fine, but I recently made two unrelated projects that were deployed with a click once in one case and as a complement to VSTO Outlook in another case, and it was much nicer for end users, mainly because of the auto-update function clickonce.
I did some research, and I did not find a way to distribute this COM library through a click once, because there seems to be no way to click once by registering the DLL. It's right? Is there any way to make this work?
Another idea I had was to create an Outlook addin project and somehow place these classes in this project and use the VSTO publishing functions to push it. I don't know how to register a smart tag on the fly, though.
Can anyone think of an approach that will make this work? Basically, I am looking for an auto-update function, so for those who are not technical, it is painless to receive updates when they are available.
source
share