Vista issues

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

Vista issues
exception in 'AddinRegister' static method 
nitin c




Posts: 79
Joined: 2007-05-18
I have business edition of windows vista, my excel addin is using
adxloader and I am using WIX 3.0 to create the setup, it works fine on other operating systems, with vista I get the following logs -

MSIEXEC log

MSI (s) (E8:84) [12:04:55:090]: Executing op: RegOpenKey(,Key=CLSID\{53E2D1BD-5D7C-4E38-A5CB-23D573D0BF1C},,BinaryType=0,)
MSI (s) (E8:84) [12:04:55:090]: Executing op: RegAddValue(,Value=XXXXXX.ExcelAddin.AddinModule,)
WriteRegistryValues: Key: \Software\Classes\CLSID\{53E2D1BD-5D7C-4E38-A5CB-23D573D0BF1C}, Name: , Value: XXXXXX.ExcelAddin.AddinModule
MSI (s) (E8:84) [12:04:55:090]: Executing op: RegOpenKey(,Key=XXXXXX.ExcelAddin\CLSID,,BinaryType=0,)
MSI (s) (E8:84) [12:04:55:090]: Executing op: RegAddValue(,Value={53E2D1BD-5D7C-4E38-A5CB-23D573D0BF1C},)
WriteRegistryValues: Key: \Software\Classes\XXXXXX.ExcelAddin\CLSID, Name: , Value: {53E2D1BD-5D7C-4E38-A5CB-23D573D0BF1C}
MSI (s) (E8:84) [12:04:55:090]: Executing op: ActionStart(Name=_E4827667_9A66_4D5F_9269_E85DCD295805,,)
Action 12:04:55: _E4827667_9A66_4D5F_9269_E85DCD295805.
MSI (s) (E8:84) [12:04:55:090]: Executing op: CustomActionSchedule(Action=_E4827667_9A66_4D5F_9269_E85DCD295805,ActionType=1297,Source=C:\Program Files\XXXXXX\Excel Add-in\adxloader.dll,Target=DllUnregister,)
MSI (s) (E8:84) [12:04:55:090]: Executing op: ActionStart(Name=_7FC0CAAA_54AF_4186_A604_64BB6B509931,,)
Action 12:04:55: _7FC0CAAA_54AF_4186_A604_64BB6B509931.
MSI (s) (E8:84) [12:04:55:090]: Executing op: CustomActionSchedule(Action=_7FC0CAAA_54AF_4186_A604_64BB6B509931,ActionType=1041,Source=C:\Program Files\XXXXXX\Excel Add-in\adxloader.dll,Target=DllRegister,)
MSI (s) (E8:18) [12:04:55:090]: Invoking remote custom action. DLL: C:\Program Files\XXXXXX\Excel Add-in\adxloader.dll, Entrypoint: DllRegister
Action ended 12:04:56: InstallFinalize. Return value 3.
MSI (s) (E8:84) [12:04:56:293]: User policy value 'DisableRollback' is 0
MSI (s) (E8:84) [12:04:56:293]: Machine policy value 'DisableRollback' is 0
MSI (s) (E8:84) [12:04:56:309]: Executing op: Header(Signature=1397708873,Version=400,Timestamp=928538780,LangId=1033,Platform=0,ScriptType=2,ScriptMajorVersion=21,ScriptMinorVersion=4,ScriptAttributes=1)
MSI (s) (E8:84) [12:04:56:309]: Executing op: DialogInfo(Type=0,Argument=1033)
MSI (s) (E8:84) [12:04:56:309]: Executing op: DialogInfo(Type=1,Argument=XXXXXX Excel Add-in 1.0)
MSI (s) (E8:84) [12:04:56:309]: Executing op: RollbackInfo(,RollbackAction=Rollback,RollbackDescription=Rolling back action:,RollbackTemplate=[1],CleanupAction=RollbackCleanup,CleanupDescription=Removing backup files,CleanupTemplate=File: [1])
Action 12:04:56: Rollback. Rolling back action:




Add-in Express Loader Log File: 10/24/2007 12:04:55

Startup directory: C:\Program Files\XXXXXX\Excel Add-in\
------------------
12:04:55 412 Starting the add-in registration process.
12:04:55 412 Getting the default version of the .NET Framework.
12:04:55 412 Success (v2.0.50727).
12:04:55 412 Loading CLR: v2.0.50727.
12:04:55 412 The CLR (v2.0.50727) has been initialized successfully.
12:04:55 412 Creating a new domain setup.
12:04:55 412 Success.
12:04:55 412 Getting the add-in directory.
12:04:55 412 Success. The directory is 'C:\Program Files\XXXXXX\Excel Add-in\'
12:04:55 412 The 'shadow copy' is disabled.
12:04:55 412 Creating a new application domain.
12:04:55 412 Success.
12:04:55 412 Getting the base directory for the domain.
12:04:55 412 Success. The directory is 'C:\Program Files\XXXXXX\Excel Add-in\'.
12:04:55 412 Seaching for the Add-in Express core library.
12:04:55 412 Success. The 'AddinExpress.MSO.2005.dll' file has been found.
12:04:55 412 Creating an instance of the 'AddinExpress.MSO.ADXLoaderSupport' class.
12:04:55 412 Assembly identity is 'AddinExpress.MSO.2005'.
12:04:55 412 Success.
12:04:55 412 Unwrapping the instance of the 'AddinExpress.MSO.ADXLoaderSupport' class.
12:04:55 412 Success.
12:04:55 412 Creating an instance of the XML parser class.
12:04:55 412 Success.
12:04:55 412 Loading the manifest file (C:\Program Files\XXXXXX\Excel Add-in\adxloader.dll.manifest).
12:04:55 412 Success.
12:04:55 412 Getting the root element of the manifest (C:\Program Files\XXXXXX\Excel Add-in\adxloader.dll.manifest).
12:04:55 412 Success.
12:04:55 412 Getting the 'assemblyIdentity' element of the manifest (C:\Program Files\XXXXXX\Excel Add-in\adxloader.dll.manifest).
12:04:55 412 Success.
12:04:55 412 Seraching fo the 'name' attribute of the 'assemblyIdentity' element.
12:04:55 412 Success. The name is 'XXXXXXExcelPlugin'.
12:04:55 412 Calling the managed procedure to register the 'XXXXXXExcelPlugin' assembly.
12:04:55 1208 Connecting to the application domain of the ADX loader.
12:04:55 1208 Success.
12:04:55 1208 Loading the 'XXXXXXExcelPlugin' assembly.
12:04:55 1208 Success.
12:04:55 1208 Registering the 'XXXXXXExcelPlugin' assembly (administrator).
12:04:55 1208 Registering the XXXXXX.ExcelAddin.AddinModule' type.
12:04:56 1208 Searching for static methods that contain the 'ComRegisterFunction' attribute.
12:04:56 1208 Calling the 'AddinRegister' static method.
12:04:56 1208 Error: Exception has been thrown by the target of an invocation.
12:04:56 1208 Inner Exception: Access is denied
12:04:56 1208 The managed registration process is complete with HRESULT = 2.
12:04:56 412 The add-in registration process is complete with HRESULT = 2.

Can you please tell me what should I do to get it installed on vista?

Thanks,
Nitin
Posted 24 Oct, 2007 03:58:15 Top
Sergey Grischenko


Add-in Express team


Posts: 7230
Joined: 2004-07-05
Hi Nitin.

Do you install the add-in under the admin account?
Posted 24 Oct, 2007 07:51:16 Top
nitin c




Posts: 79
Joined: 2007-05-18
Yes i installed it under admin account. It was a local user and was a member of Administrators group. I installed Office 2003 with this same user before installing my addin.
Posted 25 Oct, 2007 01:47:55 Top
Sergey Grischenko


Add-in Express team


Posts: 7230
Joined: 2004-07-05
Hi Nitin.


It looks like you don't have permissions to perform the registration.
Is the UAC enabled on your PC?
Posted 25 Oct, 2007 08:40:47 Top