Got a problem you cannot solve? Try here.
r.federiconi
Posts: 4 Joined: Wed Sep 16, 2009 7:54 am
Post
by r.federiconi » Thu Sep 17, 2009 9:28 am
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 » Thu Sep 17, 2009 3:41 pm
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
Post
by r.federiconi » Fri Sep 18, 2009 8:04 am
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 » Fri Sep 18, 2009 2:53 pm
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