Hi Phil,
Some more info...

I turned on Fusion in the registry for logging assembly load errors and the
following error is logged when Word loads and then disables the AddIn.

-------------------------------------------------------------------------
*** Assembly Binder Log Entry  (01/05/2009 @ 12:40:39) ***
The operation failed.
Bind result: hr = 0x80070002. The system cannot find the file specified.

Assembly manager loaded from: 
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll
Running under executable  C:\Program Files\Microsoft
Office\Office10\WINWORD.EXE
--- A detailed error log follows. 

=== Pre-bind state information ===
LOG: User = TST-ETSXP03\acasadmin
LOG: DisplayName = DTIOfficeAddIn, Version=1.0.3405.28082, Culture=neutral,
PublicKeyToken=null
 (Fully-specified)
LOG: Appbase = file:///C:/Program Files/Microsoft Office/Office10/
LOG: Initial PrivatePath = NULL
LOG: Dynamic Base = NULL
LOG: Cache Base = NULL
LOG: AppName = WINWORD.EXE
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Download of application configuration file was attempted from
file:///C:/Program Files/Microsoft Office/Office10/WINWORD.EXE.config.
LOG: Configuration file C:\Program Files\Microsoft
Office\Office10\WINWORD.EXE.config does not exist.
LOG: No application configuration file found.
LOG: Using machine configuration file from
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
LOG: Policy not being applied to reference at this time (private, custom,
partial, or location-based assembly bind).
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft
Office/Office10/DTIOfficeAddIn.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft
Office/Office10/DTIOfficeAddIn/DTIOfficeAddIn.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft
Office/Office10/DTIOfficeAddIn.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft
Office/Office10/DTIOfficeAddIn/DTIOfficeAddIn.EXE.
LOG: All probing URLs attempted and failed.
-----------------------------------------------------------------------

note the version "DTIOfficeAddIn, Version=1.0.3405.28082" looks like it is
still pointing at the old version where now I am setting the version number
iof the dll to be 1.0.0.1. The 1.0.0.1 dll gets installed and written to the
registry as per my heat generated keys above.

Is there a way of uninstalling all old versions of an assembly so that i
have a clean place to start from?

Cheers,
Barry




-- 
View this message in context: 
http://n2.nabble.com/registering-a-.net-com-assembly-tp2748181p2752759.html
Sent from the wix-users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to