Click here to Skip to main content
15,882,114 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
Hi All,
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.
TIA
Posted
Updated 9-Sep-12 22:44pm
v2

 
Share this answer
 
v2
Comments
Abhineet Ayan Verma 10-Sep-12 4:43am    
Thanks for the links but 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.
Kuthuparakkal 10-Sep-12 4:46am    
Buddy go for configuration for your app...
http://www.codeguru.com/cpp/cpp/cpp_managed/asp/article.php/c4873/Using-Configuration-Files-in-Visual-C.htm
Libconfig is a simple library for processing structured configuration files:

http://www.hyperrealm.com/libconfig/[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900