Greetings, I am using WIX 3.0, and working on WIX Tutorial 10 ( http://www.tramontana.co.hu/wix/lesson10.php ), and I have come up to a problem in dealing with trying to fill a listbox.
I used the example provided and managed to create a FillListBox.dll using Visual Studio 2008, but I had to modify the functionality of: hResult = WcaAddTempRecord(&hTable, &hColumns, L"ListBox", 0, 3, L"LISTBOXVALUES", 1, L"Item 1"); hResult = WcaAddTempRecord(&hTable, &hColumns, L"ListBox", 0, 3, L"LISTBOXVALUES", 2, L"Item 2"); hResult = WcaAddTempRecord(&hTable, &hColumns, L"ListBox", 0, 3, L"LISTBOXVALUES", 3, L"Item 3"); to hResult = WcaAddTempRecord(&hTable, &hColumns, L"ListBox", NULL, 0, 3, L"LISTBOXVALUES", 1, L"Item 1"); hResult = WcaAddTempRecord(&hTable, &hColumns, L"ListBox", NULL, 0, 3, L"LISTBOXVALUES", 2, L"Item 2"); hResult = WcaAddTempRecord(&hTable, &hColumns, L"ListBox", NULL, 0, 3, L"LISTBOXVALUES", 3, L"Item 3"); in order to get it to work. I then ran "candle -ext WixUtilExtension -ext WixUIExtension SampleListBox.wxs". I then ran "light -ext WixUtilExtension -ext WixUIExtension SampleListBox.wixobj". I then ran "msiexec /i SampleListBox.msi /log install.txt". But the problem is that there was: "DEBUG: Error 2819: Control FilledListbox on dialog InstallDlg needs a property linked to it. When it gets to Action start InstallDlg." Then I added the element: <property Id="LISTBOXVALUES" Values="none" /> And re-ran the steps, only to find myself an empty LISTBOXVALUES. I also couldn't find any documentation to WcaAddTempRecord function and I'm unsure if I'm setting it correctly based upon the WIX Tutorial 10. Do I need to do anything on the FileListBox.cpp file or anything as well? Robert Tsim ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users