Old 17th January 2009, 02:22   #1
hybridreams
Junior Member
 
Join Date: Jan 2009
Posts: 2
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.
hybridreams is offline   Reply With Quote
Old 17th January 2009, 09:04   #2
Red Wine
Forum King
 
Red Wine's Avatar
 
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
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.

Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV
Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS
Red Wine is offline   Reply With Quote
Old 19th January 2009, 00:04   #3
hybridreams
Junior Member
 
Join Date: Jan 2009
Posts: 2
Works great now. Thanks for the help.

http://nsis.sourceforge.net/Docs/Cha...tml#4.7.2.1.10
hybridreams is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump