Archive: No space in dir-name.


No space in dir-name.
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


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.


This function does exactly what you request.

http://nsis.sourceforge.net/archive/...ances=0,11,211

-Stu