Updating XML configuration files during setup

For all your non-technical questions.
msaffold
Posts: 1
Joined: Wed Jan 24, 2007 12:38 pm

Updating XML configuration files during setup

Postby msaffold » Wed Jan 24, 2007 12:46 pm

Hello!

I've been playing a bit with InstallAware 6 Studio Admin. Using import and the dialogs, I've updated a base MSI install created from Visual Studio to do just about everything we need except update some parameters in a configuration file.

We have a file called web.config that contains property setting for our application. I see that you can update INI file and the registry with scripting commands, but didn't see anything similar for an XML file.

Is there something I'm missing or would this be a plug-in opportunity for me?

Thank you,
Michael C. Saffold

CandiceJones
Posts: 904
Joined: Thu Dec 22, 2005 7:03 pm
Contact:

Postby CandiceJones » Wed Jan 24, 2007 1:57 pm

Hi Michael,

You can try out the EditFile plug-in - that might be useful. Building your own plug-in sounds like fun, too!

Another possibility is using Read from Text File to read in the whole file, Parse String to parse the read data and find your injection point, Call DLL Function (on kernel32.dll with DeleteFileA/MoveFileA) to backup and rename the old file, and then Write to Text File to output the new file.
Candice Jones
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

dencolp
Posts: 5
Joined: Thu May 01, 2008 4:33 pm

Postby dencolp » Mon May 19, 2008 2:23 pm

Where can this "EditFile" plug-in be found?

It doesn't appear to be available from the plug-ins download page.

Thanks.

CandiceJones
Posts: 904
Joined: Thu Dec 22, 2005 7:03 pm
Contact:

Postby CandiceJones » Mon May 19, 2008 7:49 pm

Check the Plug-Ins section of this forum. We'll have the Community Center updated soon for it!
Candice Jones

InstallAware

Home of The Next Generation MSI Installer

Get your free copy today - http://www.installaware.com/

andyhore
Posts: 20
Joined: Fri Jun 06, 2008 2:10 pm

Postby andyhore » Mon Jul 21, 2008 12:33 pm

Hi msaffold,

Did you ever solve this problem? I'm still trying to, and the EditFile plugin is not going to solve my problem (although it does work well!).

Thanks,
Andy.


Return to “Non-Technical”

Who is online

Users browsing this forum: No registered users and 58 guests