Note that there are some explanatory texts on larger screens.

plurals
  1. POGenerating ComponentGroups of ComponentRefs
    primarykey
    data
    text
    <p>So, I'm trying to use heat to generate fragments for the files in my project. Looking at files I generated in the past, and various WiX articles from around the net, I see that I have Fragments of Directory/Component's and then a Fragment defining a ComponentGroup using ComponentRef's.</p> <pre><code>&lt;Fragment&gt; &lt;DirectoryRef Id="dir0D9F6D272B6344EBFCF7EED0D14AA801"&gt; &lt;Component Id="cmp0BA12DCC33EB11DEB149261CF6904AAE" Guid="392C95D2-37C1-464E-9979-3E9D2BF57FEE"&gt; &lt;File Id="filB95C5D2C0575B59E63201E24176D55FB" KeyPath="yes" Source="SourceDir\something.dll" /&gt; &lt;/Component&gt; &lt;Component Id="cmp895927B450519C5487FDEC914051E715" Guid="DDC12130-C5D5-4727-95D8-660F7229BBD7"&gt; &lt;File Id="fil8C5E22B3AFE9AA6056E1458BD93E3646" KeyPath="yes" Source="SourceDir\whatever.dll" /&gt; &lt;/Component&gt; &lt;/Fragment&gt; &lt;Fragment&gt; &lt;ComponentGroup Id="SampleProduct"&gt; &lt;ComponentRef Id="cmp0BA12DCC33EB11DEB149261CF6904AAE" /&gt; &lt;ComponentRef Id="cmp895927B450519C5487FDEC914051E715" /&gt; &lt;/ComponentGroup&gt; &lt;/Fragment&gt; </code></pre> <p>Isn't Heat supposed to generate this ComponentGroup fragment? Or did I do it manually and forgot I did so? The various Heat examples I find around the web seem to indicate that Heat does generate this fragment.</p> <p>I'm doing something like: heat dir . -gg -g1 -cg WhatThe -out test.wxs</p> <p>which produces Fragments of ComponentGroup/Component - nary a ComponentRef to be found:</p> <pre><code>&lt;Fragment&gt; &lt;ComponentGroup Id="WhatThe"&gt; &lt;Component Id="cmp9BDA89E67E0D566068C97D3FA3AEBE70" Directory="dir54021DE1C7E3016732B498A5B2680893" Guid="392C95D2-37C1-464E-9979-3E9D2BF57FEE"&gt; &lt;File Id="filDE3AEB1672B47F4803B1EDAB6016DDD3" KeyPath="yes" Source="SourceDir\something.dll" /&gt; &lt;/Component&gt; &lt;Component Id="cmpA8D6F6019E02CAD0DDA17E2F285D7EC8" Directory="dir54021DE1C7E3016732B498A5B2680893" Guid="DDC12130-C5D5-4727-95D8-660F7229BBD7"&gt; &lt;File Id="filDB325609DF363696B3F5E8D1FC22D4C5" KeyPath="yes" Source="SourceDir\whatever.dll" /&gt; &lt;/Component&gt; &lt;/ComponentGroup&gt; &lt;/Fragment&gt; </code></pre> <p>What am I missing? Besides medium-term memory?</p> <p>Thanks</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload