InstallDir doesn't work
From NSIS Wiki
Jump to navigationJump to search
Make sure InstallDirRegKey isn't setting $INSTDIR. InstallDir only sets the default value of $INSTDIR, in case no other values can be found. The priority of $INSTDIR values, from highest to lowest, is as follows:
- Value passed on command line with /D
- Value read from registry key specified by InstallDirRegKey
- Value specified by InstallDir