Installation Problem: An error occurred during the add-in registration

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

Installation Problem: An error occurred during the add-in registration
 
Greg Ferber




Posts: 9
Joined: 2006-09-08
If I use the "Register Addin" from the build menu in VS .NET 2003, I can get my addin to work just fine on my end, however when trying to use the installer, it fails with the error "An error occurred during the add-in registration process." on my development machine and any other machine I try to use. Did I miss a step somewhere? The entire error message is below.


Detailed technical information follows:
---
Date and Time: 9/8/2006 11:41:21 AM
Machine Name: FERBER
IP Address: 192.168.1.101
Current User: FERBER\Greg

Application Domain: DefaultDomain
Assembly Codebase: file:///C:/Program Files/DesignR1/OIR1/AddinExpress.Install.dll
Assembly Full Name: AddinExpress.Install, Version=2.6.1760.2003, Culture=neutral, PublicKeyToken=null
Assembly Version: 2.6.1760.2003
Assembly Build Date: 10/26/2004 2:06:46 AM

Exception Source: AddinExpress.Install
Exception Type: System.ApplicationException
Exception Message: An error occurred during the add-in registration process.
Exception Target Site: InstallAddin

---- Stack Trace ----
AddinExpress.Install.ADXProjectInstaller.InstallAddin(addinFullName As String, adxAssemblyName As String, check As String, gac As String, regasm As String)
AddinExpress.Install.dll: N 00245 (0xF5) JIT
Posted 08 Sep, 2006 14:38:03 Top
Greg Ferber




Posts: 9
Joined: 2006-09-08
I updated to 2.7 and still have the same issue.

Detailed technical information follows:
---
Date and Time: 9/8/2006 12:31:00 PM
Machine Name: FERBER
IP Address: 192.168.1.101
Current User: FERBER\Greg

Application Domain: DefaultDomain
Assembly Codebase: file:///C:/Program Files/DesignR1/OIR1/AddinExpress.Install.dll
Assembly Full Name: AddinExpress.Install, Version=2.7.1762.2003, Culture=neutral, PublicKeyToken=null
Assembly Version: 2.7.1762.2003
Assembly Build Date: 10/28/2004 2:06:46 AM

Exception Source: AddinExpress.Install
Exception Type: System.ApplicationException
Exception Message: An error occurred during the add-in registration process.
Exception Target Site: InstallAddin

---- Stack Trace ----
AddinExpress.Install.ADXProjectInstaller.InstallAddin(addinFullName As String, adxAssemblyName As String, check As String, gac As String, regasm As String)
AddinExpress.Install.dll: N 00245 (0xF5) JIT


I could really use some help with this one. I've been through the installation documentation 4 times now, and everything is set correctly. Anyone?
Posted 08 Sep, 2006 15:23:57 Top
Greg Ferber




Posts: 9
Joined: 2006-09-08
So after a little more investigation it seems that this error is coming from the registration of the shim using regsvr32. Since figuring out why THAT isn't working would require knowing C++, I'm basically stuck. Still need help here...
Posted 08 Sep, 2006 15:41:04 Top
Greg Ferber




Posts: 9
Joined: 2006-09-08
And...Having adjusted the installer to use adxloader.dll and I get The 'DllRegister' function failed during execution (HRESULT = -2147024894). This is not quite the same error that the guy who reported the PerfCounters error was getting, as his HResult was -2147024891. Please tell me what I have to do to get my addin to install. I don't care if I have to write my own installer for it, I just need to know what I have to do.
Posted 08 Sep, 2006 16:55:39 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Greg.

Probably you missed some dependent assemnlies. Please check your setup project using the following document:
http://www.add-in-express.com/projects/deploymentguide.zip
Posted 08 Sep, 2006 22:11:04 Top
Greg Ferber




Posts: 9
Joined: 2006-09-08
Hi Sergey -

I have been through the deployment guide several times. I looked at the installer dll and due to that I tried using regsvr32 to register the shim and it failed. Am I incorrect that the shim should register using regsvr32?
Posted 09 Sep, 2006 00:15:15 Top
Greg Ferber




Posts: 9
Joined: 2006-09-08
I just tried following the directions in the deployment guide to create a new setup project and I'm getting the same error still. There are no extra dependencies to add since it's just using the normal Outlook DLLs and the Add-in Express DLLs to do its thing and they're all included in the setup projects. I have the Professional version of Add-in Express, purchased ~2 months ago. Can I send in my project and have you look at it?
Posted 09 Sep, 2006 03:59:11 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Greg.

Yes, please send me the project and will try to help.
Posted 09 Sep, 2006 06:17:35 Top
Ralph Smith




Posts: 45
Joined: 2006-06-19
Hello,

Was this resolved? I am getting this error once again.

I thought I had it solved a while back but now, nothing will get the adxloader loaded. DllRegister() and DllUnRegister() return -2147024894.

I believe that is file not found, which files do DllRegister access?

Thanks.
Posted 11 Sep, 2006 21:57:55 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Ralph.

The DllRegister function doesn't access any files. It just registers the add-in. Can I look at your project?
Posted 12 Sep, 2006 06:51:12 Top