Trouble with Vista installation

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

Trouble with Vista installation
HRESULT = 2 
Carl Durocher




Posts: 16
Joined: 2008-05-22
When I want to install the plugin with Vista, I get an error that say to look in the ADXLOADER.LOG file. In it I get this message at the end.

08:52:20 1296 Searching for static methods that contain the 'ComRegisterFunction' attribute.
08:52:20 1296 Calling the 'AddinRegister' static method.
08:52:20 1296 Error: Exception has been thrown by the target of an invocation.
08:52:20 1296 Inner Exception: Exception has been thrown by the target of an invocation.
08:52:20 1296 The managed registration process is complete with HRESULT = 2.
08:52:20 420 The add-in registration process is complete with HRESULT = 2.

On XP everything installs correctly.

Do you have any idea of what could cause this problem?

Thanks!

Carl
Posted 11 Jun, 2008 11:00:16 Top
Laurent Devigne




Posts: 40
Joined: 2007-10-10
Just want to add that we have no custom code in the AddinModule constructor.

Also I tried to "comment" out the "AddinRegister" code to see if the error was in the ADXRegister() and we still have an error.

[ComRegisterFunctionAttribute]
public static void AddinRegister(Type t)
{
// AddinExpress.MSO.ADXAddinModule.ADXRegister(t);
}


Posted 11 Jun, 2008 11:25:57 Top
Sergey Grischenko


Add-in Express team


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

Do you install the add-in for all users (the RegisterForAllUsers property of the addinmodule is true)?
Posted 11 Jun, 2008 11:55:35 Top