Read sequential text file

Got a problem you cannot solve? Try here.
Post Reply
r.federiconi
Posts: 4
Joined: Wed Sep 16, 2009 7:54 am

Read sequential text file

Post by r.federiconi »

How can I read the text file's lines in a loop?
neillans
Posts: 536
Joined: Sat Nov 04, 2006 6:21 am
Location: Scottish Borders, UK

Post by neillans »

InstallAware does not support READING a file (unless they have added something and I've missed it).

What exactly are you trying to do???
Andy Neillans
r.federiconi
Posts: 4
Joined: Wed Sep 16, 2009 7:54 am

new host

Post by r.federiconi »

For example read c:\\windows\\system32\\driver\\etc\\hosts file to add , in not yet exists, a new host...
neillans
Posts: 536
Joined: Sat Nov 04, 2006 6:21 am
Location: Scottish Borders, UK

Post by neillans »

Ahh :)

Well, because you will actually want to wrap some additional logic into that sort of thing to make sure that you don't make any mistakes, so I would put it into a DLL and call it in your setup script.
Andy Neillans
Post Reply