Populating text box based on the values selected in the comb - 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!

rsiddhartht
Posts: 13
Joined: Fri Oct 08, 2010 7:37 am

Populating text box based on the values selected in the comb

Hi,

In my installer I am giving an option to select the drive (i.e C,D, etc..) in a combo box. I need to updated the selected drive into a text box which is in the same dialog along with some text appended to it. I know how to get the selected value of the combo box using the info given herehttp://www.advancedinstaller.com/user-g ... stbox.html, but in its subscribe event i am unable to attach any VB script custom actions.

Please let me know how to go about it.

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

Re: Populating text box based on the values selected in the comb

Hi Siddharth.


I'm afraid this is not possible using a combobox, you can try using a listbox, and trigger the VBScript using a published event "DoAction".
You will also need to refresh the contents of the dialog, as explained here.

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

Return to “Common Problems”