INSTDIR and MUI_PAGE_DIRECTORY behavior problem
I am using NSIS 2.43
I have written an install script with the basic components of an installer (PAGE_WELCOME, PAGE_LICENSE, PAGE_COMPONENTS, PAGE_DIRECTORY, PAGE_INSTFILES, and PAGE_FINISH). I am having a problem with the PAGE_DIRECTORY.
I understand that the default behavior of the INSTDIR is to keep the end directory of the path and append that to any newly selected path chosen in the Browse directory dialog. I CANNOT get my script to behave this way.
I set the INSTDIR in the .onInit function to C:\Biodose
It shows up correctly in the Directory dialog, but when I browse and select a directory it does not append Biodose to the newly chosen directory.
From everywhere I have found I read that this should be the behavior as long as there is no trailing backslash (ie C:\Biodose\ should behave as it is now). I have tried it both ways.
I have even created a variable called CompanyName and set the INSTDIR to C:\$CompanyName and its still not working correctly.
The funny thing is that this is the behavior some developers are after, just not me.
Any Ideas???