DirRequest
For my installer, i want the user choose the installation path by Browse button; NOT by input.
May i disable input in MUI_PAGE_DIRECTORY and in a page created with INSTALLOPTIONS ?
Thanks for help.
By
Archive: DirRequest
DirRequest
For my installer, i want the user choose the installation path by Browse button; NOT by input.
May i disable input in MUI_PAGE_DIRECTORY and in a page created with INSTALLOPTIONS ?
Thanks for help.
By
Both - yes. In both cases, get the control, and disable it.
For the standard MUI_PAGE_DIRECTORY, adjust your code like this:
Add a callback function for when the page gets shown
!define MUI_PAGE_CUSTOMFUNCTION_SHOW ShowFunc
!insertmacro MUI_PAGE_DIRECTORY
Function ShowFunc
; Get the inner (MUI) dialog
FindWindow $0 "#32770" "" $HWNDPARENT
; Get the directory edit field
GetDlgItem $1 $0 0x3fb
; Disable the field
EnableWindow $1 0
FunctionEnd
Ok, it's works verywell for me.
Many thanks