Skip to content
⌘ NSIS Forum Archive

Disable NextButton on custompage until user insert directory in DirRequest

2 posts

mezcalin#

Disable NextButton on custompage until user insert directory in DirRequest

Hi

The user has to set a source-dir, a dest-dir and a data-dir before he is able to click the install-button.
So how can I deactivate the install-button until he insert these three directories.
MSG#
How to search in three easy steps:
1) Click Search at the top
2) Enter keyword, then select NSIS forum only, and 'show results as threads'
3) Click Search now.

I searched for 'disable button' and found the solution (getdlgitem and enablewindow commands) in the first result. Also in practically every other shown result.