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.wxs contains (id's removed...): <Component Id="" Guid="*"> <File Id="" KeyPath="yes" Source="$(var.MyProject.ProjectDir)\FileOne.txt" /></Component> But I expect it to be (with the MyDirectory folder included in Source): <Component Id="" Guid="*"> <File Id="" KeyPath="yes" Source="$(var.MyProject.ProjectDir)\*MyDirectory\*FileOne.txt" /></Component> How do I do this? I don't want to specify a fixed path, I prefer to use dynamic var's. //Sam ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users