Populating ComboBox - 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!

lberezinski
Posts: 2
Joined: Thu Nov 03, 2011 10:56 pm

Populating ComboBox

i'm looking to populate a combobox with the content of a folder i have in the project.

how would i do that?
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Populating ComboBox

Hi,

For this you will need to create your own custom action. The custom action must consist of two major steps:
1) parse the MSI's tables (File and Directory) to obtain the list of files that install in the desired folder
http://msdn.microsoft.com/en-us/library/Aa372865

2) the second part of the custom action consists in taking the above list of files and populating a combobox control, as in our following article:
http://www.advancedinstaller.com/user-g ... stbox.html

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

Return to “Common Problems”