See http://wixtoolset.org/documentation/manual/v3/overview/heat.html
The -t parameter allows you apply an XSLT to post-process the generated XML.

Palbinder Sandher 
Software Platform Engineer 
T:   +44 (0)141 945 8500
F:   +44 (0)141 945 8501
http://www.iesve.com 

Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456
Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 
0SP
Email Disclaimer 



-----Original Message-----
From: sky [mailto:volon...@gmail.com] 
Sent: 27 January 2015 08:32
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Adjusting result of heat.exe?

Hi. Is there any way to get .wxs file formed like the following using heat.exe?

<?xml ...>
<Wix ...>
  <Fragment>
    <DirectoryRef Id="INSTALLFOLDER">
      <Directory Id="a">
        <Directory Id="b" />
        <Directory Id="c">
          <Directory Id="d" />
        </Directory>
      </Directory>
    </DirectoryRef>
  </Fragment>
  <Fragment>
    <ComponentGroup Id="CG">
      <Component Id="..." Guid="..." Directory="a">
        <File ... />
      </Component>
      <Component Id="..." Guid="..." Directory="b">
        <File ... />
      </Component>
      <Component Id="..." Guid="..." Directory="b">
        <File ... />
      </Component>
      <Component Id="..." Guid="..." Directory="c">
        <File ... />
      </Component>
      <Component Id="..." Guid="..." Directory="d">
        <File ... />
      </Component>
      <Component Id="..." Guid="..." Directory="d">
        <File ... />
      </Component>
      <Component Id="..." Guid="..." Directory="d">
        <File ... />
      </Component>
    </ComponentGroup>
  </Fragment>
</Wix>

I want to harvest files in ComponentGroup basis. I've tried some combinations 
of heat.exe options, but couldn't get the result like above.

Thanks.



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Adjusting-result-of-heat-exe-tp7599018.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website, sponsored 
by Intel and developed in partnership with Slashdot Media, is your hub for all 
things parallel software development, from weekly thought leadership blogs to 
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to