Call adxlauncher.exe via command line?

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

Call adxlauncher.exe via command line?
Is it possible to call adxlauncher via command line to register/unregister? 
Mark Borton




Posts: 5
Joined: 2016-09-26
Hi,

Is it possible to call adxlauncher via command line to perform an unregister/register? If not, is there any way to programmatically accomplish whatever is being done by adxlauncher.exe when the unregister/register buttons are clicked?

We have a situation where some users do not restart outlook to complete an add-in upgrade so the add-in never becomes registered. We are considering creating a tool to check for this situation and perform the registration.

Thanks,

Mark
Posted 06 Mar, 2018 12:26:06 Top
Andrei Smolin


Add-in Express team


Posts: 15369
Joined: 2006-05-11
Hello Mark,

It isn't possible to achieve this. I strongly suggest that you set DisplayAlerts=true on your add-in module; this will produce the effect desired.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 07 Mar, 2018 06:10:09 Top
Mark Borton




Posts: 5
Joined: 2016-09-26
Thanks for your reply. Can you provide a little more information about what DisplayAlerts will do? Will it alert the user that the upgrade didn't complete and ask them to register?
Posted 07 Mar, 2018 08:34:07 Top
Andrei Smolin


Add-in Express team


Posts: 15369
Joined: 2006-05-11
Hello Mark,

DisplayAlerts=True causes Add-in Express to show a warning message if the host application is running when the add-in is being uninstalled. You use the OnBeforeDisplayAlerts event to customize the message or to prevent the message from being shown.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 09 Mar, 2018 06:51:13 Top