Check InstDir for special character
Hi all
Does theire already exist a function, which checks if the INSTDIR has any special characters (ä, ö, ?, spaced, ...)?
I searched already a while, but i wasn't successfull.
Thanks and regards,
Wili
Archive: Check InstDir for special character
Check InstDir for special character
Hi all
Does theire already exist a function, which checks if the INSTDIR has any special characters (ä, ö, ?, spaced, ...)?
I searched already a while, but i wasn't successfull.
Thanks and regards,
Wili
$INSTDIR is a special variable in that it can only contain a valid Windows path. This means that it automatically removes illegal characters such as ?, as well as trailing spaces or backslashes, etc.
To find specific characters in a string, you can use the macros in wordfunc.nsh.