I'm searching the way in order to properly deploy a Visio 2010 Add-in. I tried to publish it via ClickOnce, and it does the job. But I would like to have just one开发者_运维问答 file, in Setup.exe style. So I oped for a Setup Project, unfortunately with no success. The files are copied, I see it under the Programs list, but the add in is not registered. Perhaps you know how to check if Visio 2010 is installed during the installation process, if not abort it, and then register the add in? Any other solution?
After a long research I found this guide that explains everything, step by step and has an working example! Well done Microsoft!
http://msdn.microsoft.com/en-us/library/ff937654.aspx
Thanks
In order to deploy the addin you have to
- Create entry in registry form installer in HKCU\Software\Microsoft\Office... (manifest, loadBehavior, friendlyname, culuture etc)
- Attach to the installed files .VSTO and .manifest file
- Add VSTO runtime and proper .NET version to the pre-requisites
精彩评论