Speeding up file installations

We haven't talked too much about how the files and directories that you author in your WiX source files are stored in the MSI database's tables. The files are stored in a table called File, the directories in a table called Directory, and the components in a table called Component. You can see this by opening the MSI package with Orca.exe.

In the following example, I have four files that are being installed. I've used the convention of prefixing my file IDs with "FILE_", giving me FILE_InstallMeTXT, for example.

Speeding up file installations

Each file in the File table is sorted alphabetically by the Id you gave to it via the File element. This ...

Get WiX: A Developer's Guide to Windows Installer XML 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.