Installing directories onto the target computer
Before we can install any files to the end user's system, we have to specify the directories where they'll go. These could be directories that already exist or new ones that we'll be creating. Either way, we'll be using the Directory
elements to form our folder structure. Our Directory
elements can be nested directly within our Product
element or separated into a Fragment
. The Fragment
approach has the advantage of being more modular, or in other words, keeps the concerns of making a directory structure separate from other chores such as installing files into those directories.
In this recipe, we will install some directories into the Program Files
folder. To keep things simple, we won't install any ...
Get WiX Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.