TypeLib table is only populated for Advertised TypeLibs.  Otherwise the 
Registry table is used.  Advertising TypeLibs is generally not 
recommended so it is not the default.

Karl Denning wrote:
> Hi
>
> This has me stumped.
> When I build my project including this fragment (below), the registry table 
> is populated with the registry value, but the TypeLib table is not created.
>
> Any idea why?
>
> Thanks
> Karl
>
> <?xml version="1.0" encoding="utf-8"?>
> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>
>   <?include GlobalDef.wxi ?>
>   <Fragment>
>       <EnsureTable Id="PublishComponent"/>
>       <EnsureTable Id="Condition"/>
>       <EnsureTable Id="TypeLib"/>
>       <EnsureTable Id="Class"/>
>       <EnsureTable Id="Extension"/>
>       <DirectoryRef Id="INSTALLDIR">
>             <Component Id="MyCom.exe" Guid="*">
>                 <File Id="MyCom.exe" Name="MyCom.exe" KeyPath="yes" 
> Source="c:\build\bin\MyCom.exe">
>                     <TypeLib Id="{13EFB262-E850-4e00-90A1-4EBFC54FF2FF}" 
> Description="MyCom 1.0 Type Library" Language="0" MajorVersion="1" 
> MinorVersion="0" Advertise="no">
>                         <Interface 
> Id="{8050523C-5319-4c02-8058-EF8A3E06B3A4}" Name="IMyCom" 
> ProxyStubClassId="{8050523C-5319-4c02-8058-EF8A3E06B3A4}" 
> ProxyStubClassId32="{8050523C-5319-4c02-8058-EF8A3E06B3A4}" />
>                     </TypeLib>
>                 </File>
>                 <RegistryValue Root="HKCR" 
> Key="TypeLib\{13EFB262-E850-4e00-90A1-4EBFC54FF2FF}\1.0\HELPDIR" 
> Value="[INSTALLDIR]" Type="string" Action="write" />
>               </Component>
>         </DirectoryRef>
>     </Fragment>
> </Wix>
> --
> View this message in context: 
> http://n2.nabble.com/Why-isn%27t-the-TypeLib-table-is-created-tp2644034p2644034.html
> Sent from the wix-users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>   

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to