WiX4: Copy an entire directory without listing all files or using a tool like heat? #7157
Answered
by
robmen
danielchalmers
asked this question in
Questions
-
In WiX4, is it possible to specify an entire directory to copy like you would a single file, without using any additional tools like heat? |
Beta Was this translation helpful? Give feedback.
Answered by
robmen
Jan 12, 2023
Replies: 2 comments 3 replies
-
No, not in v4. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
danielchalmers
-
Easiest way to do that is probaly a HarvestDirectory in your wixproj. That works stable for me. <HarvestDirectory Include="..\Release\Bla">
<DirectoryRefId>INSTALLFOLDER</DirectoryRefId>
<PreprocessorVariable>var.HarvestPath</PreprocessorVariable>
<ComponentGroupName>BlaFiles</ComponentGroupName>
<AutogenerateGuids>true</AutogenerateGuids>
<SuppressRegistry>true</SuppressRegistry>
<SuppressFragments>true</SuppressFragments>
<SuppressCom>true</SuppressCom>
<SuppressRootDirectory>true</SuppressRootDirectory>
</HarvestDirectory> |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No, not in v4.