Adding Addin in Outlook is hanging in Office 2019

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

Adding Addin in Outlook is hanging in Office 2019
 
Bernhard Roos




Posts: 4
Joined: 2023-01-18
Hello,
our Addin is working for years fine with Office2016. But now we have installed Office2019. And If we are add the Addin (Options/Addins) Outlook hangs on the Com-Addins-Dialog. The Addin doesn't appear in the list.

We compiled it with the latest AddInExpress (1. Decembre 2022) and Delphi 11.2 (Patch 1).
But the same problem we have with our AddIn compiled with Delphi 10.2 and an older AddInExpress.

What can be the reason?

Best wishes
Bernhard
Posted 18 Jan, 2023 09:55:34 Top
Andrei Smolin


Add-in Express team


Posts: 18782
Joined: 2006-05-11
Hello Bernhard,

Unregister your add-in, close the host application, use regedit.exe to sel LoadBehavior=2 on all add-ins in {HKLM or HKCU}\Software\Microsoft\Office\{host application}\Add-ins that have LoadBehavior = 3. Then register your add-in and check if this changes anything. If this doesn't work either, have a look at the logs of your antivirus software product.

Regards from Poland (GMT+1),

Andrei Smolin
Add-in Express Team Leader
Posted 18 Jan, 2023 10:03:42 Top
Bernhard Roos




Posts: 4
Joined: 2023-01-18
Hello Andrei,
thanks for your answer.
We've tried the changes in the registry. But this doesn't work either.
Then we looked to the protcol of the Bitdefender (Virus Scanner). There is no error.
Then we have deinstalled the bitdefender and tried again.
But it doesn't work.

What can we still try?

Best wishes
Bernhard
Posted 19 Jan, 2023 03:13:04 Top
Bernhard Roos




Posts: 4
Joined: 2023-01-18
One further Information.
I've made a simple Testproject without any programming. I've only used the wizard to create a Outlook Addin Project, then I've compiled it and tried it with Outlook 2019.
It also doesn't work. Outlook hangs on the Com-Addins Dialog and the Addin doesn't appear on the List.

Best wishes
Bernhard
Posted 19 Jan, 2023 03:25:37 Top
Andrei Smolin


Add-in Express team


Posts: 18782
Joined: 2006-05-11
Hello Bernhard,

Do you use this way to register the add-in with the application? Try to use regsvr32 instead.

Is the bitness of the add-in the same as of Outlook?

Finally, if the customer requires using only digitally signed add-ins (see https://admx.help/?Category=Office2016&Policy=access16.Office.Microsoft.Policies.Windows::L_RequirethatApplicationExtensionsaresigned), make sure you sign the add-in with a valid digital certificate.

Regards from Poland (GMT+1),

Andrei Smolin
Add-in Express Team Leader
Posted 19 Jan, 2023 06:01:37 Top
Bernhard Roos




Posts: 4
Joined: 2023-01-18
Thanks Andrei for the help.
This works.
Best wishes
Bernhard
Posted 20 Jan, 2023 08:08:31 Top