October 2010
Intermediate to advanced
348 pages
7h 10m
English
Every key in the Registry has a set of permissions saved to it that affects which users can read or alter it. You can see this in the Registry Editor by going to Run | regedit, right-clicking on a key and selecting Permissions. WiX allows you to change these permissions with its PermissionEx element.
PermissionEx isn't in the default WiX namespace, but rather in the Util extension. So, you'll need to add a reference in your project to WixUtilExtension.dll, found in the WiX bin directory, and add the UtilExtension namespace to your Wix element. Here's an altered Wix element:
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
Here, we've assigned the Util namespace ...
Read now
Unlock full access