I've created a simple plugin to replace tokens in text files.
It's quite handy to edit XML (.config) files - just put a generic token (e.g. @TARGETDIR@) into your XML and then run the plugin to replace all occurences of your token with a setup variable (e.g. $TARGETDIR$).
If you need to replace more than one token run the plugin multiple times.
You can download the plugin setup here (updated):
http://www.camelot.co.at/files/dist/Camelot-InstallAware-Plugins.exe
disclaimer: you are free to use this plugin for any purpose at your own risk.
EditFile plugin
EditFile plugin
Last edited by zchris on Wed Mar 23, 2005 3:58 pm, edited 1 time in total.
I took a quick look and its wonderful
The file is also available on InstallAware servers at this address:
http://www.installaware.com/ia-editfile-plugin.exe
The file is also available on InstallAware servers at this address:
http://www.installaware.com/ia-editfile-plugin.exe
Please download the new setup (also contains the Eval plugin) instead.
http://www.installaware.com/Camelot-InstallAware-Plugins.exe
http://www.camelot.co.at/files/dist/Camelot-InstallAware-Plugins.exe
http://www.installaware.com/Camelot-InstallAware-Plugins.exe
http://www.camelot.co.at/files/dist/Camelot-InstallAware-Plugins.exe
I've updated the setup.
EditFile
- optionally replaces \\\\ with \\ (e.g. should your path contain c:\\dir\\\\dir)
- optionally returns status
I thought about adding Unicode support but since the plugin interface is Ansi I don't think it would be useful.
I have now converted a few of our setups to IA. Did I mention that InstallAware is great?!
EditFile
- optionally replaces \\\\ with \\ (e.g. should your path contain c:\\dir\\\\dir)
- optionally returns status
I thought about adding Unicode support but since the plugin interface is Ansi I don't think it would be useful.
I have now converted a few of our setups to IA. Did I mention that InstallAware is great?!
EditFile plug-in and Browse Window
Hi,
I have downloaded EditFile plug-in. In order to edit text file. I have placed plug-in after Apply Install command. When the installation reach EditFile command, it displays a Brwoser window for folder asking to locate the original setup sources to continue operation? It's worth mentioning that both path and text file are correct!!
I have to mention to something, because I found it very interesting. During the installation wizard, I have to establsh a connection to MS SQL using RUN PROGRAM/RUN PROGRAMM AS command. But I found when I comment the command line, no browse window will be displayed. But as long as RUN PROGRAM/RUN PROGRAM AS command there, browse window will be displayed!!
Thanks in advance
I have downloaded EditFile plug-in. In order to edit text file. I have placed plug-in after Apply Install command. When the installation reach EditFile command, it displays a Brwoser window for folder asking to locate the original setup sources to continue operation? It's worth mentioning that both path and text file are correct!!
I have to mention to something, because I found it very interesting. During the installation wizard, I have to establsh a connection to MS SQL using RUN PROGRAM/RUN PROGRAMM AS command. But I found when I comment the command line, no browse window will be displayed. But as long as RUN PROGRAM/RUN PROGRAM AS command there, browse window will be displayed!!
Thanks in advance
Return to “Plug-In Development”
Who is online
Users browsing this forum: No registered users and 9 guests