Manual Registration

Add-in Express™ Support Service
That's what is more important than anything else

Manual Registration
 
Nicholas Glasier




Posts: 110
Joined: 2005-02-12
Hi,

I would like to develop a setup utility that can register add-ins, and have been looking through the registry to find the entries for an add-in registered through the run menu option in Delphi.

The add-in is for Word, and was not registered for all users.

I found a total of 10 entries:

4 for HKEY_CLASSES_ROOT

2 for CLSID INProcServer and ProgID both with the Class TGUID
1 for TypeLib with the LibID TGUID
1 with the libraryname as an object

4 for HKEY_LOCAL_MACHINE\SOFTWARE\Classes

Same as for HKEY_CLASSES_ROOT

1 for HKEY_CURRENT_USER\Software\Microsoft\Office\Word\Addins\

1 for HKEY_USERS\”a very long number”\Software\Microsoft\Office\Word\Addins\

How many of these do I have to register myself, and how many does the Registry or Office handle for me?

What do I register for an “all users” situation.

Any help on this would be much appreciated.

TIA Nick
Posted 05 Apr, 2005 06:24:12 Top
Dmitry Kostochko


Add-in Express team


Posts: 2740
Joined: 2004-04-05
Hi Nick,

It seems you have chosen a hard way. Simply try to call the DllRegisterServer function from your setup utility. This is a standard function of any COM library. See also the DllUnregisterServer function.

Posted 05 Apr, 2005 06:41:46 Top
Lukas Zweckmayr




Posts: 27
Joined: 2004-10-22
if you use the nullsoft installer (nsis) look for the Library.nsh addon and InstallLib (REGDLL) functions.
Posted 05 Apr, 2005 10:54:35 Top
Guest


Guest


Thanks Dmitry, I was definitely doing it the hard way :)
Thanks for your reply Lukas, but I don't use nullsoft.

Nick
Posted 05 Apr, 2005 17:03:07 Top