Nicholas Glasier
Guest
|
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
|
|
Dmitry Kostochko
Add-in Express team
Posts: 2887
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.
|
|
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. |
|
Guest
Guest
|
Thanks Dmitry, I was definitely doing it the hard way :)
Thanks for your reply Lukas, but I don't use nullsoft.
Nick |
|