Hi,

I am using custom dialog where I am providing an edit control to show installation path and browse button to select/change the installation folder path. Edit control is suggesting default path. User can change path of his choice by browse button, and we show the changed path in edit control. This path is being used in another custom dialog Ready to install. Browse button changes on option dialog are carried forward to Ready to install.

But if user changes installation path directly in edit control by keyboard, they are not carried forward to Ready to install.

Do I need to handle any event ?

Set Variable %_SB_INSTALLDIR% to "[INSTALLDIR]"
Set Variable %DEST_DIR% to "%_SB_INSTALLDIR%"

Set Text "%_SB_INSTALLDIR%" to ControlID "DESTDIR"
***** If %_SB_CONTROLID% Equals "BROWSEDIR" Then
******** Set Variable %_SB_INSTALLDIR% to FUNCTION:Browse for Folder()
******** Set Variable %DEST_DIR% to "%_SB_INSTALLDIR%"
******** Set Text "%_SB_INSTALLDIR%" to ControlID "DESTDIR"
***** End
***** If %_SB_CONTROLID% Equals "DESTDIR" Then
******** Set Variable %_SB_INSTALLDIR% to "%DEST_DIR%"
******** Set Text "%_SB_INSTALLDIR%" to ControlID "DESTDIR"
***** End