Exception occurred during plugin installation

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

Exception occurred during plugin installation
 
ravinukala




Posts: 103
Joined: 2012-10-05
Hi Support,

Am developed IE plugin with help of Add-in Express.

Issue:
During installation on Windows 7 64x os, it throw an error in adxregistrator.log, but in windows installer it shown install successfully.

13:57:56 0700 Registering the 'objectspy.dll' assembly (administrator).
13:57:59 0212 Managed Error:
(Inner Exception)
Date and Time: 12/23/2013 1:57:59 PM
Machine Name: PU-SDSKUMA1
IP Address: fe80::c9e0:7c93:c358:a260%13
Current User: ZS\skumar4

Application Domain: C:\Program Files (x86)\Qualitia\Qualitia_ObjectSpy\ObjectSpy\
Assembly Codebase: file:///C:/Program Files (x86)/Qualitia/Qualitia_ObjectSpy/ObjectSpy/AddinExpress.IE.DLL
Assembly Full Name: AddinExpress.IE, Version=8.3.5068.0, Culture=neutral, PublicKeyToken=4416dd98f0861965
Assembly Version: 8.3.5068.0

Exception Source: AddinExpress.IE
Exception Type: System.ComponentModel.Win32Exception
Exception Message: Access is denied
Exception Target Site: OpenSubKey

---- Stack Trace ----
AddinExpress.Projects.Common.ADXRegistryKey.OpenSubKey(subKeyName As String, writable As Boolean)
AddinExpress.IE.DLL: N 0134 (0x86) IL
AddinExpress.IE.ADXIEModule.RegisterBarItem(root As ADXRegistryKey, buttonRoot As ADXRegistryKey, hklm As ADXRegistryKey, hkcu As ADXRegistryKey, item As ADXIEBarItem, t As Type, moduleTypeName As String, admin As Boolean, x86Process As Boolean)
AddinExpress.IE.DLL: N 0900 (0x384) IL
AddinExpress.IE.ADXIEModule.RegisterIEModuleInternal(t As Type)
AddinExpress.IE.DLL: N 0483 (0x1E3) IL
ObjectSpy.IEModule.RegisterIEModule(t As Type)
AddinExpress.IE.DLL: N 0000 (0x0) IL



(Outer Exception)
Date and Time: 12/23/2013 1:57:59 PM
Machine Name: PU-SDSKUMA1
IP Address: fe80::c9e0:7c93:c358:a260%13
Current User: ZS\skumar4

Application Domain: C:\Program Files (x86)\Qualitia\Qualitia_ObjectSpy\ObjectSpy\
Assembly Codebase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
Assembly Full Name: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Assembly Version: 4.0.0.0

Exception Source: mscorlib
Exception Type: System.Reflection.TargetInvocationException
Exception Message: Exception has been thrown by the target of an invocation.
Exception Target Site: _InvokeMethodFast

---- Stack Trace ----
System.RuntimeMethodHandle._InvokeMethodFast(method As IRuntimeMethodInfo, target As Object, arguments As Object[], sig As SignatureStruct&, methodAttributes As MethodAttributes, typeOwner As RuntimeType)
mscorlib.dll: N 00000 (0x0) JIT
System.RuntimeMethodHandle.InvokeMethodFast(method As IRuntimeMethodInfo, target As Object, arguments As Object[], sig As Signature, methodAttributes As MethodAttributes, typeOwner As RuntimeType)
mscorlib.dll: N 0007 (0x7) IL
System.Reflection.RuntimeMethodInfo.Invoke(obj As Object, invokeAttr As BindingFlags, binder As Binder, parameters As Object[], culture As CultureInfo, skipVisibilityChecks As Boolean)
mscorlib.dll: N 0167 (0xA7) IL
System.Reflection.RuntimeMethodInfo.Invoke(obj As Object, invokeAttr As BindingFlags, binder As Binder, parameters As Object[], culture As CultureInfo)
mscorlib.dll: N 0000 (0x0) IL
AddinExpress.Projects.Common.Utilities.CallUserDefinedRegistrationMethod(rootKey As ADXRegistryKey, type As Type, bRegister As Boolean, targetHive As ADXTargetRegistryHive)
mscorlib.dll: N 0332 (0x14C) IL
AddinExpress.Projects.Common.Utilities.RegisterType(t As Type, createVersionKey As Boolean, allUsers As Boolean, targetHive As ADXTargetRegistryHive, callRegMethod As Boolean)
mscorlib.dll: N 0227 (0xE3) IL
AddinExpress.Projects.Common.Utilities.RegisterAssembly(assembly As Assembly, createVersionKey As Boolean, allUsers As Boolean, targetHive As ADXTargetRegistryHive, callRegMethod As Boolean)
mscorlib.dll: N 0040 (0x28) IL
AddinExpress.Deployment.AddinDomainAdapter.RegisterForComInterop(register As Boolean, dllType As String, dllPath As String, showExceptions As Boolean, logFullPath As String)
mscorlib.dll: N 0245 (0xF5) IL
AddinExpress.Deployment.ADXRegistrator.RegisterAssembly(commandLine As String)
mscorlib.dll: N 0437 (0x1B5) IL



13:57:59 0212 The add-in registration process is completed with HRESULT = -2147467259.

Posted 23 Dec, 2013 05:35:23 Top
Andrei Smolin


Add-in Express team


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

Could you please send the complete adxregistrator.log to the support email address? Please make sure your email contains a link to this topic.


Andrei Smolin
Add-in Express Team Leader
Posted 23 Dec, 2013 06:32:26 Top
Andrei Smolin


Add-in Express team


Posts: 18830
Joined: 2006-05-11
Ravi,

Thank you for sending us the log. I have the same configuration with the only difference: I have UAC turned on. To check if this influences the issue, I've turned it off, restarted windows, and installed a sample add-in; I didn't reproduce the issue. I suppose this means that you have some problems on your PC. Could you set UAC to its default level, restart Windows and check if the issue is reproducible? Did you modified group policies on your machine?


Andrei Smolin
Add-in Express Team Leader
Posted 23 Dec, 2013 08:38:47 Top
ravinukala




Posts: 103
Joined: 2012-10-05
Andrei,

It is the same issue before doing UAC set as default level.
And it has occurred on client's environment.
Posted 24 Dec, 2013 03:15:15 Top
Andrei Smolin


Add-in Express team


Posts: 18830
Joined: 2006-05-11
Ravi,

Could you please try to create and then delete a custom subkey in this registry key using the account of the user who runs the installer:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Settings

Also, please create a Windows Installer log and sent it to me:
msiexec /i {path}/{installer file}.msi /lv mylog.log

The command line above must be run from an elevated Command Prompt,


Andrei Smolin
Add-in Express Team Leader
Posted 24 Dec, 2013 05:55:25 Top
ravinukala




Posts: 103
Joined: 2012-10-05
Andrei,

I have sent windows installer logs.
Posted 25 Dec, 2013 22:54:35 Top
Andrei Smolin


Add-in Express team


Posts: 18830
Joined: 2006-05-11
Ravi,

Could you please confirm that you are able create and delete a custom key in that registry key (see above)?

Also, could you please try writing to that key from a simple .EXE? And finally, please confirm that a newly created IE add-on project with an IE bar produces the same problem.


Andrei Smolin
Add-in Express Team Leader
Posted 26 Dec, 2013 07:27:03 Top
ravinukala




Posts: 103
Joined: 2012-10-05
Hi Andrei,

I have tried create/delete custom registry key & it's created/deleted successfully.
Also I wrote key in registry through .EXE & it's created.
I have installed newly created IE add-on project & it's installed successfully.
But the same issue persist.

what should be the next step?
Posted 07 Jan, 2014 00:01:54 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hello Ravi,

I have installed newly created IE add-on project & it's installed successfully.


Please try to create a new simple IE Bar project and try to install it on the affected machine.
Posted 08 Jan, 2014 08:09:22 Top
ravinukala




Posts: 103
Joined: 2012-10-05
It doesn't seen in IE Manage-add on list.
I also suggested to client to reinstall the Internet explorer. But it doesn't work.
Posted 26 Jan, 2014 23:06:53 Top