cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
RakeshPatil
Level 5

About reading and writing to text file

Hi ,

I am new to the installshield.
I wanted to edit text file.My text file is like,

key1 Value1
key2 Value2

I wanted to edit value2.

I thought of doing this like,first reading this text file into string then find and replace the "Value2" with desired value.But To read the file into string and find and replace the substring in string that I dont know how to do it in installshield through installscript.

Please provide me the the correct approach to do it.

Thanks in advance for your prompt replys.
Labels (1)
0 Kudos
(1) Reply
rrinblue22
Level 9

I would recommend you to look at the files and folder functions in InstallScript language help.
That should help you.

Also refer text file changes view.
0 Kudos