Glen Lewis
Posts: 29
Joined: 2021-03-12
|
I cannot figure out why the installer isn't registering the XLL part of the Add-in
It does register the CLR add-in just fine (The Ribbon Bar Commands)
We have removed the add-in complete from the user machine and uninstalled office and reinstalled it.
Then installed the add-in after the office installation, still having an issue.
The installer has worked on all the other machines we have installed it too, but this one hasn't worked. Any ideas or what to look for to see where the issue is. I have run out of ideas to what the issue is.
Here is the users logs, I will post afterwards the logs from a machine that is working.
From the logs you can see the CRL is registering, but the XLL isn't even attempting too.
Add-in Express Loader Log File: 08/27/2021 11:27:07:830
Startup directory: C:\Users\rivmar1\AppData\Local\GL Consulting\ExcelFinanceAddIn\
Loader version: 9.5.4661.0
Operating System: Microsoft Windows 10 Professional (build 19043), 64-bit
Process Owner: Administrator
Command Line: "C:\Program Files\Microsoft Office\root\Office16\EXCEL.EXE"
Run 'As Administrator': No
Process Elevated: No
Integrity Level: Medium
UAC (User Account Control): On
------------------------------------------------------------------------
11:27:07:831 3704 22840 Start.
11:27:07:832 3704 22840 The minimum supported Office version is 16
11:27:07:832 3704 22840 The host's version is 16.0.14131.20360
11:27:07:832 3704 22840 Creating a new instance of the add-in loader.
11:27:07:832 3704 22840 Loading mscoree.dll
11:27:07:833 3704 22840 INFO: Assembly codebase - C:\Users\rivmar1\AppData\Local\GL Consulting\ExcelFinanceAddIn\ExcelFinanceAddIn.dll.
11:27:07:834 3704 22840 INFO: Assembly version - 1.2.6.0.
11:27:07:834 3704 22840 Success.
11:27:07:834 3704 22840 Loading the configuration from the system registry.
11:27:07:834 3704 22840 Getting the latest CLR version.
11:27:07:835 3704 22840 The latest CLR version is 'v4.0.30319'.
11:27:07:836 3704 22840 The configuration has been loaded successfully.
11:27:07:836 3704 22840 Runtime version: v4.0.30319.
11:27:07:836 3704 22840 Assembly name: ExcelFinanceAddIn, PublicKeyToken=F5A20BE33FBD8EF0.
11:27:07:836 3704 22840 Class name: ExcelFinanceAddIn.AddinModule.
11:27:07:836 3704 22840 Registry key: CLSID\{6174AD39-E73E-45E9-A520-6F087FC81F77}.
11:27:07:836 3704 22840 Attempting to create a new instance of the managed add-in class: CLR - v4.0.30319
11:27:07:836 3704 22840 Loading CLR: v4.0.30319.
11:27:07:836 3704 22840 Calling CLRCreateInstance method.
11:27:07:836 3704 22840 Success.
11:27:07:836 3704 22840 Calling GetRuntime method.
11:27:07:837 3704 22840 Success.
11:27:07:837 3704 22840 Checking if the hosting API of .NET Framework v4.0 beta is installed.
11:27:07:963 3704 22840 The hosting API is up to date.
11:27:07:963 3704 22840 Calling SetDefaultStartupFlags method.
11:27:07:963 3704 22840 Success.
11:27:07:963 3704 22840 Calling GetInterface method for the CorRuntimeHost interface.
11:27:07:963 3704 22840 Success.
11:27:07:963 3704 22840 Starting CLR...
11:27:07:963 3704 22840 Success.
11:27:07:963 3704 22840 Getting the CLR version.
11:27:07:963 3704 22840 The CLR v4.0.30319 has been initialized successfully.
11:27:07:963 3704 22840 Creating a new domain setup.
11:27:08:381 3704 22840 Success.
11:27:08:381 3704 22840 Getting the add-in directory.
11:27:08:381 3704 22840 Success. The directory is 'C:\Users\rivmar1\AppData\Local\GL Consulting\ExcelFinanceAddIn\'
11:27:08:414 3704 22840 The 'shadow copy' is disabled.
11:27:08:414 3704 22840 Creating a new application domain.
11:27:08:597 3704 22840 Success.
11:27:08:597 3704 22840 Creating an instance of the managed class. Assembly identity: 'ExcelFinanceAddIn, PublicKeyToken=F5A20BE33FBD8EF0'
11:27:10:167 3704 22840 Success.
11:27:10:167 3704 22840 Unwrapping the managed class.
11:27:10:349 3704 22840 Success.
11:27:10:349 3704 22840 Querying the add-in extensibility.
11:27:10:349 3704 22840 Success.
11:27:10:349 3704 22840 Querying the custom task panes.
11:27:10:349 3704 22840 Success.
11:27:10:349 3704 22840 Querying the ribbon extensibility.
11:27:10:349 3704 22840 Success.
11:27:10:349 3704 22840 Querying the form regions.
11:27:10:350 3704 22840 Success.
11:27:10:350 3704 22840 Querying the encryption provider.
11:27:10:350 3704 22840 The 'EncryptionProvider' interface is not supported.
11:27:10:350 3704 22840 Getting the dispid of the 'Dispose' method.
11:27:10:501 3704 22840 Success.
11:27:10:501 3704 22840 Getting the dispid of the 'InitializeLoaderService' method.
11:27:10:503 3704 22840 Success.
11:27:10:503 3704 22840 Invoking the 'InitializeLoaderService' method.
11:27:10:915 3704 22840 Success.
11:27:10:915 3704 22840 The instance of the managed add-in class has been created successfully.
Add-in Express Loader Log File: 08/27/2021 11:42:40:450
Startup directory: C:\Users\glen.lewis\AppData\Local\GL Consulting\ExcelFinanceAddIn\
Loader version: 9.5.4661.0
Operating System: Microsoft Windows 10 Professional (build 22000), 64-bit
Process Owner: Administrator
Command Line: "C:\Program Files\Microsoft Office\root\Office16\EXCEL.EXE"
Run 'As Administrator': No
Process Elevated: No
Integrity Level: Medium
UAC (User Account Control): On
------------------------------------------------------------------------
11:42:40:452 4664 32056 The minimum supported Office version is 16
11:42:40:453 4664 32056 The host's version is 16.0.14228.20250
11:42:40:453 4664 32056 Creating a new instance of the XLL loader.
11:42:40:453 4664 32056 Loading mscoree.dll
11:42:40:453 4664 32056 INFO: Assembly codebase - C:\Users\glen.lewis\AppData\Local\GL Consulting\ExcelFinanceAddIn\ExcelFinanceAddIn.dll.
11:42:40:453 4664 32056 INFO: Assembly version - 1.2.6.0.
11:42:40:453 4664 32056 Success.
11:42:40:453 4664 32056 Getting the CLSID of the managed XLL class.
11:42:40:453 4664 32056 Success.
11:42:40:453 4664 32056 Loading the configuration from the system registry.
11:42:40:453 4664 32056 Getting the latest CLR version.
11:42:40:454 4664 32056 The latest CLR version is 'v4.0.30319'.
11:42:40:454 4664 32056 The configuration has been loaded successfully.
11:42:40:454 4664 32056 Runtime version: v4.0.30319.
11:42:40:454 4664 32056 Assembly name: ExcelFinanceAddIn, PublicKeyToken=f5a20be33fbd8ef0.
11:42:40:454 4664 32056 Class name: ExcelFinanceAddIn.XllFunctions.
11:42:40:454 4664 32056 Registry key: CLSID\{7C2AC8AD-DEF7-35F9-B44B-239C23656659}.
11:42:40:454 4664 32056 Attempting to create a new instance of the managed XLL class: CLR - v4.0.30319
11:42:40:454 4664 32056 Loading CLR: v4.0.30319.
11:42:40:454 4664 32056 Calling CLRCreateInstance method.
11:42:40:454 4664 32056 Success.
11:42:40:454 4664 32056 Calling GetRuntime method.
11:42:40:454 4664 32056 Success.
11:42:40:454 4664 32056 Checking if the hosting API of .NET Framework v4.0 beta is installed.
11:42:40:461 4664 32056 The hosting API is up to date.
11:42:40:461 4664 32056 Calling SetDefaultStartupFlags method.
11:42:40:461 4664 32056 Success.
11:42:40:461 4664 32056 Calling GetInterface method for the CorRuntimeHost interface.
11:42:40:461 4664 32056 Success.
11:42:40:461 4664 32056 Starting CLR...
11:42:40:461 4664 32056 Success.
11:42:40:461 4664 32056 Getting the CLR version.
11:42:40:461 4664 32056 The CLR v4.0.30319 has been initialized successfully.
11:42:40:461 4664 32056 Creating a new domain setup.
11:42:40:462 4664 32056 Success.
11:42:40:462 4664 32056 Getting the add-in directory.
11:42:40:462 4664 32056 Success. The directory is 'C:\Users\glen.lewis\AppData\Local\GL Consulting\ExcelFinanceAddIn\'
11:42:40:463 4664 32056 The 'shadow copy' is disabled.
11:42:40:463 4664 32056 Creating a new application domain.
11:42:40:465 4664 32056 Success.
11:42:40:465 4664 32056 Getting the base directory for the domain.
11:42:40:465 4664 32056 Success. The directory is 'C:\Users\glen.lewis\AppData\Local\GL Consulting\ExcelFinanceAddIn\'.
11:42:40:465 4664 32056 Opening adxloader.dll.manifest.
11:42:40:465 4664 32056 Success. The manifest is 'C:\Users\glen.lewis\AppData\Local\GL Consulting\ExcelFinanceAddIn\adxloader.dll.manifest'.
11:42:40:465 4664 32056 Getting the 'assemblyIdentity' element.
11:42:40:465 4664 32056 Success.
11:42:40:465 4664 32056 Getting the 'name' attribute.
11:42:40:465 4664 32056 Success. The name is 'ExcelFinanceAddIn, PublicKeyToken=f5a20be33fbd8ef0'.
11:42:40:466 4664 32056 Getting the 'name' attribute.
11:42:40:466 4664 32056 Success. The class name is 'ExcelFinanceAddIn.XllFunctions'.
11:42:40:466 4664 32056 Attempting to create a new instance of the XLL class.
11:42:40:476 4664 32056 Success.
11:42:40:476 4664 32056 Getting the dispid of the 'autoOpen' method.
11:42:40:477 4664 32056 Success.
11:42:40:477 4664 32056 Getting the dispid of the 'autoClose' method.
11:42:40:477 4664 32056 Success.
11:42:40:477 4664 32056 Getting the dispid of the 'autoAdd' method.
11:42:40:477 4664 32056 Success.
11:42:40:477 4664 32056 Getting the dispid of the 'autoRemove' method.
11:42:40:477 4664 32056 Success.
11:42:40:477 4664 32056 Getting the dispid of the 'autoFree' method.
11:42:40:477 4664 32056 Success.
11:42:40:477 4664 32056 Getting the dispid of the 'autoFree12' method.
11:42:40:477 4664 32056 Success.
11:42:40:477 4664 32056 Getting the dispid of the 'addInManagerInfo' method.
11:42:40:477 4664 32056 Success.
11:42:40:477 4664 32056 Getting the dispid of the 'addInManagerInfo12' method.
11:42:40:477 4664 32056 Success.
11:42:40:477 4664 32056 Getting the dispid of the 'Dispose' method.
11:42:40:477 4664 32056 Success.
11:42:40:477 4664 32056 Getting the dispid of the 'initialize4' method.
11:42:40:477 4664 32056 Success.
11:42:40:477 4664 32056 Invoking the 'initialize4' method.
11:42:40:528 4664 32056 Success.
11:42:40:528 4664 32056 The instance of the managed XLL class has been created successfully.
11:42:40:528 4664 32056 Forwarding xlAutoOpen to the managed code.
11:42:40:548 4664 32056 Success.
11:42:40:551 4664 32056 Start.
11:42:40:551 4664 32056 The minimum supported Office version is 16
11:42:40:551 4664 32056 The host's version is 16.0.14228.20250
11:42:40:551 4664 32056 Creating a new instance of the add-in loader.
11:42:40:551 4664 32056 Success.
11:42:40:551 4664 32056 Loading the configuration from the system registry.
11:42:40:551 4664 32056 Getting the latest CLR version.
11:42:40:551 4664 32056 The latest CLR version is 'v4.0.30319'.
11:42:40:551 4664 32056 The configuration has been loaded successfully.
11:42:40:551 4664 32056 Runtime version: v4.0.30319.
11:42:40:551 4664 32056 Assembly name: ExcelFinanceAddIn, PublicKeyToken=F5A20BE33FBD8EF0.
11:42:40:551 4664 32056 Class name: ExcelFinanceAddIn.AddinModule.
11:42:40:551 4664 32056 Registry key: CLSID\{6174AD39-E73E-45E9-A520-6F087FC81F77}.
11:42:40:551 4664 32056 Attempting to create a new instance of the managed add-in class: CLR - v4.0.30319
11:42:40:551 4664 32056 Creating an instance of the managed class. Assembly identity: 'ExcelFinanceAddIn, PublicKeyToken=F5A20BE33FBD8EF0'
11:42:40:606 4664 32056 Success.
11:42:40:606 4664 32056 Unwrapping the managed class.
11:42:40:607 4664 32056 Success.
11:42:40:607 4664 32056 Querying the add-in extensibility.
11:42:40:608 4664 32056 Success.
11:42:40:608 4664 32056 Querying the custom task panes.
11:42:40:608 4664 32056 Success.
11:42:40:608 4664 32056 Querying the ribbon extensibility.
11:42:40:608 4664 32056 Success.
11:42:40:608 4664 32056 Querying the form regions.
11:42:40:608 4664 32056 Success.
11:42:40:608 4664 32056 Querying the encryption provider.
11:42:40:608 4664 32056 The 'EncryptionProvider' interface is not supported.
11:42:40:608 4664 32056 Getting the dispid of the 'Dispose' method.
11:42:40:609 4664 32056 Success.
11:42:40:609 4664 32056 Getting the dispid of the 'InitializeLoaderService' method.
11:42:40:609 4664 32056 Success.
11:42:40:609 4664 32056 Invoking the 'InitializeLoaderService' method.
11:42:40:609 4664 32056 Success.
11:42:40:609 4664 32056 The instance of the managed add-in class has been created successfully.
|
|
Glen Lewis
Posts: 29
Joined: 2021-03-12
|
Here is the registration log for the user that is having a problem.
I have compared it to other installations other than the user directory all the rest is the exact same.
Add-in Express Registrator Log File: 08/27/2021 11:26:31
Installation directory: C:\Users\rivmar1\AppData\Local\GL Consulting\ExcelFinanceAddIn\
Registrator version: 9.5.4661.0
Operating System: Microsoft Windows 10 Professional (build 19043), 64-bit
Process Owner: Administrator
Command Line: "C:\Users\rivmar1\AppData\Local\GL Consulting\ExcelFinanceAddIn\adxregistrator.exe" /install="ExcelFinanceAddIn.dll" /privileges=user
Run 'As Administrator': No
Process Elevated: No
Integrity Level: Medium
UAC (User Account Control): On
--------------------------------------------------------------
11:26:31 0500 Starting the add-in registration process.
11:26:31 0500 Loading mscoree.dll
11:26:31 0500 Success.
11:26:31 0500 .NET Framework installation directory:
11:26:32 0500 The latest version of .NET Framework: 'v4.0.30319'
11:26:32 0500 Loading CLR: v4.0.30319.
11:26:32 0500 Calling CLRCreateInstance method.
11:26:32 0500 Success.
11:26:32 0500 Calling GetRuntime method.
11:26:32 0500 Success.
11:26:32 0500 Checking if the hosting API of .NET Framework v4.0 beta is installed.
11:26:32 0500 The hosting API is up to date.
11:26:32 0500 Calling GetInterface method for the CorRuntimeHost interface.
11:26:32 0500 Success.
11:26:32 0500 Starting CLR...
11:26:32 0500 Success.
11:26:32 0500 Getting the CLR version.
11:26:32 0500 The CLR v4.0.30319 has been initialized successfully.
11:26:32 0500 Creating a new domain setup.
11:26:32 0500 Success.
11:26:32 0500 Getting the add-in directory.
11:26:32 0500 Success. The directory is 'C:\Users\rivmar1\AppData\Local\GL Consulting\ExcelFinanceAddIn\'
11:26:32 0500 The 'shadow copy' is disabled.
11:26:32 0500 Creating a new application domain.
11:26:32 0500 Success.
11:26:32 0500 Getting the base directory for the domain.
11:26:32 0500 Success. The directory is 'C:\Users\rivmar1\AppData\Local\GL Consulting\ExcelFinanceAddIn\'.
11:26:32 0500 Searching for the Add-in Express core library.
11:26:32 0500 Success. The 'AddinExpress.MSO.2005.dll' file is found.
11:26:32 0500 Creating an instance of the 'AddinExpress.Deployment.ADXRegistrator' class.
11:26:32 0500 Assembly identity is 'AddinExpress.MSO.2005'.
11:26:33 0500 Success.
11:26:33 0500 Unwrapping the instance of the 'AddinExpress.Deployment.ADXRegistrator' class.
11:26:33 0500 Success.
11:26:33 0500 Calling the managed registration procedure (DISPID = 1610743823).
11:26:34 1128 32 bits. The 'HKCU\Software\Microsoft\Office\Excel\AddIns\ExcelFinanceAddIn.AddinModule' registry key was created successfully for the 'ExcelFinanceAddIn.AddinModule' class: LoadBehavior=3
11:26:34 1128 32 bits. The 'HKCU\CLSID\{6174ad39-e73e-45e9-a520-6f087fc81f77}\InprocServer32' registry key was created successfully for the 'ExcelFinanceAddIn.AddinModule' class: C:\Users\rivmar1\AppData\Local\GL Consulting\ExcelFinanceAddIn\adxloader.ExcelFinanceAddIn.dll
11:26:34 1128 64 bits. The 'HKCU\Software\Microsoft\Office\Excel\AddIns\ExcelFinanceAddIn.AddinModule' registry key was created successfully for the 'ExcelFinanceAddIn.AddinModule' class: LoadBehavior=3
11:26:34 1128 64 bits. The 'HKCU\CLSID\{6174ad39-e73e-45e9-a520-6f087fc81f77}\InprocServer32' registry key was created successfully for the 'ExcelFinanceAddIn.AddinModule' class: C:\Users\rivmar1\AppData\Local\GL Consulting\ExcelFinanceAddIn\adxloader64.ExcelFinanceAddIn.dll
11:26:35 1128 The '/R "C:\Users\rivmar1\AppData\Local\GL Consulting\ExcelFinanceAddIn\adxloader64.ExcelFinanceAddIn.dll"' registry value was created successfully for the 'ExcelFinanceAddIn.XllFunctions' class.
11:26:35 1128 32 bits. The 'HKCU\CLSID\{7c2ac8ad-def7-35f9-b44b-239c23656659}\InprocServer32' registry key was created successfully for the 'ExcelFinanceAddIn.XllFunctions' class: mscoree.dll
11:26:35 1128 64 bits. The 'HKCU\CLSID\{7c2ac8ad-def7-35f9-b44b-239c23656659}\InprocServer32' registry key was created successfully for the 'ExcelFinanceAddIn.XllFunctions' class: mscoree.dll
11:26:36 0500 Registration success.
11:26:36 0500 The add-in registration process is completed with HRESULT = 0.
|
|
Andrei Smolin
Add-in Express team
Posts: 18816
Joined: 2006-05-11
|
Hello Glen,
Check whether your add-in is mentioned on the File | Options | Add-ins page. Also check the Excel Add-ins dialog.
Finally, check if the Excel Add-in Files item is checked/ticked on the File | Options | Trust Center | Trust Center Settings | File Block Settings page. If it is, clear it.
Regards from Poland (CEST),
Andrei Smolin
Add-in Express Team Leader |
|