I have a requirement like: The earlier versions of the product leaves back some registry entries which needs to be cleaned up using WIX 3.5 in Visual
Approach: Search the installed versions of the product from the registry Then, search each registry entry which doesnot match with the version of the product version and do Registry Action=remove.
How can I achieve this? How can I store all the versions of a product while doing a RegistrySearch in WIX?
Can anyone please provide the code of this?