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!

PatrickdeGelder
Posts: 1
Joined: Fri Jan 06, 2017 9:17 am

Update INI file using a variable

building a MSI installer

1 Have a Main (Feature) in the organization that will be installed regardless, this feature has a configuration.ini file (I have imported the file as INI)
2 Via tree select some additional Features can be installed, each feature has a configuration.ini file.

So, if the feature is selected to be installed I want it to update configuration.ini, but the content only need to be added when the feature is installed.

I use the variable [ProductName] in the ini file.

any tips?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Update INI file using a variable

Hello and welcome to our forums,

I'm not sure I fully understood the issue you are facing with. Can you please give us more details about your scenario or about what is not behaving as expected in your installer?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”