Heat isn't designed to run in a build process today.  You can see lots of 
discussion about its deficiencies in the archives here.  You could write a 
custom Mutator to extend heat to make it do what you want in this case...

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of BOB1981
Sent: Thursday, September 11, 2008 09:31
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Creating <ComponentGroup Id="ComponentGroup2"> using Heat.


Hi All,

I know there must be a way to do it. I am using following Command.. to
create Wxs file as per the directory structure and files.

heat dir -ag -ke -nologo -sreg -sfrag c:\temp\bin -out c:\test1.wxs
Below is the Birectory Structure.

C:\Temp\Bin                   (4 files at this location)
C:\Temp\Bin\obj              (2 files here)
C:\Temp\Bin\exe              (2 files here)

when i open the Wxs file created by Heat, it created the structure and files
everything fine. But All of the Components are in one Component group.
<ComponentGroup Id="ComponentGroup1">
I want them to be grouped according to the Directories they are in.
like
<ComponentGroup Id="ComponentGroup1">    for component under Bin
<ComponentGroup Id="ComponentGroup2">    for component under obj
<ComponentGroup Id="ComponentGroup3">    for component under exe

IS there a way, My Problem is much more bigger then this , i just made this
up to explain it in clear language so its not confusing. becasue this is the
root cause of my problem. I have already tried Running Heat on all the
subfolders diffrently which creates multile wxs files for me to take care of
the problem But that way dublicate files in these directories create
trouble. So that is not an option , I have to run Heat on C:\temp\Bin Not
indivisual folders inside.

Any ideas... pls... actually this process is part of Build that is why it
need to be  automated otherwise i could have manually updated.

thanks...
--
View this message in context: 
http://n2.nabble.com/Creating--%3CComponentGroup-Id%3D%22ComponentGroup2%22%3E-using-Heat.-tp1083059p1083059.html
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to