I have such a scenario for our installer project using WIX 3.6: we want to create a registry key in the installation(if this one does not already exist), write a string value with version number. In the uninstallation, we would like to keep this registry key, but erase this string value to empty string. I know I can achieve the “keeping registry key” part by setting it as “Permanent”, but I don’t know how to make the uninstallation erase the value. Thanks for any help in advance!
Share
Like I mentioned on the comment of caveman_dick’s answer, I had to add a custom action to do the work. Could’t find a way of configuring WIX to do it.