Hello LuWa,
Indeed, as you have mentioned, the search is performed before the dialogs are spawned.
A workaround for this would be to have a custom search. For instance, you can create your own
custom action which will perform the search.
I also want to move the Default APPDIR to APPDIR\TEST
In what regards this, you can proceed as it follows:
- first of all, it is important that the dialog where the user inputs the text is scheduled before the
"FolderDlg"

- NewDialog.png (162.99 KiB) Viewed 3792 times
- after that, what we can do here is to create an event which will set the
APPDIR to
APPDIR\<whatever_the_user_inputs>
- to do so, please go to
"Dialogs" page --> select
"FolderDlg" -->
"Init Events" tab and create an event as it follows:

- Initevent.png (17.46 KiB) Viewed 3792 times
where the [EDIT_1_PROP] is the property assigned to the editbox control (I underlined it in the first screenshot).
After doing so, when running the setup, the APPDIR property will correctly be set to the expected value - APPDIR\<user_input>

- SomeTest.png (22.94 KiB) Viewed 3792 times

- FolderDlg.png (25.34 KiB) Viewed 3792 times
Hope this helps.
Best regards,
Catalin