Using InstallShield - InstallScript project:
I made a custom dialog for browsing for a file.
On the dialog initialization I want to disable the "Next" button.
I am successful in disabling other buttons on this dialog except for any of the buttons of the install wizard: Cancel, Next and Back.
I used the functions _WinSubEnableControl or EnableWindow.