INI making - 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!

loicremy
Posts: 3
Joined: Fri Mar 28, 2008 3:49 pm

INI making

Hi,

I'm new user of AI enterprise.

I'm searching how to create 2 entrys in INI file when the user make only one choice using a combobox during installation.

Thank's in advance for ideas !!
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

I'm not sure I understand how exactly you want to manage this scenario. Can you please give me more details about this?

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
loicremy
Posts: 3
Joined: Fri Mar 28, 2008 3:49 pm

In fact, I need to set value to 2 differents entrys in the INI file.

But I would like to link these values.

When the customer select a text in combo box (an identifier), I want to set this first ini entry and a second with value determined by the first choice...

I manage pairs of identifier/reference number



Regards

Loïc
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

Since the creation of INI entries cannot be conditioned directly, you can try to use properties for them.

Basically, when the user sets the property of the combo box you can set two other properties with SetProperty Published Control Events. This way, you can condition the values of these two properties and these values will be used in the INI.

You can read more about Published control events here:
http://www.advancedinstaller.com/user-g ... rol-events

Note that you must use public properties (their name contains only uppercase letters) in order to pass their value from the UI sequence to the Execute seqeunce.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”