Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to find and delete registry entries in Wix

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?

like image 561
Adam Tegen Avatar asked Feb 01 '26 08:02

Adam Tegen


1 Answers

You need to use registry element.

  • http://wix.sourceforge.net/manual-wix2/wix_xsd_registry.htm

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

like image 127
David Pokluda Avatar answered Feb 02 '26 22:02

David Pokluda



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!