Hello, I have been trying to create a generic dialog box to allow the installing user to specify members of a (install) created group. The dialog allows the installer to enter account names into a multiline edit control. These accounts are then checked by a CustomAction. I also wanted to handle the scenario where the local group already exists on the target computer. In this instance the installer is given 3 choices Merge (the new member list with the existing one), Leave (the existing member this as it is) or Replace (the existing list with the new one). To do this I provide a ComboBox control on the dialog with the 3 options.
Because this is a generic dialog I tend to use Indirect property references because it allows me to set the reference and forget without having to pass values around. I noticed however that there is no easy way to have an indirect property reference and set the list of ComboBox items. I think an example would help clarify, given the fragment below: <UI> <Dialog Id="dlgIndirectComboBox" Title="Indirect ComboBox Test" Width="370" Height="270"> <Control Id="cbxChoice" Type="ComboBox" ComboList="yes" X="67" Y="112" Width="120" Height="18" Indirect="yes" Property="Choice.Value"> <ComboBox Property="Choice.Value"> <ListItem Value="Item 1"/> <ListItem Value="Item 2"/> <ListItem Value="Item 3"/> <ListItem Value="Item 4"/> </ComboBox> </Control> <Control Id="btnNext" Type="PushButton" X="67" Y="142" Width="56" Height="27" Text="Done"> <Publish Event="EndDialog" Value="Return">1</Publish> </Control> </Dialog> </UI> This dialog will result in an empty ComboBox list because the <Control> property is referencing indirectly but in the <ComboBox> element I have no way of dereferencing it. Is this a bug or is there some syntax of which I am not aware? Thanks, Keith. ##################################################################################### Attention: The information contained in this message and or attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any system and destroy any copies. ##################################################################################### ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users