Iain
Posts: 20
Joined: Tue Nov 03, 2009 12:13 pm

Listbox display

Hi All,

I have a dialog box with 2 listboxes on, the left list box displays a list of xml files.

The right listbox should display a description of the xml file the user selects in the left listbox, I need this to display as they click on the xml file in the listbox not when they click next or any other button.

Does anyone know a way of doing this. I was thinking of doing something within a custom action and a vbscript. Would this be the best way or does anyone know another way.

Thanks
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Listbox display

Hello,

A dialog can be refreshed along with all its controls when a property is changed. Here is the article that can help you with this.

The Windows Installer technology allows "SetProperty" published events dispatched only by Button or Check Box controls. If you want to set a property from a List Box control you can do so by enabling the Advanced Installer Enhanced UI feature from the Themes page. This way you can set a "SetProperty" published event when the user double clicks on a List Box item.

You may also find this article helpful.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Iain
Posts: 20
Joined: Tue Nov 03, 2009 12:13 pm

Re: Listbox display

Thanks for your response Mihai.

A quick question, it's probably stupid but where do I enable Enhanced UI feature I'm using version 6.7.1.

I've looked in Global Properties > Theme but couldn't see the setting.

Thanks Again
Iain
Posts: 20
Joined: Tue Nov 03, 2009 12:13 pm

Re: Listbox display

OK, I found the way of updating the controls without using the Enhanced UI feature by using UpdateMsiEditControls

Return to “Common Problems”