Page 1 of 1

writing into INI-files

Posted: Tue Dec 14, 2004 11:30 am
by lemke
With some worarounds I'm able to add a new value to an existing key within a inifile. If I uninstall the product unfortunatelly not onle the single value will be deleted but the hole key becomes deleted.

How can I influance the uninstall routine?

I the a way to solve the problem except to write a own DLL which is doing the work for me?

Posted: Tue Dec 14, 2004 3:15 pm
by sinan
I'm not sure what you mean by the workarounds :)

There are several possible values for editing INI entries:

    Line->Create or Update
    Line->Create Only
    Line->Remove
    Tag->Add
    Tag->Remove


Which of these did you try?
It seems to me you want the Line->Create or Update option...
The Tag options add values to an already existing value (ex: VALUE=DATA1;DATA2, etc.)

Posted: Wed Dec 15, 2004 7:34 am
by lemke
You are right I used the wrong action. I have to use Tag->Add.