Deploying the add-in

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

Deploying the add-in
Call to DllRegisterServer failed 
Michael Hovdan




Posts: 37
Joined: 2010-06-26
Thanks, Andrei.
I tried to put code like this in each of the event handlers that you mention.
ShowMessage('RibbonBeforeCreate');

I did similar for all 4 events, but none of the events were fired when I started up Excel. However, when I installed the add-in from within Delphi IDE, Excel starts up and all 4 messageboxes pop up after a very long time (just after loading ATPVBAEN.XLAM, the standard Analysis-ToolPak-VBA).
Posted 16 Aug, 2016 05:26:19 Top
Michael Hovdan




Posts: 37
Joined: 2010-06-26
When I do the same with the adxCOMAddInModuleAfterAddinRegister event, I get the same behavior (and no behavior) as with the other events. Yet, my add-in does show up in the COM addin list (but still unloaded) when installing with Inno.
Posted 16 Aug, 2016 05:55:05 Top
Michael Hovdan




Posts: 37
Joined: 2010-06-26
Here is the complete log from Inno. Both installation and registration are reported to be successful:

2016-08-16 13:39:28.225   Log opened. (Time zone: UTC+02:00)
2016-08-16 13:39:28.225   Setup version: Inno Setup version 5.5.3 (a)
2016-08-16 13:39:28.225   Original Setup EXE: C:UsersMikeDocumentsEmbarcaderoStudioProjectsExcSimBasic_SetupInstall_ExcSimBasic-v200.exe
2016-08-16 13:39:28.225   Setup command line: /SL5="$9B15B4,8709977,56832,C:UsersMikeDocumentsEmbarcaderoStudioProjectsExcSimBasic_SetupInstall_ExcSimBasic-v200.exe" /LOG="C:UsersMikeDocumentsEmbarcaderoStudioProjectsExcSimBasic_SetupInno.Log"
2016-08-16 13:39:28.225   Windows version: 6.2.9200  (NT platform: Yes)
2016-08-16 13:39:28.225   64-bit Windows: Yes
2016-08-16 13:39:28.225   Processor architecture: x64
2016-08-16 13:39:28.225   User privileges: Administrative
2016-08-16 13:39:28.226   64-bit install mode: No
2016-08-16 13:39:28.228   Created temporary directory: C:UsersMikeAppDataLocalTempis-A8TMO.tmp
2016-08-16 13:39:32.554   Starting the installation process.
2016-08-16 13:39:32.555   Creating directory: C:Program Files (x86)ExcSimBasic
2016-08-16 13:39:32.556   Directory for uninstall files: C:Program Files (x86)ExcSimBasic
2016-08-16 13:39:32.557   Creating new uninstall log: C:Program Files (x86)ExcSimBasicunins000.dat
2016-08-16 13:39:32.559   -- File entry --
2016-08-16 13:39:32.559   Dest filename: C:Program Files (x86)ExcSimBasicunins000.exe
2016-08-16 13:39:32.560   Time stamp of our file: 2016-08-16 13:39:28.113
2016-08-16 13:39:32.560   Installing the file.
2016-08-16 13:39:32.562   Uninstaller requires administrator: Yes
2016-08-16 13:39:32.562   Successfully installed the file.
2016-08-16 13:39:32.563   -- File entry --
2016-08-16 13:39:32.563   Dest filename: C:Program Files (x86)ExcSimBasicExcSimBasicPrj.dll
2016-08-16 13:39:32.563   Time stamp of our file: 2016-08-16 01:24:06.000
2016-08-16 13:39:32.563   Installing the file.
2016-08-16 13:39:33.235   Successfully installed the file.
2016-08-16 13:39:33.235   Will register the file (a DLL/OCX) later.
2016-08-16 13:39:33.236   -- File entry --
2016-08-16 13:39:33.236   Dest filename: C:Program Files (x86)ExcSimBasicgdiplus.dll
2016-08-16 13:39:33.236   Time stamp of our file: 2011-09-28 11:18:50.000
2016-08-16 13:39:33.236   Installing the file.
2016-08-16 13:39:33.313   Successfully installed the file.
2016-08-16 13:39:33.314   Registering 32-bit DLL/OCX: C:Program Files (x86)ExcSimBasicExcSimBasicPrj.dll
2016-08-16 13:39:33.316   Spawning 32-bit RegSvr32: "C:WINDOWSsystem32
egsvr32.exe" /s "C:Program Files (x86)ExcSimBasicExcSimBasicPrj.dll"
2016-08-16 13:39:34.787   Registration successful.
2016-08-16 13:39:34.856   Installation process succeeded.
2016-08-16 13:39:34.857   Need to restart Windows? No
2016-08-16 13:39:35.795   Deinitializing Setup.
2016-08-16 13:39:35.801   Log closed.
Posted 16 Aug, 2016 06:55:38 Top
Andrei Smolin


Add-in Express team


Posts: 14140
Joined: 2006-05-11
Hello Michael,

If you open File | options | Add-ins, under what heading the add-in is listed?

Also, could you please send us the add-in's DLL? If this is possible, please find the support email address in {Add-in Express installation folder}\readme.txt and make sure your email contains a link to this topic.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 17 Aug, 2016 06:25:59 Top
Michael Hovdan




Posts: 37
Joined: 2010-06-26
I found the problem. The Inno script has a function IsOffice64() that reports falsely that I am running Office64. I have Office32 (in Windows64).
Posted 17 Aug, 2016 07:09:53 Top
Andrei Smolin


Add-in Express team


Posts: 14140
Joined: 2006-05-11
Incredible!

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 17 Aug, 2016 07:15:45 Top