Skip to content
⌘ NSIS Forum Archive

No space in dir-name.

3 posts

meller#

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
Vytautas#
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#
This function does exactly what you request.



-Stu