views:

54

answers:

1

I'm creating an web site MSI using WiX. I have a custom action (written in C#) that fills a combo box with the descriptions of the web sites in IIS so the user can select an existing web site to install to.

Works fine - apart from the fact that there's no item selected when the dialog page is first shown. I'd like the first site in the list to be selected by default.

Any idea how I might do this? None of the "obvious" (to me) things seem to work.

I'm using the latest version of WiX.

+1  A: 

Each row has a value and the control has a property. The property will have the value of the selected row. There is no concept of control.value or control.selecteditem.value in this language.

Christopher Painter

related questions