Prompting for a directory
I have 2 different sections on the components page, if the user has section 2 selected i need to prompt them to enter a directory, but not if they only have section 1 selected.
I know how to use page directory and installoptions to prompt for a directory, but how do i make them only appear if the user has section 2 selected? Using "InstallOptions::dialog "$PLUGINSDIR\FDSDir.ini"" in the section does bring up the dialog, but all the buttons are greyed out and you cant do anything.
I searched and couldnt find the answer to this on the forums or the wiki.