update text file - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

rex
Posts: 9
Joined: Wed Nov 29, 2006 10:18 pm

update text file

Hello everyone,

I have a customized dialog to take input from user, e.g. host name & port number, then write the value into an existing text file. Actually it is a substitution, not a complete rewrite.

I know AI supports INI editing, but I can not find the answer whether AI can edit text file.

I am a little bit confusion of this as this is a very common function to an installer.

Thanks,
Rex
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi Rex,
I have a customized dialog to take input from user, e.g. host name & port number, then write the value into an existing text file.
This is usually done with a INI file. Using AI INI editor you can specify the action that is taken when a key is created. And also you can insert references to properties as value for a key:
http://www.advancedinstaller.com/user-g ... files.html

If you don't want to use the INI file editor then you need to create your own custom action to write in the file.

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”