The ADX Registrator can't find the Add-in Express core library

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

The ADX Registrator can't find the Add-in Express core library
The ADX Registrator can't find the Add-in Express core library 
SonomaJack




Posts: 189
Joined: 2006-06-30
I am trying to install an add-in for Outlook on 32 bit Windows XP (actually it is XP mode in Win 7). The installation program is InstallShield (created in VS10 via the ADX create setup).

I am getting error "The ADX Registrator can't find the Add-in Express core library."

The posts that I found talk about making sure that AddinExpress.MSO.2005.dll is deployed, which it is. See below for the installed ADX file listing from the target machine.

04/06/2011 08:04 PM 4,293,632 AAORedLib.dll
04/20/2011 07:57 PM 2,041,080 AddinExpress.MSO.2005.dll
03/23/2011 09:02 PM 466,944 adxloader.dll
03/23/2011 09:03 PM 657,920 adxloader64.dll
01/27/2009 01:34 PM 4,608 extensibility.dll
01/14/2007 06:18 PM 151,552 Interop.Office.dll
01/14/2007 06:18 PM 286,720 Interop.Outlook.dll


ADX log file:
**********************************************************
Add-in Express Registrator Log File: 04/21/2011 18:59:00

Installation directory: C:\WINDOWS\Installer\
Registrator version: 6.4.3056.0
Operating System: Microsoft Windows XP Professional Service Pack 3 (build 2600)
Process Owner: Administrator
Command Line: "C:\WINDOWS\Installer\MSI1CE.tmp" /uninstall="C:\Program Files\AAOutlook\REMSCore.dll" /privileges=user
Run 'As Administrator': Yes
Process Elevated: No
Integrity Level: Untrusted
UAC (User Account Control): Off
--------------------------------------------------------------
18:59:00 0116 Starting the add-in unregistration process.
18:59:00 0116 Loading mscoree.dll
18:59:00 0116 Success.
18:59:00 0116 .NET Framework installation directory:
18:59:00 0116 The latest version of .NET Framework: 'v4.0.30319'
18:59:00 0116 Loading CLR: v4.0.30319.
18:59:00 0116 Calling CLRCreateInstance method.
18:59:00 0116 Success.
18:59:00 0116 Calling GetRuntime method.
18:59:00 0116 Success.
18:59:00 0116 Calling GetInterface method.
18:59:00 0116 Calling GetInterface method for the CorRuntimeHost interface.
18:59:00 0116 Success.
18:59:00 0116 Starting CLR...
18:59:02 0116 Success.
18:59:02 0116 The CLR v4.0.30319 has been initialized successfully.
18:59:02 0116 Creating a new domain setup.
18:59:02 0116 Success.
18:59:02 0116 Getting the add-in directory.
18:59:02 0116 Success. The directory is C:\WINDOWS\Installer\
Posted 21 Apr, 2011 20:29:37 Top
SonomaJack




Posts: 189
Joined: 2006-06-30
The balance of the log file it below, I could not post it to the original post.

18:59:02 0116 The 'shadow copy' is disabled.
18:59:02 0116 Creating a new application domain.
18:59:03 0116 Success.
18:59:03 0116 Getting the base directory for the domain.
18:59:03 0116 Success. The directory is 'C:\WINDOWS\Installer\'.
18:59:03 0116 Searching for the Add-in Express core library.
18:59:03 0116 Error: The ADX Registrator can't find the Add-in Express core library.
18:59:03 0116 The add-in unregistration process is completed with HRESULT = -2147024894.
Posted 21 Apr, 2011 20:37:25 Top
Eugene Astafiev


Guest


Hi Jack,

Thank you for providing me with the adxregistrator.log file. I have noticed the following line in the log:

18:59:03 0116 Error: The ADX Registrator can't find the Add-in Express core library.


Are you able to reproduce the issue with an automatically generated MSI setup project? Does it work?
Posted 22 Apr, 2011 06:18:05 Top
SonomaJack




Posts: 189
Joined: 2006-06-30
First my configuration.

Visual Studio 2010
Using .Net 4
InstallShield 2011 Professional version 17 hotfix A
ADX version are in the original post - but was updated earlier this week.

When I add a setup project by right clicking on the project it takes me through the wizard then throws this error.





Detailed technical information follows:
---
Date and Time: 4/22/2011 7:26:43 AM
Machine Name: JACK-PC
IP Address: fe80::75a1:aa1f:2bfa:1b3d%12
Current User: Jack-PC\Jack

Application Domain: DefaultDomain
Assembly Codebase: file:///C:/Program Files (x86)/Add-in Express/Add-in Express for .NET/Bin/Packages/VS2005/AddinExpress.Wizard.dll
Assembly Full Name: AddinExpress.Wizard, Version=6.4.3056.2005, Culture=neutral, PublicKeyToken=4416dd98f0861965
Assembly Version: 6.4.3056.2005

Exception Source:
Exception Type: System.Runtime.InteropServices.COMException
Exception Message: Unspecified error (Exception from HRESULT: 0x80004005 (E_FAIL))
Exception Target Site: AddFromFile

---- Stack Trace ----
EnvDTE.SolutionClass.AddFromFile(FileName As String, Exclusive As Boolean)
AddinExpress.Wizard.dll: N 00000 (0x0) JIT
AddinExpress.SetupWizard.SetupWizardForm.CreateSetupProject(primaryOutputPath As String)
AddinExpress.Wizard.dll: N 1239 (0x4D7) IL
AddinExpress.SetupWizard.SetupWizardForm.CreateSetupProject(project As Project)
AddinExpress.Wizard.dll: N 0045 (0x2D) IL
AddinExpress.Wizard.ADXPackage.Exec(guidCmdGroup As Guid&, cmdID As UInt32, nCmdexecopt As UInt32, pvaIn As IntPtr, pvaOut As IntPtr)
AddinExpress.Wizard.dll: N 0811 (0x32B) IL
Posted 22 Apr, 2011 06:44:17 Top
Eugene Astafiev


Guest


Hi Jack,

Do you run Visual Studio as an administrator? Do you try to generate an MSI installer project (not InstallShield)?
Posted 22 Apr, 2011 07:42:02 Top
SonomaJack




Posts: 189
Joined: 2006-06-30
Eugene,

Thanks for your quick response.

I do run as administrator.

When you say MSI installer, are you referring to the Windows Installer option on the create setup project context menu? If so then yes that will complete successfully. However, I need the features and functionality of InstallShield to install the product- the basic windows installer project will not do everything I need to do on install.

Jack
Posted 22 Apr, 2011 07:57:09 Top
Eugene Astafiev


Guest


Hi Jack,

Please take a look at the similar http://www.add-in-express.com/forum/read.php?SHOWALL_1=1&FID=5&TID=8436#nav_start. Do you use InstallShield 2011 Express?
Posted 22 Apr, 2011 08:42:16 Top
SonomaJack




Posts: 189
Joined: 2006-06-30
Eugene,

I am using InstallShield 2011 Professional.

I was able to get the create install project wizard to work, by creating a new ADX Project and re-adding all my code and forms. After adding the IS setup project I added all the files and prerequisites then built the setup. When I deploy it I get the same message in the log file on the deployment machine:

18:59:03 0116 Success. The directory is 'C:\WINDOWS\Installer\'.
18:59:03 0116 Searching for the Add-in Express core library.
18:59:03 0116 Error: The ADX Registrator can't find the Add-in Express core library.
18:59:03 0116 The add-in unregistration process is completed with HRESULT = -2147024894.

Any ideas?

Jack
Posted 25 Apr, 2011 09:50:19 Top
Eugene Astafiev


Guest


Hi Jack,

18:59:03 0116 Error: The ADX Registrator can't find the Add-in Express core library.


Please make sure that you included the Add-in Express core library to the installer (AddinExpress.MSO.dll).
Posted 25 Apr, 2011 11:11:11 Top
SonomaJack




Posts: 189
Joined: 2006-06-30
I did add AddinExpress.MSO.2005.dll to the deployment folder ( where the dll and adxloader files are saved). But, it still reports the same error.

Jack
Posted 25 Apr, 2011 18:59:38 Top