Setting file permissions

WiX allows you to set the permissions that Windows users and groups have to the files that you install. You can see these permissions by right-clicking on a file and selecting the Security tab. On Windows XP, you may have to configure your system so that this tab is visible. In Windows Explorer, open the folder that you want to configure and go to Tools | Folder Options | View. Then, uncheck the box that says Use simple file sharing. Here's an example of the Security tab on a file:

Setting file permissions

To set the permissions for a file that you're installing, nest a PermissionEx element inside the corresponding File element. This element, which ...

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.