I am trying to get 2 different directory screens working in an installer.
One has the path for the program files, and adds the Default Program Directory to the end if the user browses to a new path
The second has the path for the data files, and does *not* want to append anything to the end of the path if the uses browses somewhere other than the initial default
I've attached a cut down version of the code I am using which will add "myTest2PathDir" to the end of any browsed to path on both directory windows.
I am aware that if I add a backslash at the end of the path for the install directory (thus)...
code:
InstallDir "$PROGRAMFILES\myTest2PathDir\"
...I can avoid the adding to the end of a browse path, but ideally I want it for the one (program), not the other (data)