
Registry Entries for the 2007 Microsoft Office System
The required add-in registry entries for the 2007 Microsoft Office system are located under the following registry key for all applications except Microsoft Office Visio:
HKEY_CURRENT_USER\Software\Microsoft\Office\application name\Addins\add-in ID
For Visio, the registry entries belong under the following registry key:
HKEY_CURRENT_USER\Software\Microsoft\Visio\Addins\add-in ID
Note: |
|---|
Applications in the 2007 Microsoft Office system only recognize
Visual Studio Tools for Office add-ins that are registered under HKEY_CURRENT_USER. This means that you cannot deploy a Visual Studio Tools for Office add-in for the 2007 Microsoft Office system to all users on a computer by registering the add-in under HKEY_LOCAL_MACHINE.
|
The following table lists the entries that are required under this registry key.
Entry
|
Type
|
Value
|
|---|
Description |
REG_SZ
|
A brief description of the add-in.
This description is displayed when the user selects the add-in in the Add-Ins pane of the Options dialog box in the Microsoft Office application.
|
FriendlyName |
REG_SZ
|
A descriptive name of the add-in that is displayed in the COM Add-Ins dialog box in the Microsoft Office application. The default value is the add-in ID.
|
LoadBehavior |
REG_DWORD
|
A value that specifies when the application attempts to load the add-in and the current state of the add-in (loaded or unloaded).
By default, this entry is set to 3, which specifies that the add-in is loaded at startup. For more information, see LoadBehavior Values.
|
Manifest |
REG_SZ
|
The full path of the deployment manifest for the add-in. The path can be a location on the local computer, a network share (UNC), or a Web server (HTTP).
Note: |
|---|
When you build an add-in on the development computer,
Visual Studio Tools for Office appends the string |vstolocal (that is, the pipe character | followed by vstolocal) to this registry entry. This helps Visual Studio Tools for Office to load the add-in when you run it from Visual Studio on the development computer.
|
|
Registry Entries for Outlook Form Regions
If you create a custom form region in an add-in for Microsoft Office Outlook 2007, a registry entry is used to register the form region with Outlook. This registry entry is located under the following key:
HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\FormRegions\message class
For more information, see Specifying Form Regions in the Windows Registry. For more information about Outlook form regions, see Creating Outlook Form Regions.