Question

I am trying to write a Wix3 install for a visual studio add-in.

I have it just about there, but I need reset the plugin by deleting a registry entry. Specifically any value starting with

HKCU\Software\Microsoft\VisualStudio\8.0\PreloadAddinStateManaged\MyAddinName.Connect;

How to a convince Wix to delete any such entries?

Was it helpful?

Solution

Is your issue the need to do a partial match on the registry value. If not, then you might be looking for the RemoveRegistryValue element (nests under Component). If yes, then I would think you'd probably need to create a custom action to search for the registry value(s) to delete and populate the RemoveRegistry table with what you find. I would think a DTF (Deployment Tools Foundation) custom action would a viable option.

OTHER TIPS

You need to use registry element.

This should solve your issue you're having. There is a great WiX tutorial and registry is discussed in chapter called Beyond Files.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top