tsantos
Posts: 14
Joined: Sat Jan 12, 2008 2:49 pm
Contact: ICQ

TextPlain file edit/import

Hello!

Advanced Installer doesn't have edit/import options for textplain files as XML.

The most of my applications have textplain files for the configurations settings.

I'm trying to set up the textplain files as XML, and then I'm renaming the .XML to .CONF

It works, but AI adds XML tags as follows:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<RootElement>

CONTENT OF TEXTPLAIN FILE

</RootElement>

I'm using a VBScript and I'm trying to remove those tags during installation.

Wouldn't be simple to create a way to import text file so we can set it up during install time? It's only necessary to disable the creation of XML tags...

Thank You a lot!
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: TextPlain file edit/import

Hi,

We will consider adding this improvement in a future version of Advanced Installer. Thank you for your suggestion. Until then, a solution is to use an INI or XML format for your configuration file (instead of a simple text file). Another solution is to modify the text file through a custom action. Perhaps this how-to will help you.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Feature Requests”