Unable to disable Back button on Directory Page
Hi,
I am trying to disable the back button due to the fact that I am using a custom page. Here is what the installer pages look like:
!insertmacro MUI_PAGE_WELCOME
page custom ShowSelect LeaveSelect
!define MUI_PAGE_CUSTOMFUNCTION_PRE directory_pre
!insertmacro MUI_PAGE_DIRECTORY
I saw a post regarding hiding the Cancel button on the FINISH page so I tried:
Function directory_pre
; Don't show back button.
WriteINIStr '$PLUGINSDIR\iospecial.ini' 'Settings' 'BackEnabled' '0'
Functionend
Unfortunately this did not work. So I am stuck.
Any help would be greatly appreciated.
Cheers,
Bob