Hi,
I am trying to replace string in a file
My file is file.sql (SQL scirpt that inserts lines to SQL tables)
file.sql is installed during setup. What I am trying to do is change "c:\program files\program\xxx.exe" string to "[INSTALLDIR]" inside the file.
I know I can do this with SQL connections and script directly to the database, but I don't want to do that. I just want to replace string in a file.
Is there easy way to do this ??
Help me, please
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Replace String in .sql file
Started by
halikkat
, Sep 15 2005 09:33
1 reply to this topic
Posted 15 September 2005 - 17:46
There's no built in functionality to replace a string in a file (except in the SQL view) so you would have to create a custom action (DLL for instance) for that purpose.
Stefan Krüger
InstallSite.org twitter facebook