That means it can't find the type library. What do you have in the WiX (or the 
MSI) for HKCR\Typelib\{typelib guid}\<versions>\win32 ? It needs to be a path 
to where the COM Dll was installed. I think I'd expect the WiX to have 
[#filekey] for the location.

Phil Wilson
----------------------
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tobias Holm
Sent: Tuesday, December 11, 2007 9:41 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] COM registration problems

Hi all,

Im having serious problems with a registration of a com-dll.

When I install it manually with regsvr32, everything works fine.

To install it with wix I do the following:
1. Create a wix file with a component-element containing a file-element 
pointing to my my dll.
2. Use tallow to extract registration information from my dll.  (tallow with 
the -s option)
3. Put the regentry-elements in the same component-element as my dll 
file-element.
4. Use candle and light to produce my MSI.

Is it something Im missing here?
After installation the dll is visible in the com-ole viewer, but when I try to 
open it the viewer says "TYPE_E_CANTLOADLIBRARY ($80029C4A)". The same error 
occurs when I try to use it in my applications.


Any help appreciated!

/Tobias





-------------------------------------------------------------------------
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to