I\'m trying to set the preprocessor variable in wix and i\'m unable to find an example of this or explanation on how to do it anywhere on the internet, i\'m hoping somebody
I use Wix v3.10.
No need to explicitly call HeatDirectory MSBuild Task. ItemGroup with special name "HarvestDirectory" can be prepared, and later the "HarvestDirectory" target will process it. *.wsx file is created in the IntermediateOutputPath and is included in Compile list (processed by Candle).
...
$(MSBuildProjectDirectory)\Final\
FinalFolder=$(MyFinalFolder)
...
INSTALLFOLDER
true
true
true
FilesComponentGroup
var.FinalFolder
The wxs file: