Hello,
I have approximately over 300 VB6 COMs that should be registered.
I have tried previously, when using WiXv3, use heat to scan directory with
components and produce output WXS file.
Because there is currently no support for VB6 COMs in WiXv3 I have moved to
WiXv2 and instead I have used tallow.
If I compare heat and tallow output WXS files then those produced by heat
contains some registration information for COMs. Tallow's output looks like
output for no-registering elements, there is no registration information
nodes.
After build and installation of such setup (where has been used WXS file
produced by tallow) COMs are not registered.

 1)What should I do to make COMs registering?

 2)Should I use heat output WXS file and only modify it so it will cover
WiXv2 (generally adding LongName attribute)?

 3)Is there any other way to auto generate needed information for so many
files?

--------
*Tallow output:*
<Component Id="Libs" DiskId="1" Guid="SOME-GUID">
     <File Id="AttachW.ocx" LongName="AttachW.ocx" Name="ATTACHW.OCX"
Source="Libs\AttachW.ocx" />
</Component>

 *Heat output:*
<Component Id="AttachW.ocx" Guid="{SOME-GUID}">
    <Class Id="{SOME-GUID}"  Context="InprocServer32"
Description="VBPropertyBag" ThreadingModel="apartment" />
    <File Id="AttachW.ocx" Name="AttachW.ocx" KeyPath="yes"
Source="Libs\AttachW.ocx">
         <TypeLib Id="{SOME-GUID}" Control="yes" Description="CCC Attachment
window control" HelpDirectory="Libs" Language="0" MajorVersion="3"
MinorVersion="0">
             <Class Id="{SOME-GUID}" Context="InprocServer32"
Description="CCC Attachment window control" ThreadingModel="apartment"
Version="3.0">
                  <ProgId Id="cccAttachmentWindow.AttachmentWindow"
Description="CCC Attachment window control" />
             </Class>
  <Interface Id="{SOME-GUID}" Name="AttachmentWindow"
ProxyStubClassId="{SOME-GUID}" ProxyStubClassId32="{SOME-GUID}" />
  <Interface Id="{SOME-GUID}" Name="AttachmentWindow"
ProxyStubClassId="{SOME-GUID}" ProxyStubClassId32="{SOME-GUID}" />
          </TypeLib>
     </File>
     <RegistryValue Root="HKCR" Key="CLSID\{SOME-GUID}\Control" Value=""
Type="string" Action="write" />
     <RegistryValue Root="HKCR" Key="CLSID\{SOME-GUID}\MiscStatus\1"
Value="197009" Type="string" Action="write" />
     <RegistryValue Root="HKCR" Key="CLSID\{SOME-GUID}\MiscStatus" Value="0"
Type="string" Action="write" />
     <RegistryValue Root="HKCR" Key="CLSID\{SOME-GUID}\ToolboxBitmap32"
Value="[#AttachW.ocx], 30000" Type="string" Action="write" />
     <RegistryValue Root="HKCR" Key="CLSID\{SOME-GUID}\InProcServer32"
Value="C:\WINDOWS\system32\MSVBVM60.DLL" Type="string" Action="write" />
     <RegistryValue Root="HKCR" Key="TypeLib\{SOME-GUID}\6.0\HELPDIR"
Value="C:\WINDOWS\system32" Type="string" Action="write" />
      <RegistryValue Root="HKCR" Key="TypeLib\{SOME-GUID}\6.0\HELPDIR"
Value="C:\WINDOWS\system32" Type="string" Action="write" />
      <TypeLib Id="{SOME-GUID}" Description="Visual Basic For Applications"
Language="9" MajorVersion="6" MinorVersion="0">
      <Interface Id="{SOME-GUID}" Name="_ErrObject"
ProxyStubClassId="{SOME-GUID}" ProxyStubClassId32="{SOME-GUID}" />
      <Interface Id="{SOME-GUID}" Name="_Collection"
ProxyStubClassId="{SOME-GUID}" ProxyStubClassId32="{SOME-GUID}" />
      </TypeLib>
   <TypeLib Id="{SOME-GUID}" Description="Visual Basic runtime objects and
procedures" Hidden="yes" Language="9" MajorVersion="6" MinorVersion="0">
 <Interface Id="{SOME-GUID}" Name="AsyncProperty_VB5"
ProxyStubClassId="{SOME-GUID}" ProxyStubClassId32="{SOME-GUID}" />
 <Interface Id="{SOME-GUID}" Name="SelectedControls"
ProxyStubClassId="{SOME-GUID}" ProxyStubClassId32="{SOME-GUID}" />
 <Interface Id="{SOME-GUID}" Name="DataObject"
ProxyStubClassId="{SOME-GUID}" ProxyStubClassId32="{SOME-GUID}" />
 <Interface Id="{SOME-GUID}" Name="DataObjectFiles"
ProxyStubClassId="{SOME-GUID}" ProxyStubClassId32="{SOME-GUID}" />
 <Interface Id="{SOME-GUID}" Name="_PropertyBag"
ProxyStubClassId="{SOME-GUID}" ProxyStubClassId32="{SOME-GUID}" />
 <Interface Id="{SOME-GUID}" Name="PropertyBag_VB5"
ProxyStubClassId="{SOME-GUID}" ProxyStubClassId32="{SOME-GUID}" />
 <Interface Id="{SOME-GUID}" Name="Licenses" ProxyStubClassId="{SOME-GUID}"
ProxyStubClassId32="{SOME-GUID}" />
 <Interface Id="{SOME-GUID}" Name="DataBinding"
ProxyStubClassId="{SOME-GUID}" ProxyStubClassId32="{SOME-GUID}" />
 <Interface Id="{SOME-GUID}" Name="LicenseInfo"
ProxyStubClassId="{SOME-GUID}" ProxyStubClassId32="{SOME-GUID}" />
 <Interface Id="{SOME-GUID}" Name="DataMembers"
ProxyStubClassId="{SOME-GUID}" ProxyStubClassId32="{SOME-GUID}" />
 <Interface Id="{SOME-GUID}" Name="Hyperlink" ProxyStubClassId="{SOME-GUID}"
ProxyStubClassId32="{SOME-GUID}" />
 <Interface Id="{SOME-GUID}" Name="AmbientProperties"
ProxyStubClassId="{SOME-GUID}" ProxyStubClassId32="{SOME-GUID}" />
 <Interface Id="{SOME-GUID}" Name="ParentControls"
ProxyStubClassId="{SOME-GUID}" ProxyStubClassId32="{SOME-GUID}" />
 <Interface Id="{SOME-GUID}" Name="ContainedControls"
ProxyStubClassId="{SOME-GUID}" ProxyStubClassId32="{SOME-GUID}" />
 <Interface Id="{SOME-GUID}" Name="EventParameter"
ProxyStubClassId="{SOME-GUID}" ProxyStubClassId32="{SOME-GUID}" />
 <Interface Id="{SOME-GUID}" Name="EventParameters"
ProxyStubClassId="{SOME-GUID}" ProxyStubClassId32="{SOME-GUID}" />
 <Interface Id="{SOME-GUID}" Name="EventInfo" ProxyStubClassId="{SOME-GUID}"
ProxyStubClassId32="{SOME-GUID}" />
 <Interface Id="{SOME-GUID}" Name="AsyncProperty"
ProxyStubClassId="{SOME-GUID}" ProxyStubClassId32="{SOME-GUID}" />
 <Interface Id="{SOME-GUID}" Name="DataBindings"
ProxyStubClassId="{SOME-GUID}" ProxyStubClassId32="{SOME-GUID}" />
 <Interface Id="{SOME-GUID}" Name="IVbeRuntimeHost"
ProxyStubClassId="{SOME-GUID}" ProxyStubClassId32="{SOME-GUID}" />
 <Interface Id="{SOME-GUID}" Name="_DDataBoundClass"
ProxyStubClassId="{SOME-GUID}" ProxyStubClassId32="{SOME-GUID}" />
 <Interface Id="{SOME-GUID}" Name="_DDataSourceClass"
ProxyStubClassId="{SOME-GUID}" ProxyStubClassId32="{SOME-GUID}" />
 <Interface Id="{SOME-GUID}" Name="_DDataBoundAndDataSourceClass"
ProxyStubClassId="{SOME-GUID}" ProxyStubClassId32="{SOME-GUID}" />
 <Interface Id="{SOME-GUID}" Name="_DPersistableClass"
ProxyStubClassId="{SOME-GUID}" ProxyStubClassId32="{SOME-GUID}" />
 <Interface Id="{SOME-GUID}" Name="_DPersistableDataSourceClass"
ProxyStubClassId="{SOME-GUID}" ProxyStubClassId32="{SOME-GUID}" />
 <Interface Id="{SOME-GUID}" Name="_DClass" ProxyStubClassId="{SOME-GUID}"
ProxyStubClassId32="{SOME-GUID}" />
      </TypeLib>
</Component>

Best regards,
Peter Jaworski
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to