Barnum, Mark wrote:
What are these tags for?Specifically, it looks like the only way to dynamically / statically add items to a list box is via the C++ (which is fine) method described in the Wix tutorial. If these tags are useful, an example of the ListBox / ListBoxItem in use would be great, I attempted a couple of different configurations and I was unable to produce a working MSI.
The ListItem element turns into rows in the ListBox table in the MSI package. (The ListBox element just wraps the ListItems with a property name.) You can't use ListBox to dynamically add/remove items other than via a custom action that adds temporary rows. You can, however, use formatted strings for the value and text.
<ListBox Property="ListBoxProperty"> <ListItem Value="1" /> <ListItem Value="2" Text="some localizable text" /> <ListItem Value="3" Text="some localizable text" /> </ListBox> -- sig://boB http://bobs.org
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users