AdxRegister.exe /privileges=admin creates an entry in HKCU

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

AdxRegister.exe /privileges=admin creates an entry in HKCU
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\Excel\Addins\<ourAddIn> "ADXStartMode"="FIRSTSTART" 
Dirk




Posts: 73
Joined: 2017-10-05
Hello
If I register our com addin for excel with adxregister /privileges=admin a key in HKCU is created:
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\Excel\Addins\<ouraddinname>]
"ADXStartMode"="FIRSTSTART"

What does the key do? If I install a COM Add-IN for all users on a computer, only one user, the one which executed adxregister, has the registry key. All other users of that computer don't have it.

Is this a problem?

best regards,
Dirk
Posted 27 Mar, 2019 06:57:15 Top
Dmitry Kostochko


Add-in Express team


Posts: 2839
Joined: 2004-04-05
Hi Dirk,

This registry key is used for the AddinModule.StartMode property initialization.
Posted 27 Mar, 2019 07:52:26 Top
Dirk




Posts: 73
Joined: 2017-10-05
So if it is missing it is no problem?
Posted 01 Apr, 2019 05:30:44 Top
Andrei Smolin


Add-in Express team


Posts: 16681
Joined: 2006-05-11
Hello Dirk,

If that key is missing at startup, Add-in Express assumes ADXAddinModule.StartMode = ADXStartMode.smFirstStart. Later on, it creates that key and sets that registry value to ADXStartMode.smNormal.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 01 Apr, 2019 05:49:42 Top