writing into INI-files

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

writing into INI-files

Postby lemke » Tue Dec 14, 2004 11:30 am

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: 1020
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Postby sinan » Tue Dec 14, 2004 3:15 pm

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

Postby lemke » Wed Dec 15, 2004 7:34 am

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


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 62 guests