INI file data into an editbox - 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!

brianhudson
Posts: 7
Joined: Tue Jul 28, 2009 9:59 pm

INI file data into an editbox

On a custom dialog, an editbox with a property of IP_ADDRESS will write to an INI file so long as the INI value contains the [IP_ADDRESS] property.

When a new installer version is run I need to put the INI data back to the edit box so the customer does not have to re-enter this (and more) information.

How can this be accomplished? Do I need to force the INI file to be read if it is already in place.

Thanks,
Brian
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: INI file data into an editbox

Hi,

Yes you need to read the INI file during install. You can try using a custom action (Windows Installer doesn't offer direct support for this). Some sample VBScript code is available here.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”