-
Hello, I started using WiX a few weeks ago so sorry If my question is silly and/or my assumptions are wrong. First thing is: Is it mandatory to add a HarvestDirectory and a BindPath with the same folders for every harvesting?
Then suppose in FolderA you have a file named "mylibrary.dll" and in BolderB a file with the same name, but a different version (odd, but it can happen). Both the harvesting generates two compiled files with the same File element
and, if I understand well, the SourceDir is a placeholder to all the BinPath declared in the project, and they are scanned sequentially to find the files to add. So my question/doubt: how can I be sure that the right "mylibrary.dll" file is choosen from every folder if folders are scanned sequentially? I saw that the element has the PreprocessorVariable attribute that replaces the SourceDir with a custom variable... so in case of multiple harvesting is it mandatory to set different properties for every folders and set the relative PreprocessorVariable to remove the ambiguity ? I think documentation lacks some information about this (or I'm too young to understand all the process eheheh). Thanks all |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I think you understand the situation quite well. Heat-based harvesting is just a bit limited. In S1:E52 of the Deployment Dojo I walk through how using heat is harder than using something like the advanced harvesting tools from FireGiant that I covered in the next episode S1:E53. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your fast response, For the Harvesting I fully saw the Episode 52 and I started from that... but i needed to watch the following episode :) Maurizio. |
Beta Was this translation helpful? Give feedback.
I think you understand the situation quite well. Heat-based harvesting is just a bit limited. In S1:E52 of the Deployment Dojo I walk through how using heat is harder than using something like the advanced harvesting tools from FireGiant that I covered in the next episode S1:E53.