Tallow isn't intended to be used in an automated build system like 
you're doing.  Tallow is intended to be used to bootstrap the authoring 
process then you can modify the contents as needed.  So, you'll have to 
do more work if you want to add a registry key to one of the generated 
Components.  Or you could just put the registry keys in new Components.

It also appears that tallow's reg functionality just converts the .reg 
file into Registry elements.  Those would need to be broken up into 
appropriate Component elements.


mscheuner wrote:
> Folks,
>
> I use WiX to build my MSI in an automated build environment. My challenge
> now is: I'm using TALLOW to create my directory listing, but after TALLOW
> runs, I should be able to add a <Registry> tag to an existing component, in
> order to store the installation directory to the registry.
>
> I can't seem to get that to work......
>
> I tried adding a <component Id="component0"> to my main WXS file and put the
> <Registry> in there - hoping (like C# partial classes) they'd be merged
> together - no go, "duplicate component Id" error.
>
> So I then tried to export the registry settings I want into a .reg file and
> use TALLOW on it to create a WiX fragment - but CANDLE complains about "The
> Fragment element contains an unexpected child element 'Registry'." when I
> try to compile the TALLOW output.......
>
> And I can't put a <Registry> under a <ComponentRef> or any other useful tag,
> either.....
>
> So how do I add a <Registry> entry to an automated build, where the list of
> files is being dynamically generated by TALLOW? I just need one <Registry>
> entry for the first (top-level) directory of my hierarchy (and it works just
> fine if I do it manually, after TALLOW has created the "files.wxs"
> fragment).
>
> Any ideas?
>
> Thanks
> Marc
>
>   

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to