Hi all..

tried asking this in a few places with no response, hoping someone can help me out here...

I'm using the WISE installer and I have the need to update a text file with extension .CFG

What needs to be done is a certain value needs to be found and according to what that value is, the new entry should be added into the file. Here's an example...

The filename.cfg contains this sort of text:

[number.1]
This is entry 1
Second line of entry 1
more of entry 1

[number.2]
This is entry 2
Second line of entry 2
more of entry 2



Now each user using this installer will not have the same number of entries. some may have 1 or some may have upto 20 or 30 entries.

So the entry data I'm storing in the local file:

[number.x]
This is entry x
Second line of entry x
more of entry x

needs to be updated, before it goes in just behind the last entry in the filename.CFG file.


I hope this makes sense, if not just ask for me to clear up what you don't understand. Any help is very much appreciated. Cheers.
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

There are no answers at this time
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

Answer this question or Comment on this question for clarity