简体   繁体   中英

Office 2010 Add-in deployment

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM