when browse button is clicked on the wpselectdir wizard, the pop-up window is not displaying “make new folder”. In the help, they say if the DefaultDirName is set to no, it causes a Make New Folder button to appear on the dialog. I tried to set as no in the [setup] section, which didnt work. Please help.
Note: I created a wizard page from CreateInputDirPage, where in i have the option to make it display, which is working fine.
The
Browse For Folderdialog’sMake New Folderbutton visibility has a special rule to be there. You must haveAppendDefaultDirNamedirective explicitly set tonosince by default isyes. As a consequence, it will disable automatic adding a path to the selected folder but there’s no other way to getMake New Folderbutton visible (checked in InnoSetup source):