开发者

After SETUP runs and Outlook Add-in is installed, how to enable the Add-in

开发者 https://www.devze.com 2023-02-19 07:15 出处:网络
Q. How to \"find\" and \"enable\" an add-in after installation Background I developed an add-in which targets Outlook 2007. I used C#, VSTO 4.0 and Visual Studio 2010. It runs fine when started from

Q. How to "find" and "enable" an add-in after installation

Background

I developed an add-in which targets Outlook 2007. I used C#, VSTO 4.0 and Visual Studio 2010. It runs fine when started from Visual Studio; it also runs fine against Outlook 2010.

Using the Publish Wizard of VStudio 2010, I created a SETUP.EXE in a "publishing folder".

I wanted to try this add-in against Outlook 2003 (it would be a bonus of this could work against that platform too).

On the machine with Outlook 2003 installed, I ran the above SETUP and this install ran fine without errors:

  • .Net Framework 4 Client Profile (x86 and x64) downloaded and installed
  • VStudio 2010 Tools for Offic开发者_运维知识库e Runtime (x86 and x64) downloaded and installed
  • MS Office customization was successfully installed

So, what to do now? I've researched this and I cannot find this recently installed add-in anywhere:

  • Nothing about this add-in in Tools-Options-Advanced Options-Add-In Manager
  • Nothing about this add-in in Tools-Options-Advanced Options-COM Add-Ins..
  • Nothing about this add-in in Registry: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ Outlook\Addins

The UI that should be exposed is a button on the Office CommandBar.

Thanks in advance..


I guess it's very simple. With VSTO 2010, you get a new runtime which cannot target Office 2003. See this MSDN blob article. There are also here on StackOverflow some discussions about the necessity to build two solutions (Office 2007/2010 vs. 2003).

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号