writing into INI-files

Got a problem you cannot solve? Try here.
Post Reply
lemke
Posts: 4
Joined: Tue Dec 14, 2004 11:05 am

writing into INI-files

Post 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?
Stefan
sinan
Site Admin
Posts: 1035
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Post 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.)
lemke
Posts: 4
Joined: Tue Dec 14, 2004 11:05 am

Post by lemke »

You are right I used the wrong action. I have to use Tag->Add.
Stefan
Post Reply