0

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.
TIA

2
Contributors
3
Replies
5
Views
4 Years
Discussion Span
Last Post by WaltP
0

Store them in a file that the program will read.
Use a code that tells you what the file entry is, like

Ffilename.ext
RregistryKey
Vvalue
Etc...
0

@WaltP- Thanks for the advice. Could you shed some more light on the topic like giving an example or some links to make it more clearer. Treat me as a fresher :-)

0

I really don't have any links. If you use the above, it's just a matter of reading a line, checking the 1st character and compiling the data to make the change. When all the data has been read, the change can be made or an error displayed if there i missing data.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.