RegisterForAllUsers

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

RegisterForAllUsers
Registry Keys for RegisterForAllUsers is not created 
Allen Drennan




Posts: 4
Joined: 2006-10-31
We have an MS Office Addin that we would like to register for all users on the system. We have set the RegisterForAllUsers property to true. The dll builds and register with the system without error. The problem is that the registry entries are not made as expected.

Specifically we believe that there should be a key created in
HKEY_LOCAL_MACHINE\Software\Microsoft\Office\Outlook\Addins
that refers to our addin. This key is not created.

This is Windows 7 with VCL and XE2 release 3.

Thanks
Alec Bergamini
Posted 20 Apr, 2012 17:31:53 Top
Andrei Smolin


Add-in Express team


Posts: 18794
Joined: 2006-05-11
Hello Alec,

Make sure that you register the add-in using elevated permissions; e.g. you can run the Command Prompt (if registering using regsvr32.exe) using "Run as administrator". Also, make sure that your .DPR is NOT modified in the way desirbed in the section "Registering with User Privileges", see {Add-in Express}\Docs\adxvcl.pdf on your development PC.


Andrei Smolin
Add-in Express Team Leader
Posted 23 Apr, 2012 04:08:00 Top
Allen Drennan




Posts: 4
Joined: 2006-10-31
Hi Andrei,
I've tried registering with regsvr32.exe fr om a command prompt run with administrative rights but still without success. Also we do not have "Registering with User Privileges" set up in the dpr.

Where does the registry entry get made? Is it done by the DLL or by regsvr32. I can't see in the Add express code wh ere the entry would happen.

Thanks
Alec Bergamini
Posted 23 Apr, 2012 13:46:15 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hi Alec,

Where does the registry entry get made? Is it done by the DLL or by regsvr32. I can't see in the Add express code wh ere the entry would happen.


You can find the registration code in the adxAddin.pas file, please see the UpdateRegistry method of the TadxFactory class.

What operating system do you have installed? Is it 64-bit OS? If yes, please check out the HKLM\SOFTWARE\Wow6432Node\Microsoft\Office\Outlook\Addins registry key.

Also, you can send your project (or some demo project with the same behavior) to us for testing. You can find our support email address in the readme.txt file located in the Add-in Express installation folder.
Posted 24 Apr, 2012 05:35:49 Top