Summary
In this chapter, we discussed the elements used to install files and create directories. The File, Directory and Component elements play vital roles here, but you may also benefit from using ComponentGroup to group your components. This allows you to better organize your markup and even to separate it into multiple WiX source files.
The heat.exe tool can create Component elements for you. You simply need to point it at a certain directory. However, it's best to fine-tune its arguments so that the output that you get is optimal. We discussed a few other topics such as how to copy a file, how to set file permissions and how to organize your File element Id attributes for maximum installation speed.
In the next chapter, we'll move on to discuss ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access