I am somewhat confused about how to put this before you, so pardon me if it creates confusion in your head.
Requirement:: To write a removal Tool for a Software.
Language:: C (preferred), C++ (Will do), Windows API (Will also do)
Problem:: The problem is where and how to start. I know all the registry keys and files to be deleted to remove the software. But I do not want them to be hard-coded in my code as it will be very messy for me to change or add a path or registry value every time if the software is modified to create any more keys or files or folders. So, I want to know as to how should I start? What should be my approach or the structure of my code to achieve this? Any pointers would be of very great help.
Key Problem:: I dont have any problem reading or editing registry keys. I want to have file which holds all the information about the registry keys and files and folders I want to modify. This file can be modified like adding a new value or deleting an existing one without touching my code. So, I want a starter on this topic.