Wilson, Phil wrote:
> 
> A couple of things:
> 
> 1, It looks like your versions are 1.0.* and the compiler will generate a
> new one every time you build. If you heat once and then rebuild your
> add-in you're going to have a mismatch. I recommend setting a complete
> version.  If you haven't specified COM guids in your add-in there's a
> chance the compiler will generate new ones if it thinks something has
> changed. Nail down these things so you can look in the registry to see
> what's there and they're not changing at every build.
> 
> 2. Does "not registered" mean that you look in the registry after install
> and there is nothing there?  You'll have to work backwards from that. If
> they are there, do they match the current assembly? Are they there but
> your add-in doesn't work? If they are not there perhaps they're not being
> installed, depending on the content of your MSI file, so install with a
> log and see what's going on.
> 
> Phil Wilson
> 
> 

Hi There,
After another long day trying to isolate this problem I think I am making
some progress..

I changed the Addin GUID to a new guid and regenerated the wix fragment and
reinstalled on my development box. The Addin installs correctly and gets
loaded in word successfully.

However when I have deployed the same installer to a clean test machine the
dll fails to load correctly once it is installed. The Addin gets reset by
word (Loadbehaviour=2) when it tries to load it.

I installed the sdk on the clean test box and extracted the Fusion logs for
the issue (click to view):

http://www.padraiglarkin.com/temp/DTIOfficeAddIn, Version=1.0.0.1,
Culture=neutral, PublicKeyToken=null.HTM DTIOfficeAddIn, Version=1.0.0.1,
Culture=neutral, PublicKeyToken=null.HTM 
http://www.padraiglarkin.com/temp/Extensibility, Version=7.0.3300.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.HTM Extensibility,
Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.HTM 
http://www.padraiglarkin.com/temp/mscorlib, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089.HTM mscorlib,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089.HTM 
http://www.padraiglarkin.com/temp/WhereRefBind!Host=(LocalMachine)!FileName=(DTIOfficeAddIn.dll).HTM
WhereRefBind!Host=(LocalMachine)!FileName=(DTIOfficeAddIn.dll).HTM 

Any help much appreciated
-Barry






-- 
View this message in context: 
http://n2.nabble.com/registering-a-.net-com-assembly-tp2748181p2753921.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