In my install I search the user's local drives for all occurances of an executable file and then I want to give them the option of selecting a file to upgrade. Does anyone know a way I can set the items in a listbox depending on the files found in the search?
Create a custom dialogue with a combo box. In the properties dialog box for your combo box control, insert a variable into the text box for the "Combo Box Text" property, e.g. %ITEMSFORCOMBO% . Then, before presenting the custom dialogue, set ITEMSFORCOMBO to contain the desired items. Each item must be separated by a %CRLF%. For example, to present a list of exe files to upgrade, set
%ITEMSFORCOMBO% to
%FIRSTEXE%%CRLF%%SECONDEXE%%CRLF%
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.