On Fri, 27 Oct 2006, Phil Wilson wrote:

> If you have a .NET assembly exposing COM interfaces you don't need an
> interop Dll, but you need it registering in the same general way that
> Regasm does (there's Tallow). Gacutil just puts it in the GAC. What you
> get for a registered .NET assembly are CLSID/{Guid} entries that show
> mscoree.dll as the COM server, and assemblyname data (and maybe
> codebase) that says which assembly and class to instantiate. You can't
> mark an assembly for type library registration, just Win32 files. If you
> really need a type library, tlbexp will generate one from your assembly.
> I'm not sure whether Wix prefers type library registration with the
> Registry table or with the TypeLib table.
> 
> Phil Wilson

It started out as a COM dll, all I changed was embedding the manifest and 
adding the assembly info, that doesn't in itself make it a .NET assembly 
does it?

I didn't realize that I had to use regasm along with gacutil, but when I 
tried using it I got the following error:

RegAsm : error RA0000 : Could not load file or assembly 'SO80, 
Version=1.0.0.0, Culture=neutral, PublicKeyToken=a239c3af9cfd6278' or one 
of its dependencies.
This application has failed to start because the application configuration 
is incorrect. Reinstalling the application may fix this problem. 
(Exception from HRESULT: 0x800736B1)

I checked depends and it doesn't show any missing dependencies so I'm not 
sure what's wrong. And although heat shows all the Intermediate Ids tallow 
just gives:

<Component Id="component0" DiskId="1" Guid="PUT-GUID-HERE">
  <File Id="file0" Name="LFSO80.dll" 
src="C:\Projects\install\tallow\Assembly\SO80.dll" />

Does that mean the assembly I've created is just broken or is there 
something else I'm not understanding?

Thanks again!


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to