I had the same type of problem(s) and eventually gave up on heat to write something simpler (aka dumber) that just works.
http://code.dblock.org/ShowPost.aspx?id=97 dB. @ dblock.org Moscow|Geneva|Seattle|New York -----Original Message----- From: Gernot Kerger [mailto:gernot.ker...@entropysoft.net] Sent: Wednesday, June 23, 2010 7:26 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Heat : harvest project documentation without directory structure Hi all, I'm trying to harvest a project's Documentation output using the following line: heat project "Foo.Project\Foo.Project.csproj" -sfrag -cg FooProjectDocuments -pog:Documents -gg -dr MyDir -nologo -out Foo.project.documents.wxs The resulting output is: <?xml version="1.0" encoding="utf-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Fragment> <ComponentGroup Id="Foo.Project.Documents"> <ComponentRef Id="cmp60BB62F4AEDC667590E480CDE0A6F76B" /> </ComponentGroup> </Fragment> <Fragment> <ComponentGroup FooProjectDocuments <ComponentRef Id="cmp60BB62F4AEDC667590E480CDE0A6F76B" /> </ComponentGroup> </Fragment> <Fragment> <DirectoryRef Id="Foo.Project.Documents"> <Directory Id="dir3C17757EF4DE49D5F72E6B4736C2E778" Name="bin"> <Directory Id="dir749A066E881D0CDC183ADCC365FBCE59" Name="Debug"> <Component Id="cmp60BB62F4AEDC667590E480CDE0A6F76B" Guid="{AA03E0FC-D7AD-4EC4-A531-D7AEF6F9D0B6}"> <File Id="filAECBC40F37629BE955E813B36CF3452F" Source="$(var.Foo.Project.ProjectDir)\bin\Debug\Foo.Project.XML" /> </Component> </Directory> </Directory> </DirectoryRef> </Fragment> <Fragment> <ComponentGroup Id="Foo.Project.Documents"> <ComponentRef Id="cmp60BB62F4AEDC667590E480CDE0A6F76B" /> </ComponentGroup> </Fragment> </Wix> My problem is that I don't want the directory structure (bin\debug) to be created. I just need to have the documentation output referenced in MyDir as supplied by the -dr flag: <?xml version="1.0" encoding="utf-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Fragment> <ComponentGroup Id="Foo.Project.Documents"> <ComponentRef Id="cmp60BB62F4AEDC667590E480CDE0A6F76B" /> </ComponentGroup> </Fragment> <Fragment> <ComponentGroup FooProjectDocuments <ComponentRef Id="cmp60BB62F4AEDC667590E480CDE0A6F76B" /> </ComponentGroup> </Fragment> <Fragment> <DirectoryRef Id="MyDir"> <Component Id="cmp60BB62F4AEDC667590E480CDE0A6F76B" Guid="{AA03E0FC-D7AD-4EC4-A531-D7AEF6F9D0B6}"> <File Id="filAECBC40F37629BE955E813B36CF3452F" Source="$(var.Foo.Project.ProjectDir)\bin\Debug\Foo.Project.XML" /> </Component> </DirectoryRef> </Fragment> <Fragment> <ComponentGroup Id="Foo.Project.Documents"> <ComponentRef Id="cmp60BB62F4AEDC667590E480CDE0A6F76B" /> </ComponentGroup> </Fragment> </Wix> Is there a way to perform this? Thanks, Gernot ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users