Monday, July 07, 2008

Customize Office 2007 Ribbon using Visual Studio 2008(Part 2)

In part 1 of the series, I posted a question as where are the Office Add-In built by VS 2008 saved, and today I somewhat find out an answer (though it is not complete answer yet) with help of this blog

The AddIn is physically located at C:\YourAddInDir\Bin\Debug, and when Office application starts, it looks into following registry location for custom AddIns developed by user

  • HKCU\Software\Microsoft\Office\<App>\AddIns

To see it, open a PowerShell window, and do the following

  • cd Registry:: HKCU\Software\Microsoft\Office\Word\AddIns
  • dir
  • get-itemproperty WordSearch format-list

Still some questions remain:

  1. How many places the Office app look during its startup?
  2. Where are all the MS built-in customizations located?

No comments: