Working with Ini files - 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!

dudedolf
Posts: 14
Joined: Mon Aug 10, 2009 5:18 pm

Working with Ini files

Hi,

I am using a trail of your product and so far have found it to be everything i need it to do. However, i am unable to find a using tutorial (seen the help files) on how to write data captured from a form to an INI file. Essestial i need to save a Database host name into the ini file.

Many thanks
Rudy
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Working with Ini files

Hi,

You can capture data from a form using the Dialogs page. Select the dialog you desire from the First Time Install tree and add an EditBox. Its property is a public one so you can use it during installation.

In order to write the value of a property in an INI file, you simply use the name of the property enclosed by brackets.

For example, when using the INI editor you can create new sections and entries. Each field used for this is formatted, therefore you can use properties in them.

You can read more about the INI editor here:
http://www.advancedinstaller.com/user-g ... files.html
http://www.advancedinstaller.com/user-g ... ialog.html

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
dudedolf
Posts: 14
Joined: Mon Aug 10, 2009 5:18 pm

Re: Working with Ini files

Thanks a lot. Worked perfectly

Rudy

Return to “Common Problems”