search for text within .config 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!

kmakar
Posts: 6
Joined: Tue Jun 08, 2010 7:38 pm

search for text within .config file

I need to search for text within my app's .config file and replace/insert values entered by enduser in a dialog box at install time. How can I do this?

Thanks,

Kevin
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: search for text within .config file

Hello Kevin,

If your .config file is an XML standard file then you can import it in "Files and Folders" and modify its formatted elements using public properties. You can also do the same if your .config file is an INI standard file.

If our features don't comply with what you need, you can search / modify your .config file by using your own custom action script.

Regards,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”