Archive: verifyonleave help


verifyonleave help
Using MUI_DIRECTORYPAGE and would like to have some kind of verification that either the user defined path or InstallDir path exists. Having the path created if it doesn't exist isn't acceptable in this case. I think verifyonleave is only good if the path format is invalid. Is that right? I've searched around and haven't found much detailed information.


If the path is invalid, the next button auto disabled, if the path is valid but the target folder doesn't exist will be created upon next, I suggest on this point you should use the .onVerifyInstallDir callback either to popup some warning message or to disable the next button or both.


Works great now. Thanks for the help.

http://nsis.sourceforge.net/Docs/Cha...tml#4.7.2.1.10