Re: [WiX-users] Heat-harvesting with subfolder in the -Source atribute

2013-02-07 Thread Yawar Khan
There are number of ways of achieving results results. 1) As told by Gabriel 2) Don't include -srd switch to harvest root directory as element. 3) use -var in Heat and -d in candle. e.g for 3 heat.exe dir "$(SolutionDir)MyProject\MyDirectory" -ag -sfrag -srd -var "var.MyProjectDir" -out $(ProjectD

Re: [WiX-users] Heat-harvesting with subfolder in the -Source atribute

2013-02-06 Thread Gabriel Ivanes
Hi, And with this : *heat.exe dir "$(SolutionDir)MyProject" -ag -sfrag -srd -var "var.MyProject.ProjectDir" -out $(ProjectDir)HarvestedFiles.wxs"* Or you could add a subdir "Sources" in your SolutionDir : C:\\SolutionDir\MyProject\Sources\MyDirectory *heat.exe dir "$(SolutionDir)MyProject

[WiX-users] Heat-harvesting with subfolder in the -Source atribute

2013-02-06 Thread Sam Boman
Hi, I have a project structure which is like this: *C:\\SolutionDir\MyProject\MyDirectory* In a pre-build event I use this: *heat.exe dir "$(SolutionDir)MyProject\MyDirectory" -ag -sfrag -srd -var "var.MyProject.ProjectDir" -out $(ProjectDir)HarvestedFiles.wxs"* The output in HarvestedFiles