View Full Version : No space in dir-name.
meller
12th December 2003, 07:02
I have a program that doesn't work if a space is in the directory name.
Is there a way to restrict that in the installer??
Thank you in advance.
Greetz
MeLLeR
Vytautas
12th December 2003, 10:12
You will have to check for a space in the path in the directory page leave function and call abort if it exists.
Vytautas
PS. There are several function in the archive which search through a string for a specific character, you can use them as an example of how to find a space in the path.
Afrow UK
12th December 2003, 15:27
This function does exactly what you request.
http://nsis.sourceforge.net/archive/nsisweb.php?page=222&instances=0,11,211
-Stu
vBulletin® v3.8.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.