Announcement

Collapse
No announcement yet.

Dynamic List Box?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Dynamic List Box?

    I'm attempting to add some extra functionality to an existing installer, but I've no idea if it's even possible.

    My current installer browses the users hard drive for an existing database using the "Search for File" function. Based upon the results, I modify an INI file with the file path that was found.

    The problem is, if there are multiple instances of the file (say someone makes a backup), I just parse out the first one found, which is of course, not a practical solution.

    I'm looking at the List Box screen which would be great, only if I could dynamically set the number of options using the list of results found by my "Search for File" function and have the user select which file they want to use.

    Is anything like this possible with the latest version of Setup Factory?

    Thanks in advance for any help.

  • #2
    Re: Dynamic List Box?

    Yes, that's absolutely possible. In your Search for File action you will receive a semi-colon delimited string of results.

    Now if you go to the "List Box" screen's properties dialog, click the CUSTOM tab, there you will see a field entitled "Additional list box items (semi-colon delimited list).

    Therefore remove all options from the list and just populate the list based on the variable that is returned by your file search.

    Hope that helps.

    Comment


    • #3
      Re: Dynamic List Box?

      Exactly what I needed!

      Thanks for the quick response!

      Though, now I feel like sort of a fool for not even noticing it, and the sad thing is, I looked.

      Thanks again.

      Comment

      Working...
      X