Outlook Addin won't install at one client (cont)

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

Outlook Addin won't install at one client (cont)
 
Richard Stevens




Posts: 63
Joined: 2007-01-24
Following on from https://www.add-in-express.com/forum/read.php?FID=1&TID=15205 which I can't seem to reply to.

We have an Outlook Addin that is currently working for all clients save one very big multi-national.

When they run Outlook logged in with admin privileges, the Addin works. Otherwise, it just freezes.

I have ProcMon logs for both scenarios. Do they cast any light on what's happening?

Thanks
Richard

http://www.boe-systems.co.uk/rs/AddInWorking.pml
http://www.boe-systems.co.uk/rs/AddInNotWorking.pml (a much larger log showing repeated reads of the dll but Outlook never finishes loading)
Posted 24 Oct, 2019 04:46:56 Top
Andrei Smolin


Add-in Express team


Posts: 18830
Joined: 2006-05-11
Hello Richard,

It looks like your add-in is per machine. Please confirm.

Did you try to start with *all* other COM add-ins turned off? Did you try to start without your add-in and to enable it using the COM Add-ins dialog.

The logs don't help. They seemingly describe how Outlook loads the DLL. There is difference but this is Windows who decides what and how to read. If your code doesn't start working, consider checking system logs, antivirus logs, Disabled Items, registry keys created for your add-in, etc. Check if a new empty add-in produces the same issue on that user.

PS. That topic was closed after 30 days of inactivity. You can ask us to reopen such a topic.


Andrei Smolin
Add-in Express Team Leader
Posted 24 Oct, 2019 09:23:00 Top
Richard Stevens




Posts: 63
Joined: 2007-01-24
Thanks Andrei but they have tried this on multiple PCs with the same results. It works if you have admin privileges, doesn't work if you don't.

Have even tried adding log in code to the Initialisation code of the AddInInitialize method but it doesn't even get that far. Is there anywhere else we could put logging code that is even earlier than that method?

A much simpler Addin we also built in Delphi (same version etc) works fine.

System Logs just report "Application hang" for Outlook.

Really stumped - any more suggestions as to how you would go about debugging this?
Posted 25 Oct, 2019 08:44:21 Top
Andrei Smolin


Add-in Express team


Posts: 18830
Joined: 2006-05-11
Hello Richard,

Is OnRibbonBeforeCreate event called? Is TadxFactory.Create() code line executed? You can also override the constructor of the TAddinModule class.

TADX_OLPageParams = class(TadxAddin, IADX_OLPageParams)
    procedure Initialize; override;
  end;

  TAddInModule = class(TadxCOMAddInModule)
    ...
  private
  protected
    ...
    constructor Create(AOwner: TComponent); override;
  end;



Andrei Smolin
Add-in Express Team Leader
Posted 25 Oct, 2019 08:54:59 Top