Populating a Listbox from a Custom Action
Posted 12 February 2001 - 13:35
I wonder how I populate a Listbox with these strings?
Probably should I put the strings in the property table and transfer them into the Listbox, but how?
Thanks in advance
Hasse
Posted 13 February 2001 - 08:05
Posted 13 February 2001 - 11:31
I had the same problem. Hopefully N.roger (a nice guy) helps me.
I insert a part of his answer (we both are french), the most important : the code snippet.
Quote |
function FillCombo(hMsi) NUMBER hDatabase,hCBOView,hRec; begin hDatabase=MsiGetActiveDatabase(hMsi); // Put your control name instead of CBO_NAME // Allocate space to hold the four properties of a combobox row... // Now assign the values // Write the updated row // Close handle |
Hope this can help.
Posted 13 February 2001 - 16:43
I'm new to Install Shield / Microsoft Installer so I don't understand how to get all parts to interact.
Where do I put the function that updates the listbox?
Can it be inside a Custom Action?
And if so how do I call a specific function in a Custom Action?