Considerations while reading/writing registry keys under HKLM from Office Addin in Office Click-to-Run

An add-in running on Click-to-Run (C2R) version of Office (Office 365), which creates custom registry entries under HKLM hive, will have the registry entries created in the C2R portion of the registry . For example, if your add-in tries to create a registry entry HKLM\Software\MyCustomKey then it gets created as HKLM\SOFTWARE\Microsoft\Office\ClickToRun\REGISTRY\MACHINE\Software\Wow6432Node\MyCustomKey (Wow6432Node assuming 32-bit Office). This is by design as C2R…

0

Resolving performance issues with loading Office add-ins (VSTO add-ins or Shared add-ins)

Many Office developers report performance issues with loading Office add-ins (VSTO add-ins or Shared add-ins) but most of the time delay is due to external factors. This blog post tries to list possible reasons for delay in add-in load.  1).Net Cold Start  – There could be some delay due to time taken to load the assemblies/dependencies…

2

VSTO 4.0 SP1 will cause a VSTO Addin to not find its config file.

Few days back i worked on a problem where a VSTO addin was failing to load after VSTO 4.0 SP1 was installed on the machine. This addin was reading some data from its application configuration file. There was some error during the load of the addin and its load behavior changed to 2 without any…

4

MapPoint does not appear in the list of products while creating shared add-in in Visual Studio 2008

Issue Description: On a machine having Visual Studio 2008 and MapPoint 2009 installed, MapPoint does not appear in the list of products while developing a shared add-in using Visual Studio 2008, as shown below: This is a bug in MapPoint 2009. Workaround for this issue is to create necessary registry entries. Follow the steps below…

1

Troubleshooting COM Add-In load failures

This post helps troubleshoot Office COM Add-In load failures.  As there can be many factors contributing to the failure, it is necessary that we be methodical when we approach this issue to ensure we haven’t missed anything simple.   Before we begin, please note the terminology used in this post: COM Add-In is an Add-in…