1. in my installer i setup my files and Firebird.
First i use ExecWait tu setup firebird. After then i show
MUI_PAGE_DIRECTORY and add path of Firebird there.
!insertmacro MUI_PAGE_INSTFILES
!define MUI_DIRECTORYPAGE_VARIABLE $test_val
!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_FINISH
..................some code cut..........................
Section "Main Section" SecMain
.............some code cut.....................
ReadRegStr $test_val HKLM "Software\Firebird Project\Firebird Server\Instances""DefaultInstance"
StrCmp $test_val "" "" +2
StrCpy $test_val "C:\Program Files\Firebird\"
StrCpy $1 $test_val
StrCpy $2 "Data\"
StrCpy "$test_val" "$1$2"
SetOutPath "$test_val"
File "B2.FDB"
SectionEnd this code serching path of Firebird and write it into Directory page path field.When user change path in this field installer copy file not in new path, it use old path ($test_val).
2. How can i change value (space required) on directory page ?
Thanks!