View Full Version : Changing the INI File based on whats already in it

Andy Long
11-22-2005, 02:06 PM
Hi, I want to be able to query the ini file and then enter a new value based on the value read + 1
For instance the ini file looks like this:

%HI = [8]

I want to then modify that value to be (8+1)

%HI = [9]

I also then want to use this value "9" in a number of different places. Is there any way to put a variable name in the ini section that gets filled in during install

Also is there conditional ini file entries? That is if a key already exists then don't do anything.