Quinton,
It's unfortunate, but the WiX tools are not designed to be used in an
automated, build-time fashion. I guess the reason is that there are too
many problems around managing component rules, and for many people their
COM interfaces change rarely.
I developed my own custom build tasks to do the COM extraction, storing
the component GUIDs in version control, so that they are stable across
builds. I only generate Registry entries, not TypeLibs, etc, but I
shouldn't think it is too hard to translate from registry entries to
those. The real trick is to discover how to use the RegOverridePredefKey
API to redirect all registry writes, which enables you to capture all
registry accesses when you call the DllRegisterServer function of your
COM binary.
Cheers,
John
_____
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of quinton
quammie
Sent: 20 March 2008 16:38
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] COM Extraction questions (Wix 2)
hi, hope someone can help me with the following queries.
I'm using Wix 2.0.5805, is there a way to import COM registration in
such a way that it will already have references to the advertising
tables (ProgId Table, AppId Table, TypeLib)? I know the WIX v3 tool Heat
has this ability; for WIX 2 I've tried Tallow, from what I see this
imports COM into the registry table only, in which case the COM server
paths are hard-coded to either the current path of the binary the COM is
being extracted from (-s) or the path found in the supplied reg file
(-reg), in either case the entries would likely need to be amended to
use formatted strings based on the File element ID, are there any tools
for WIX 2 which can do this?
regards
Quinton
_____
Think you know your TV, music and film? Try Search Charades!
<https://www.searchcharades.com>
-------------------------------------------------------------------------
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