User Defined Property not replaced in 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!

rmorandell
Posts: 2
Joined: Fri Feb 05, 2010 5:00 pm

User Defined Property not replaced in ini Files

Hi,

i have a .ini File with key "IP" and a publicPorperty as Value [ServerIP]

I placed a simple Edit Box on a customDialog and assigned the [ServerIP] Property. So the standard value is "127.0.0.1" what i can see on the customdialog, too. I placed a second custom dialog with a label where i can see the putted IP. when i'm changing the IP to "10.0.0.1" i can see this on the label. The property works.

But in the ini File is still the default value "127.0.0.1" . Why this ?
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: User Defined Property not replaced in ini Files

Hello,

ServerIP is not a public property. For it to be public, it needs to be ALL UPPERCASE. Simply rename your property SERVERIP, it should work.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
rmorandell
Posts: 2
Joined: Fri Feb 05, 2010 5:00 pm

Re: User Defined Property not replaced in ini Files

Fine ! is working ! Thanks

Return to “Common Problems”