Text being appended to $INSTDIR
In my script, I have the following suggested installation folder:
InstallDir "$PROGRAMFILES\UBI Soft\Forgotten Battles"
I've included text prompting the user, if the above is not correct, to utilize the Browse button and CHOOSE the installation folder.
However, if the user utilizes the Browse button, and selects:
c:\temp\foo
Then the $INSTDIR box (in the installer) reads:
c:\temp\foo\Forgotten Battles
Why is this?
Is it because of spaces in the suggested InstallDIR? Am I using this feature incorrectly?