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

-- 
View this message in context: 
http://www.nabble.com/Adding-a-%3Cregistry%3E-to-an-existing-component-tf4706519.html#a13452246
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
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