Chas_Gregory
01-06-2005, 05:17 AM
Hi,
I need to edit a text file to insert several lines of text if the new lines aren't already present in the file. It's actually adding a certificate to the certdb.txt file within Oracle J-Initiator. My project is of type Basic MSI.
Looking through the Installshield 10.5 GUI there doesn't seem to be a built-in way of editing text files.
Is the best way to add some InstallScript code that uses FileGrep and FileInsertLines, then add a Custom Action that runs the Installscript code? Or is there some better way?
Thanks
Chas
I need to edit a text file to insert several lines of text if the new lines aren't already present in the file. It's actually adding a certificate to the certdb.txt file within Oracle J-Initiator. My project is of type Basic MSI.
Looking through the Installshield 10.5 GUI there doesn't seem to be a built-in way of editing text files.
Is the best way to add some InstallScript code that uses FileGrep and FileInsertLines, then add a Custom Action that runs the Installscript code? Or is there some better way?
Thanks
Chas