October 2010
Intermediate to advanced
348 pages
7h 10m
English
When it comes to uninstalling your product, you don't need to worry too much about the registry keys you've created. Windows Installer will make sure that all components, including registry keys, are cleaned up. However, in case you want to remove items from the Registry that you didn't create—perhaps they were created by one of your other products—WiX provides a way to do it.
Two elements are used to remove data from the Registry: RemoveRegistryKey and RemoveRegistryValue. We'll cover both in the following sections.
You'll use the RemoveRegistryKey element when you want to remove a key from the Registry and all of its subkeys. It must be placed inside a Component element, as in this example:
<DirectoryRef ...
Read now
Unlock full access