Page 1 of 1

XML File Updating / Database Scripting

Posted: Tue Oct 24, 2006 10:21 am
by jsanders
Hi,

Does InstallAware support updating of XML files during installation, and does it support running of database scripts for SQL Server and Oracle?

Also, do you have consultants who could help us finish our installation. We started in InstallShield, but I would like to consider converting to InstallAware.

Regards,
Jeff

Posted: Tue Oct 24, 2006 1:15 pm
by Gizm0
Hello,

The answer is yes to your questions. There is only a small issue about how do you mean by "updating" an XML file.

I'm a consultant myself, so you can contact me in person whenever you want.

Thank you,

Posted: Fri Jun 19, 2009 9:09 am
by Tiago
So... can I change values from a XML the same way I do with INI files or do I need an external tool?

Posted: Fri Jun 19, 2009 11:17 am
by CandiceJones
You can use the free EditFile plug-in to edit any kind of text file.

Edit INI File is a built-in Windows Installer command which lets you edit INI files.

Or you can do whatever you like using Read from Text File, Write to Text File, Replace String, Parse String, and other similar built-in MSIcode commands :)

Posted: Fri Jun 19, 2009 11:27 am
by Tiago
I think Replace String will do it nicely.
Thanks for the info! :)

How could I?

Posted: Tue Jun 30, 2009 5:28 pm
by Tiago
I thought the Replace String command would be easy to use, but it reads only one line at a time. Would it be possible to scan an entire file in order to find and replace a token using the Replace String command? I have already tried using the miraculous EditFile plugin, but it doesn't seem to be working with my InstallAware 9 (Error during build: Failed to compile plug-in action: EditFile).

Can anybody help me?

Thanks in advance.

Posted: Wed Jul 01, 2009 7:03 am
by Tiago
I have downloaded the EditFile plugin version 1.2 in this link: http://www.installaware.com/forums/oldattachments/011620091357/Camelot-InstallAware-Plugins.exe
I installed it to use with IA9 and now everything seems to be workign fine.