PDA

View Full Version : Editing files other than INI at runtime


gott
09-11-2007, 11:09 AM
I would like to know if this installer program has the ability to update files other than INI files based on installation parameters. For example, there are certain batch files that I need to have updated depending on where the user installs files handled by the installer. If so, could someone provide an example of how this could be done? Thanks.

Adam
09-11-2007, 11:35 AM
Bat files are simply text files so you can use TextFile.WriteFromString() (http://www.indigorose.com/webhelp/suf70/Program_Reference/Actions/TextFile.WriteFromString.htm) and TextFile.ReadToString() (http://www.indigorose.com/webhelp/suf70/Program_Reference/Actions/TextFile.ReadToString.htm) to edit this type of file.

Adam Kapilik