Substitute value in an installed properties 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!

gjandris
Posts: 15
Joined: Tue Jan 12, 2010 8:51 pm

Substitute value in an installed properties file

I am new to Advanced Installer and figuring it out at this point.
I am trying to recreate an Install Anywhere installer of our client as an msi installer.
I got most of it to work. One of the things you can do fairly easily with Install Anywhere is modify files. I need to be
able to substitute a value entered by the user into a file that gets installed with the client.
I have yet to come across a way to do this without writing a script to get run. Is there some
way I have not found? Thanks.
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Substitute value in an installed properties file

Hello,

Windows Installer directly supports editing INI and XML files. These are the most common formats in which application settings are saved. Editing or replacing strings in other text file formats can not be achieved without the use of a custom action.

You can check out our guide on editing XML and INI files.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”